From owner-freebsd-questions@FreeBSD.ORG Thu Dec 1 17:01:25 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0814816A41F for ; Thu, 1 Dec 2005 17:01:25 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from rosebud.otenet.gr (rosebud.otenet.gr [195.170.0.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0977343D72 for ; Thu, 1 Dec 2005 17:01:19 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from flame.pc (aris.bedc.ondsl.gr [62.103.39.226]) by rosebud.otenet.gr (8.13.4/8.13.4/Debian-8) with SMTP id jB1H1GF7019688; Thu, 1 Dec 2005 19:01:17 +0200 Received: from flame.pc (flame [127.0.0.1]) by flame.pc (8.13.4/8.13.4) with ESMTP id jB1H0dfl063093; Thu, 1 Dec 2005 19:00:39 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by flame.pc (8.13.4/8.13.4/Submit) id jB1H0dam063092; Thu, 1 Dec 2005 19:00:39 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 1 Dec 2005 19:00:39 +0200 From: Giorgos Keramidas To: Doug Poland Message-ID: <20051201170039.GA63056@flame.pc> References: <59724.209.103.215.99.1133455725.squirrel@email.polands.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <59724.209.103.215.99.1133455725.squirrel@email.polands.org> Cc: freebsd-questions@freebsd.org Subject: Re: dhclient.conf is being ignored X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Dec 2005 17:01:25 -0000 On 2005-12-01 10:48, Doug Poland 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; }