Can't ping after adding eth1 to bridge (br0)
Posted: 28. Dec 2008, 03:31
I'm running Ubuntu and trying to set it up so I can also run WinXP inside Vbox. Before tinkering with the brctl command, I can ping any URL (e.g. google.com). Once I've added my eht1 interface to the bridge (br0), all I can ping is my local router. I can't even ping the DSL modem. Can someone give me a hand with this? Here's my config:
-----------------
Thanks!
Andy
-----------------
Code: Select all
k$ cat /etc/network/interfaces
auto lo
iface lo inet loopback
#
# auto br0
# iface br0 inet dhcp
# bridge_ports eth1 vbox0
#
auto br0
iface br0 inet static
address 192.168.2.16
network 192.168.2.0
netmask 255.255.255.0
gateway 192.168.2.1
bridge_ports eth1 vbox0
dns-nameservers 192.168.2.1
#
auto eth1
iface eth1 inet static
address 192.168.2.15
network 192.168.2.0
netmask 255.255.255.0
gateway 192.168.2.1
Code: Select all
k$ cat /etc/network/interfaces
auto lo
iface lo inet loopback
#
# auto br0
# iface br0 inet dhcp
# bridge_ports eth1 vbox0
#
auto br0
iface br0 inet static
address 192.168.2.16
network 192.168.2.0
netmask 255.255.255.0
gateway 192.168.2.1
bridge_ports eth1 vbox0
dns-nameservers 192.168.2.1
#
auto eth1
iface eth1 inet static
address 192.168.2.15
network 192.168.2.0
netmask 255.255.255.0
gateway 192.168.2.1
Code: Select all
$ brctl show
bridge name bridge id STP enabled interfaces
br0 8000.0011092d55a0 no eth1
vbox0
Andy