Configuring for 1 static and 1 DHCP interface ?

Ronald F. Guilmette rfg at tristatelogic.com
Tue Nov 23 20:33:43 UTC 2010


In message <20101123133820.GA36224 at babolo.ru>, 
Aleksandr A Babaylov <. at babolo.ru> wrote:

>On Tue, Nov 23, 2010 at 04:35:42AM -0800, Ronald F. Guilmette wrote:
>> I should say however that even this is going to produce a slightly sub-optim
>al
>> result, because (I guess) the DHCP client is _still_ going to wipe out my
>> eisting /etc/resolve.con file and then write its own.  Now that will at
>> least have the proper IP address in it _however_ there does not seem to
>> be any way to entice the DHCP client to place certain "options" into the
>> /etc/resolv.conf file.  That's a pity, because I wanted one in there.
>> (Oh well, I guss I can append it from my /etc/rc.local file.)
>Does
>chflags schg /etc/resolve.conf
>helps?

Humm... I confess that I hadn't even considered trying that.

Thanks for the suggestion!  I'll try that out.


More information about the freebsd-net mailing list