netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Problems using bonding with vlan
@ 2003-09-15 13:42 Shmulik Hen
  2003-09-15 16:58 ` Ben Greear
  0 siblings, 1 reply; 3+ messages in thread
From: Shmulik Hen @ 2003-09-15 13:42 UTC (permalink / raw)
  To: bonding-devel, netdev
  Cc: amir.noam, shmulik.hen, tsippy.mendelson, naom.marom

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.  |

^ permalink raw reply	[flat|nested] 3+ messages in thread
* RE: Problems using bonding with vlan
@ 2003-09-15 14:18 Mendelson, Tsippy
  0 siblings, 0 replies; 3+ messages in thread
From: Mendelson, Tsippy @ 2003-09-15 14:18 UTC (permalink / raw)
  To: Hen, Shmulik, bonding-devel, netdev; +Cc: Noam, Amir, naom.marom

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@lists.sourceforge.net; netdev@oss.sgi.com
Cc: Noam, Amir; Hen, Shmulik; Mendelson, Tsippy; naom.marom@intel.com
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.  |

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-09-15 16:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-15 13:42 Problems using bonding with vlan Shmulik Hen
2003-09-15 16:58 ` Ben Greear
  -- strict thread matches above, loose matches on Subject: below --
2003-09-15 14:18 Mendelson, Tsippy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).