Hi, everyone!
This is my first post here. Before reading this, beware that I'm not a native speaker. I apologize for any error that I may have written in the text below.
I'd like to create a bridging network for a virtual machine. I have never done this before.
My host is Debian 9.1 Stretch (amd64). I have a wired connection on my router. Internet works fine. My guest will be Debian Buster (amd64).
How should I set my network for this?
Here is the situation on my host :
My network hardware :
Code:
lspci | grep Ethernet
Code:
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
My /etc/network/interfaces file :
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
The state of my network :
Code:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 70:8b:cd:90:34:f8 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.19/24 brd 192.168.1.255 scope global dynamic enp2s0
valid_lft 85249sec preferred_lft 85249sec
inet6 fe80::a08c:59dc:9fd3:ec18/64 scope link
valid_lft forever preferred_lft forever
3: wlp3s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 42:a3:8a:54:94:6f brd ff:ff:ff:ff:ff:ff
How can I create the bridge? Thank you for your help.