Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 2008 20:31:46 +0300
From:      "Niki Denev" <nike_d@cytexbg.com>
To:        freebsd-net@freebsd.org
Subject:   lagg0.2 style vlans on lagg(4) interface
Message-ID:  <2e77fc10805211031n6c42ffd2u3dee28164094b83b@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
If one tries to use lagg0.2 style vlans on lagg0 interface configured
from rc.conf it does't work.
The problem is that all of the cloned interfaces (lagg0 , lagg0.2, etc)
are created before any other interface configuration is done,
and in this case lagg0 is created, then lagg0.2 is created.
But because lagg0 does not have any members yet, it's MAC address
is all zeroes, and this is inherited by the vlan interfaces.
At the next step the members are added to the lagg0 interface and it's
mac address gets set,
but the vlan interfaces never see this change and remain with mac
address 00:00:00:00:00:00 and in unusable state.

Does it sound reasonable for the vlan(4) interfaces to update their
mac address when their parent changes it.
(this should probably look more like the parent telling the vlans
attached to it that it's mac has changed, but
i'm not sure if the parent knows about children interfaces)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2e77fc10805211031n6c42ffd2u3dee28164094b83b>