VLANs no longer work with bridges in natty

Bug #771209 reported by James McDonald
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Low
Unassigned

Bug Description

I'm not sure which package to put this against - it could be bridge-utils, vlan, linux-image-2.6.35-28-generic or possibly ifupdown. This problem appeared with Ubuntu 11.04 - the same configuration works perfectly with 10.10.

If I use the following /etc/network/interfaces sections:
auto br0
iface br0 inet static
 bridge_ports eth0
 bridge_stp off
 bridge_fd 0
 bridge_maxwait 0
 address 10.58.32.6
 netmask 255.255.248.0
 post-up route add -net 10.58.0.0/16 gw 10.58.32.1

auto vlan100
iface vlan100 inet static
 vlan-raw-device eth0
 address x.y.z.11
 netmask 255.255.255.224
 gateway x.y.z.1

Both interfaces appear to come up, but the vlan interface cannot communicate - it can't even ping the gateway on its network. Changing the vlan-raw-device to br0 yields the same result. If I remove the br0 section and configure eth0 directly everything works as expected.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: vlan 1.9-3ubuntu3
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Tue Apr 26 14:15:14 2011
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: vlan
UpgradeStatus: Upgraded to natty on 2011-04-14 (11 days ago)

Revision history for this message
James McDonald (jamesmcdonald) wrote :
Revision history for this message
Harald Hannelius (harald-arcada) wrote :

I'am having the same problem.

'ping6 -I br1 fe80::1' where br1 is a bridge tied to eth0.1 (VLAN) doesn't work.

Revision history for this message
Harald Hannelius (harald-arcada) wrote :

Apparently this is known in VLAN and bridging;

http://permalink.gmane.org/gmane.linux.network.bridge/5362

The (short term?) fix would be to install ebtables, and the run the command;

  ebtables -t broute -A BROUTING -i eth0 -p 802_1Q -j DROP

This got my interfaces bridging with VLAN again.

Revision history for this message
Harald Hannelius (harald-arcada) wrote :

Adding to the previous comment that this is a thing for linux 2.6.38.

Changed in ubuntu:
status: New → Confirmed
Revision history for this message
darck (darck) wrote :
Revision history for this message
penalvch (penalvch) wrote :

James McDonald, thank you for reporting this bug to Ubuntu. Natty reached EOL on October 28, 2012.
See this document for currently supported Ubuntu releases: https://wiki.ubuntu.com/Releases

Is this an issue in a supported release? If so, could you please execute the following command, as it will automatically gather debugging information, in a terminal:
apport-collect 771209

affects: ubuntu → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.