Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 427152 - /etc/conf.d/net : it is no possible anymore to create a bridge between two identical VLAN
Summary: /etc/conf.d/net : it is no possible anymore to create a bridge between two id...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: OpenRC Team
URL:
Whiteboard: openrc:oldnet
Keywords: Inclusion
Depends on:
Blocks: 417391
  Show dependency tree
 
Reported: 2012-07-18 21:09 UTC by Thomas Capricelli
Modified: 2013-04-25 23:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Capricelli 2012-07-18 21:09:47 UTC
I have a bridge between two identical VLAN on two different interfaces. This used to go along something like:

   vlans_eth0="100" 
   vlans_eth1="100" 
   vconfig_eth0=( "set_name_type DEV_PLUS_VID_NO_PAD" ) 
   vconfig_eth1=( "set_name_type DEV_PLUS_VID_NO_PAD" ) 
   config_eth0_100=( "null")
   config_eth1_100=( "null")
   bridge_br0="eth0.100 eth1.100"
   config_br0=( "null")
   RC_NEED_br0="net.eth0 net.eth1"

Now this configuration doesn't work anymore and the error message tells me that vconfig_* is obsolete and to use vlan_* stuff. The only documentation/help i can find is the net.example file which has nothing more than

# The following shows the old set_name_type setting and what new option to set:
# Using eth9 & VLAN VID 26 as an example.
..
# DEV_PLUS_VID_NO_PAD   vlan26_name="eth9.26"

This, is REALLY weird. Because it seems to imply that the vlan only belong to ONE ethernet interface.

Can you either
* point me to some documentation i've missed
* tell me that this is still possible, but there's no documentation about this (yet?)
* confirms that this kind of configuration is not possible anymore with gentoo

In the later case, i wouldn't mind having some more information (why such a regression ?)

anyway, i'm still a happy gentoo user, just wondering about this particular issue.

Greetings.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2012-07-20 16:54:27 UTC
Nice catch. It seems that the port to sysfs/iproute2 missed this use case of two different vlans with the same number.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2012-07-20 17:23:27 UTC
Thomas:
Implemented now
http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=a6db2374fe69704ec55de86d815b127432328f24

williamh:
This might be a good candidate for a backport if there will be more 0.10.x releases. Leaving for you to merge & close as you desire, I don't have the current tracker bug on hand.
Comment 3 Thomas Capricelli 2012-07-20 17:31:38 UTC
seen the commit.

This setup is especially common here in France for 'power' users with provider Free/freebox.

Thanks!
Comment 4 William Hubbs gentoo-dev 2012-08-01 20:30:01 UTC
Closing since this will be fixed in 0.11, which I am considering releasing soon.