netdev
[Top] [All Lists]

RE: Problems using bonding with vlan

To: "Hen, Shmulik" <shmulik.hen@xxxxxxxxx>, <bonding-devel@xxxxxxxxxxxxxxxxxxxxx>, <netdev@xxxxxxxxxxx>
Subject: RE: Problems using bonding with vlan
From: "Mendelson, Tsippy" <tsippy.mendelson@xxxxxxxxx>
Date: Mon, 15 Sep 2003 17:18:37 +0300
Cc: "Noam, Amir" <amir.noam@xxxxxxxxx>, <naom.marom@xxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
Thread-index: AcN7jzBMbiTZaow9Sf+E9aRfza0qDgAAxI5w
Thread-topic: Problems using bonding with vlan
Another option would be that the bond be vlan challenged until the first slave 
is added to the team.

I do not like the idea of the vlan module listening to netdev events and 
updating its mac address accordingly since in my opinion the proper way is to 
have the settings of the slave change according to the master's and not the 
opposite i.e. once a user configures a vlan interface over a device he should 
not be changing the device settings but rather propagating the settings down 
from the vlan interface (as we do for bond masters and slaves).

As for the boot problem, we would have to find a way to get the vlans to come 
up only after the slaves (but not lexicographically dependant)

Tsippy

-----Original Message-----
From: Hen, Shmulik 
Sent: Monday, September 15, 2003 4:42 PM
To: bonding-devel@xxxxxxxxxxxxxxxxxxxxx; netdev@xxxxxxxxxxx
Cc: Noam, Amir; Hen, Shmulik; Mendelson, Tsippy; naom.marom@xxxxxxxxx
Subject: Problems using bonding with vlan


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 ?

-- 
| Shmulik Hen   Advanced Network Services  |
| Israel Design Center, Jerusalem          |
| LAN Access Division, Platform Networking |
| Intel Communications Group, Intel corp.  |



<Prev in Thread] Current Thread [Next in Thread>