Re: STEP 2, fixing dhclient behaviour with multiple interfaces

From: Daniel C. Sobral <dcs_at_tcoip.com.br>
Date: Tue, 29 Jul 2003 17:00:04 -0300
Terry Lambert wrote:
> 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.

Instead of just adding the stuff to devd?

-- 
Daniel C. Sobral                   (8-DCS)
Gerencia de Operacoes
Divisao de Comunicacao de Dados
Coordenacao de Seguranca
VIVO Centro Oeste Norte
Fones: 55-61-313-7654/Cel: 55-61-9618-0904
E-mail: Daniel.Capo_at_tco.net.br
         Daniel.Sobral_at_tcoip.com.br
         dcs_at_tcoip.com.br

Outros:
	dcs_at_newsguy.com
	dcs_at_freebsd.org
	capo_at_notorious.bsdconspiracy.net

Some people have parts that are so private
they themselves have no knowledge of them.
Received on Tue Jul 29 2003 - 11:00:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:16 UTC