Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Feb 1999 00:44:44 -0800
From:      "David O'Brien" <obrien@NUXI.com>
To:        Dom Mitchell <dom@myrddin.demon.co.uk>
Cc:        current@FreeBSD.ORG
Subject:   Re: adding DHCP client to src/contrib/
Message-ID:  <19990209004444.D19070@relay.nuxi.com>
In-Reply-To: <E10A862-0000GY-00.qmail@myrddin.demon.co.uk>; from Dom Mitchell on Tue, Feb 09, 1999 at 08:00:38AM %2B0000
References:  <19990208142820.A9457@relay.nuxi.com> <E10A862-0000GY-00.qmail@myrddin.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
> What impact will this have on the rc files?  How will it affect
> rc.conf, seeing as it overrides several values therein?  

Most basic, you would have ``network_interfaces="lo0 fxp0"'' as usual,
but no "ifconfig_fxp0="inet ...." line.

Rather you would have a ``/etc/start_if.fxp0'' file with:

    /sbin/dhcpc fxp0
    sleep 10

in it.  If you want to assign your own hostname, you may continue to do
so in the normal manner.   If you use ``dhcpc -n fxp0'', dhcpc will do
``hostname <...>'' with the hostname returned by the DHCP server.

If you want to specify your /etc/resolv.conf file, you may do so.  Or use
``dhcp -r fxp0'' to create one for you.


> What happens if your lease expires and doesn't get renewed, or gets
> renewed with a different IP address?

You will get "no route to host" type messages.


-- 
-- David    (obrien@NUXI.com  -or-  obrien@FreeBSD.org)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990209004444.D19070>