netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* more findings/questions on vlans/bonds
@ 2009-04-07  9:14 Or Gerlitz
  2009-04-07  9:16 ` Or Gerlitz
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Or Gerlitz @ 2009-04-07  9:14 UTC (permalink / raw)
  To: Jay Vosburgh; +Cc: netdev

Hi Jay,

I hope that you can help clarify what's the correct/supported method
to work with vlans and bonds, with 2.6.29 I see that one can either

	- vlan a bond (bond0.4001 over bond0 over eth0/1.4001)
	- bond vlans (e.g bond0 over eth0/1.4001)

I played a bit with bonding vlans (2.6.29 active-backup mode) and it
doesn't seem to work - specifically, I noted that bonding doesn't issue
fail-over after I changed the current slave link status to down ("ifconfig
eth0.4001 down"). I suspect that the carrier based link monitoring scheme
is broken wrt to vlan devices - e.g I found that at least from sysfs
perspective the vlan device carrier isn't available:

$ cat /sys/class/net/eth0.4001/carrier
cat: /sys/class/net/eth0.4001/carrier: Invalid argument

I also played with a post 2.6.29 cut of Linus tree, and I couldn't bond vlans.
I thought that the reason may be that a vlan device has already master -
but I found out that its wrong and vlans don't have the IFF_SLAVE bit set
in their flags bit mask. So this may be either something wrong on my side
or a bug introduced after 2.6.29 or just something which isn't supported,
e.g following my findings with 2.6.29 above...

Or.

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

end of thread, other threads:[~2009-04-26 14:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-07  9:14 more findings/questions on vlans/bonds Or Gerlitz
2009-04-07  9:16 ` Or Gerlitz
2009-04-07 14:13 ` Jay Vosburgh
2009-04-16 14:17   ` Or Gerlitz
2009-04-23 21:04 ` Jay Vosburgh
2009-04-24 15:22   ` Patrick McHardy
2009-04-26  8:21   ` Or Gerlitz
2009-04-26 14:14   ` Or Gerlitz

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