Problems using bonding with vlan
Subsystems (2)
Hi,
Consider the following scenario:
# insmod <some-base-driver> # insmod 8021q # insmod bonding mode=X miimon=Y # vconfig add bond0 10 # ifenslave bond0 eth0 eth1 ... # ifconfig bond0.10 a.b.c.d
Now try to run ping - no traffic. Arp tables on all clients show that the server has hardware address 00:00:00:00:00:00 !
The only way for it to work is:
# ifenslave bond0 eth0 eth1 ... # vconfig add bond0 10 # ifconfig bond0.10 a.b.c.d
But that's probably not the way things happen during boot via the network scripts.
I think we should add to the 8021q module the ability to listen to netdev events and to set it's hardware address whenever the underlying device changes it own, instead of just during the VLAN interface creation.
Comments ?
Signature · 4 lines
| Shmulik Hen Advanced Network Services | | Israel Design Center, Jerusalem | | LAN Access Division, Platform Networking | | Intel Communications Group, Intel corp. |
Quoted 1 line · Shmulik Hen
I think we should add to the 8021q module the ability to listen to netdev events and to set it's hardware address whenever the underlying device changes it own, instead of just during the VLAN interface creation.
One can also change the VLAN MAC address at any time with 'ip' or 'ifconfig', just like regular ethernet devices. So, the startup script could easily rectify things if needed (VLAN device will put it's underlying device into promisc or multicast mode if needed).
The VLAN code does listen for net-events already, so if you wanted to change when the VLAN MAC is 0:0....0, then that might be friendlier to the user, but please do NOT change the MAC if it is already set to something non zero.
Ben
Signature · 2 lines
Ben Greear <[email protected]> Candela Technologies Inc http://www.candelatech.com