lagg0.2 style vlans on lagg(4) interface

Max Laier max at love2party.net
Wed May 21 22:41:44 UTC 2008


On Thursday 22 May 2008 00:14:37 Niki Denev wrote:
> On Thu, May 22, 2008 at 12:32 AM, Max Laier <max at love2party.net> wrote:
> > On Wednesday 21 May 2008 23:22:52 Niki Denev wrote:
> >> On Thu, May 22, 2008 at 12:05 AM, Max Laier <max at love2party.net> 
wrote:
> >> > Looks good, though I'd probably move up the _INVOKE to before the
> >> > ARPs are sent out.  Probably between twiddling the hardware and
> >> > sending ARPs (though that needs an else-case if the interface is
> >
> >                  ^-------------------------------------------------
> >
> >> > still down).  In fact the ARPs could be sent from an event hook,
> >> > too.
> >
> >    ---------^
> >
> >> >  This would get rid of INET specific code in the LL-interface
> >> > code.
> >>
> >> I thought about moving it up too, but in this case isn't it going to
> >> be called only if the interface is up (IFF_UP)?
> >
> > See above.
>
> Oh, I've missed that.
>
> So, generating ARPs from an event handler looks to like the best
> solution. But in that case what would be the correct place for it?
> if_ethersubr.c and the others (fw,fddi,arc...) that may use ARP?

I think if_ether.c would be good, where arp_ifinit() is.

-- 
/"\  Best regards,                      | mlaier at freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News


More information about the freebsd-net mailing list