bridge ports lo (kvm)

compdoc compdoc at hotrodpc.com
Tue Nov 14 21:49:38 UTC 2017


On 11/14/2017 1:37 AM, thufir wrote:

> Want to use KVM, so setting up bridging.
>
> current, using *wifi*:
>
> thufir at dur:~$
> thufir at dur:~$ cat /etc/network/interfaces
> # interfaces(5) file used by ifup(8) and ifdown(8)
> auto lo
> iface lo inet loopback
> thufir at dur:~$
>
>
>
> http://xmodulo.com/use-kvm-command-line-debian-ubuntu.html
>
> 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.
>
>

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








More information about the ubuntu-users mailing list