, <tech-install@netbsd.org>
From: sinteur <john@dubbele.com>
List: tech-install
Date: 07/24/2000 16:46:03
>>> 4. if we use DHCP, /etc/ifconfig.IF will have the address we have
>>> obtained via DHCP. this seems incorrect.
>>IMHO, if you got the address via dhcp, sysinst should set up rc.conf,
>>etc., to enable dhcp on that interface if the user answers "yes" to
>>the keep-using-this-network-config question..
>
> that is my impression too. adding dhclient=YES would be the best way.
Not always. For multiple interfaces, you may only want dhcp on one of the
interfaces - I ran into this adding dhcp to my firewall (see
http://www.dubbele.com).
I solved this by writing "dhclient xx0" to /etc/rc.local instead (where
xx0 is the interface in question)
-John