[Bug 919068] Re: bridge_ports all doesn't work at boot time

Daniel Senderowicz 919068 at bugs.launchpad.net
Tue May 1 19:38:30 UTC 2012


I just upgraded to 12.04. As the machine boots, it seems to connect to
the network since I can ping to IPs, however it cannot resolve DNS. In
other words if I do "ping google.com" it would say "unknown host
google.com". Please let me know what kind of specific information you
may need.

Thanks,

Daniel

On Wed, 2012-03-07 at 18:32 +0000, Stéphane Graber wrote:

> I'm starting to run out of idea here...
> I just tried with the following configuration Ubuntu 12.04:
>  - 6 network cards
>  - 3 configured as you do in your /etc/network/interfaces
>  - 3 not mentioned at all in /etc/network/interfaces
>  - br0 with static IP and bridge-ports all
> 
> Can you try your configuration with Ubuntu 12.04 beta1 (or later,
> running updates) and ideally in a VM so we can ensure we have the exact
> same setup.
> 
> I had a very quick look at ebtables, at least in 12.04 it doesn't seem
> to contain a postinst, config or a debconf templates, so dpkg-
> reconfigure should be a no-op here, however it does contain an init
> script that could impact the system.
> 
> Result is:
> ---
> root at stgraber-vm:~# brctl show
> bridge name	bridge id		STP enabled	interfaces
> br0		8000.52540017bb0d	no		eth0
> 							eth1
> 							eth2
> 							eth3
> 							eth4
> 							eth5
> root at stgraber-vm:~# ifconfig 
> br0       Link encap:Ethernet  HWaddr 52:54:00:17:bb:0d  
>           inet addr:172.23.0.50  Bcast:0.0.0.0  Mask:255.255.255.0
>           inet6 addr: fe80::5054:ff:fe17:bb0d/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:21859 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0 
>           RX bytes:1086706 (1.0 MB)  TX bytes:8477 (8.4 KB)
> 
> eth0      Link encap:Ethernet  HWaddr 52:54:00:e2:bf:bc  
>           UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
>           RX packets:4618 errors:0 dropped:73795 overruns:0 frame:0
>           TX packets:17293 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000 
>           RX bytes:269714 (269.7 KB)  TX bytes:1099997 (1.0 MB)
>           Interrupt:11 
> 
> eth1      Link encap:Ethernet  HWaddr 52:54:00:88:c5:53  
>           inet6 addr: fe80::5054:ff:fe88:c553/64 Scope:Link
>           UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
>           RX packets:4579 errors:0 dropped:73787 overruns:0 frame:0
>           TX packets:17356 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000 
>           RX bytes:259356 (259.3 KB)  TX bytes:1120260 (1.1 MB)
>           Interrupt:11 Base address:0x4000 
> 
> eth2      Link encap:Ethernet  HWaddr 52:54:00:58:86:ae  
>           UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
>           RX packets:3445 errors:0 dropped:73727 overruns:0 frame:0
>           TX packets:18471 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000 
>           RX bytes:196380 (196.3 KB)  TX bytes:1184883 (1.1 MB)
>           Interrupt:11 Base address:0x6000 
> 
> eth3      Link encap:Ethernet  HWaddr 52:54:00:7e:91:50  
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:3093 errors:0 dropped:72262 overruns:0 frame:0
>           TX packets:18835 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000 
>           RX bytes:178774 (178.7 KB)  TX bytes:1207209 (1.2 MB)
>           Interrupt:11 Base address:0x8000 
> 
> eth4      Link encap:Ethernet  HWaddr 52:54:00:19:a8:ad  
>           inet6 addr: fe80::5054:ff:fe19:a8ad/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:3075 errors:0 dropped:72255 overruns:0 frame:0
>           TX packets:18898 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000 
>           RX bytes:175020 (175.0 KB)  TX bytes:1222424 (1.2 MB)
>           Interrupt:10 Base address:0xa000 
> 
> eth5      Link encap:Ethernet  HWaddr 52:54:00:17:bb:0d  
>           inet6 addr: fe80::5054:ff:fe17:bb0d/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:3075 errors:0 dropped:72254 overruns:0 frame:0
>           TX packets:18901 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000 
>           RX bytes:178154 (178.1 KB)  TX bytes:1218092 (1.2 MB)
>           Interrupt:10 Base address:0xc000 
> 
> lo        Link encap:Local Loopback  
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           inet6 addr: ::1/128 Scope:Host
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:95 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:95 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0 
>           RX bytes:6884 (6.8 KB)  TX bytes:6884 (6.8 KB)
> 
> root at stgraber-vm:~# cat /etc/network/interfaces 
> auto lo
> iface lo inet loopback
> 
> auto br0
> iface br0 inet static
>     address 172.23.0.50
>     netmask 255.255.255.0
>     bridge-ports all
> 
> auto eth0
> iface eth0 inet manual
>     up ifconfig $IFACE 0.0.0.0 up
>     up ip link set $IFACE promisc on
>     down ip link set $IFACE promisc off
>     down ifconfig $IFACE down
> 
> auto eth1
> iface eth1 inet manual
>     up ifconfig $IFACE 0.0.0.0 up
>     up ip link set $IFACE promisc on
>     down ip link set $IFACE promisc off
>     down ifconfig $IFACE down
> 
> auto eth2
> iface eth2 inet manual
>     up ifconfig $IFACE 0.0.0.0 up
>     up ip link set $IFACE promisc on
>     down ip link set $IFACE promisc off
>     down ifconfig $IFACE down
> ---
>

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bridge-utils in Ubuntu.
https://bugs.launchpad.net/bugs/919068

Title:
  bridge_ports all doesn't work at boot time

Status in “bridge-utils” package in Ubuntu:
  Triaged

Bug description:
  I posted the details of the problem on:
  http://ubuntuforums.org/showthread.php?t=1911817

  /etc/network/interfaces: 
  auto lo
  iface lo inet loopback

  auto br0
  iface br0 inet static
    address 192.168.1.5
    netmask 255.255.255.0
    gateway 192.168.1.1
    bridge_ports all

  iface eth0 inet manual
    up ifconfig $IFACE 0.0.0.0 up
    up ip link set $IFACE promisc on
    down ip link set $IFACE promisc off
    down ifconfig $IFACE down


  $ lsb_release -rd
  Description:	Ubuntu 11.10
  Release:	11.10

  $ apt-cache policy bridge-utils
  bridge-utils:
    Installed: 1.5-2ubuntu1
    Candidate: 1.5-2ubuntu1
    Version table:
   *** 1.5-2ubuntu1 0
          500 http://us.archive.ubuntu.com/ubuntu/ oneiric/main i386 Packages
          100 /var/lib/dpkg/status

  I was expecting to have network after boot.

  I don't have network instead.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: bridge-utils 1.5-2ubuntu1
  ProcVersionSignature: Ubuntu 3.0.0-14.23-generic 3.0.9
  Uname: Linux 3.0.0-14-generic i686
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu4
  Architecture: i386
  Date: Thu Jan 19 22:45:21 2012
  InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
  SourcePackage: bridge-utils
  UpgradeStatus: Upgraded to oneiric on 2011-10-16 (96 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bridge-utils/+bug/919068/+subscriptions




More information about the foundations-bugs mailing list