Summary: | sys-apps/openrc[oldnet]: bridge interfaces reject vlans as bridge members | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexandru Dan <saibarspeis> |
Component: | [OLD] baselayout | Assignee: | OpenRC Team <openrc> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | robbat2, saibarspeis |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | openrc:oldnet | ||
Package list: | Runtime testing required: | --- |
Description
Alexandru Dan
2009-11-13 15:45:16 UTC
When starting interfaces like so: /etc/init.d/net.eth0 start /etc/init.d/net.eth1 start /etc/init.d/net.br0 start /etc/init.d/net.br7 start /etc/init.d/net.br10 start /etc/init.d/net.br201 start The output is this: * Bringing up interface eth0 * null... [ ok ] * Adding VLAN 7 to eth0 * Bringing up interface eth0.7 * null... [ ok ] * Adding VLAN 10 to eth0 * Bringing up interface eth0.10 * null... [ ok ] * Adding VLAN 201 to eth0 * Bringing up interface eth0.201 * null... [ ok ] * Bringing up interface eth1 * null... [ ok ] * Adding VLAN 7 to eth1 * Bringing up interface eth0.7 eth1.7 * No configuration specified; defaulting to DHCP * dhcp... * nothing provides `dhcp' [ !! ] Cannot find device "eth0.7 eth1.7" Device "eth0.7 eth1.7" does not exist. Device "eth0.7 eth1.7" does not exist. * Adding VLAN 10 to eth1 * Bringing up interface eth0.10 eth1.10 * No configuration specified; defaulting to DHCP * dhcp... * nothing provides `dhcp' [ !! ] Cannot find device "eth0.10 eth1.10" Device "eth0.10 eth1.10" does not exist. Device "eth0.10 eth1.10" does not exist. * Adding VLAN 201 to eth1 * Bringing up interface eth0.201 eth1.201 * No configuration specified; defaulting to DHCP * dhcp... * nothing provides `dhcp' [ !! ] Cannot find device "eth0.201 eth1.201" Device "eth0.201 eth1.201" does not exist. Device "eth0.201 eth1.201" does not exist. * Bringing up interface br0 * Creating bridge br0... * Adding ports to br0 * eth0... [ ok ] * eth1... [ ok ] * aa.bb.cc.dd/24... [ ok ] * Adding routes * default via ww.xx.yy.zz... [ ok ] * Bringing up interface br7 * Destroying bridge br7... [ ok ] * Creating bridge br7... * Adding ports to br7 * eth0.7... [ ok ] * eth1.7... [ ok ] * null... [ ok ] * Bringing up interface br10 * Destroying bridge br10... [ ok ] * Creating bridge br10... * Adding ports to br10 * eth0.10... [ ok ] * eth1.10... [ ok ] * null... [ ok ] * Bringing up interface br201 * Destroying bridge br201... [ ok ] * Creating bridge br201... * Adding ports to br201 * eth0.201... [ ok ] * eth1.201... [ ok ] * null... [ ok ] All, I'm not sure if this is a configuration issue or a bug since I do not use this type of configuration. Any assistance would be appreciated. Thanks, William I'm trying to understand your complex configuration here so that I can improve the vlan and bridge code. Can you please confirm the information below: You have: 2 ethernet interfaces: - eth0 - eth1 3 vlans on each ethernet interface: 7, 10, 201 4 bridges: - br0: eth0, eth1 - br7: eth0.7, eth1.7 - br10: eth0.10, eth1.10 - br201: eth0.201, eth1.201 Dependency tree for bringing interfaces online (in Makefile syntax) br0: eth0 eth1 br7: eth0.7 eth1.7 br10: eth0.10 eth1.10 br201: eth0.201 eth1.201 eth%.7: eth% eth%.10: eth% eth%.201: eth% That is indeed correct. (In reply to comment #3) > I'm trying to understand your complex configuration here so that I can improve > the vlan and bridge code. Can you please confirm the information below: > > You have: > 2 ethernet interfaces: > - eth0 > - eth1 > 3 vlans on each ethernet interface: 7, 10, 201 > 4 bridges: > - br0: eth0, eth1 > - br7: eth0.7, eth1.7 > - br10: eth0.10, eth1.10 > - br201: eth0.201, eth1.201 > > Dependency tree for bringing interfaces online (in Makefile syntax) > br0: eth0 eth1 > br7: eth0.7 eth1.7 > br10: eth0.10 eth1.10 > br201: eth0.201 eth1.201 > eth%.7: eth% > eth%.10: eth% > eth%.201: eth% > Please update to the latest 9999 git of openrc (at least rev 400b45d), where I have revamped the bridging code, and test. Here is what should be a correct configuration for you, if I've followed your bug posting correctly (there was some whitespace damage and contradictory information). === config_eth0="null" config_eth1="null" vlans_eth0="7 10 201" vlans_eth1="7 10 201" config_eth0_7="null" config_eth1_7="null" config_eth0_10="null" config_eth1_10="null" config_eth0_201="null" config_eth1_201="null" bridge_br0="eth0 eth1" config_br0="aa.bb.cc.dd/24" routes_br0="default via ww.xx.yy.zz" bridge_br7="eth0.7 eth1.7" config_br7="null" bridge_br10="eth0.10 eth1.10" config_br10="null" bridge_br201="eth0.201 eth1.201" config_br201="null" rc_need_br0='net.eth0 net.eth1' rc_need_br7='net.eth0 net.eth1' rc_need_br10='net.eth0 net.eth1' rc_need_br201='net.eth0 net.eth1' ==== For interfaces to start, just start the bridge interfaces you need. |