DevHeads.net

bridge ports lo (kvm)

Want to use KVM, so setting up bridging.

current, using *wifi*:

thufir@dur:~$
thufir@dur:~$ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
thufir@dur:~$

<a href="http://xmodulo.com/use-kvm-command-line-debian-ubuntu.html" title="http://xmodulo.com/use-kvm-command-line-debian-ubuntu.html">http://xmodulo.com/use-kvm-command-line-debian-ubuntu.html</a>

says to make it look like:

#auto eth0
#iface eth0 inet dhcp

auto br0
iface br0 inet dhcp
bridge_ports eth0
bridge_stp off
bridge_fd 0
bridge_maxwait 0

so I want like:

auto br0
iface lo inet loopback
bridge ports ????????

what goes there? "bridge ports lo"? That looks suspect.

pointers appreciated.

thanks,

Thufir

Comments

Re: bridge ports lo (kvm)

By compdoc at 11/14/2017 - 16:49

the name 'eth0' normally means wired nic. However, they stopped using
the names eth0, eth1, etc. a while ago and now use names based on the
nic you have. So, you need to find the name and use that.

My bridges don't need an ip address, so I would substitue 'iface br0
inet manual'

Your /etc/network/interfaces should look more this:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

auto br0
iface br0 inet dhcp
bridge_ports eth0
bridge_stp off
bridge_fd 0
bridge_maxwait 0