NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Issues with agr interface?



On Sun, Apr 06, 2014 at 11:37:07AM +0200, Havard Eidnes wrote:
> >> I just tried to use agr(4) for the first time on NetBSD, on a
> >> host running NetBSD 1.6.3.  It's coupled to a pair of Juniper
> >> stacked switches upstream.  Ifconfig on the host does not show
> >> flags=<COLLECTING,DISTRIBUTING> for one of the interfaces:
> >
> > You've got bnx under agr.  I don't think bnx can set its MAC
> > address to match that of the other members of the agr, which
> > will cause trouble.  The changes to do so are probably quite
> > simple, however.
> 
> Hm, so the MAC address of each member should be set to the MAC
> address on the agr interface (which seems to be initialized to
> the MAC address of one of the members -- the first?)?

Yes, the first.  And none of this will work if the 2nd...nth interfaces
have any network-layer addresses assigned, which means before joining
them to the agr you'll need to remove the automatically assigned IPv6
link-local address.

Are you really using NetBSD 1.6.3, as you say above, or is it a typo
for 6.1.3?  In NetBSD 6 the infrastructure for resetting the interface
MAC addresses is already there and you can just look at a driver like
'wm' to see how it works.  In NetBSD 1.6, though...

Thor


Home | Main Index | Thread Index | Old Index