Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2003 01:19:42 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Martin Blapp <mb@imp.ch>
Cc:        current@freebsd.org
Subject:   Re: STEP 2, fixing dhclient behaviour with multiple interfaces
Message-ID:  <3F262E1E.9936E5D7@mindspring.com>
References:  <20030729094308.L41136@cvs.imp.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
Martin Blapp wrote:
> I't is my goal to make dhclient really functional, so it can not only
> be used with one interface, but several.
> 
> On a well known OS this works just fine. A first interface gets
> initialized and the GW gets set as usual. But if a second interface
> gets added, and the first one is still active and has a working lease,
> the GW will not be overwriten. If you remove now the first interface,
> the default GW changes to the one of the second interface.
[ ... ]
> If there are other ideas, I'm open to them.

You could add kevents for interface arrival and departure, and
add a kqueue to the dhcpd to catch the arrival/departure events,
and then just act on them.

-- Terry



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F262E1E.9936E5D7>