Date: Thu, 1 Dec 2005 19:00:39 +0200 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Doug Poland <doug@polands.org> Cc: freebsd-questions@freebsd.org Subject: Re: dhclient.conf is being ignored Message-ID: <20051201170039.GA63056@flame.pc> In-Reply-To: <59724.209.103.215.99.1133455725.squirrel@email.polands.org> References: <59724.209.103.215.99.1133455725.squirrel@email.polands.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-12-01 10:48, Doug Poland <doug@polands.org> wrote:
> Hello,
> 
> I'm running 6.0-STABLE and having an issue with dhclient "ignoring"
> dhclient.conf(5).
> 
> On this dual-homed host, I've created dhclient.conf in it's proper
> location with the option modifiers I want.  However, everytime dhclient
> negotiates a new lease, I get my ISP's values in resolv.conf(5) and not
> my over-rides.
> 
> Here's the relevent part of rc.conf(5):
> 
> # grep ifconfig /etc/rc.conf
> ifconfig_fxp0="DHCP"
> ifconfig_xl0="inet 172.16.1.1  netmask 255.255.255.0"
> 
> and my dhclient.conf file:
> 
> # cat /etc/dhclient.conf
> interface "fxp0" {
>         supersede domain mydomain.com
>         supersede domain-name-servers 172.16.1.17, 172.16.1.32;
> }
You're missing a semicolon after the first supersede line:
    interface "fxp0" {
            supersede domain mydomain.com;
            supersede domain-name-servers 172.16.1.17, 172.16.1.32;
    }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051201170039.GA63056>
