bridge ports lo (kvm)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

bridge ports lo (kvm)

Thufir Hawat
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:~$



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.



thanks,

Thufir


--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: bridge ports lo (kvm)

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

> 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:~$
>
>
>
> 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





--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users