From owner-freebsd-questions Tue Jan 21 15:16: 4 2003 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 1BE8437B401 for ; Tue, 21 Jan 2003 15:16:02 -0800 (PST) Received: from ny-utica5a-212.aburny.adelphia.net (ny-utica5a-212.aburny.adelphia.net [24.49.196.212]) by mx1.FreeBSD.org (Postfix) with SMTP id A8CEB43F5B for ; Tue, 21 Jan 2003 15:15:55 -0800 (PST) (envelope-from dennis@deerfieldhosting.com) Received: (qmail 39935 invoked from network); 21 Jan 2003 23:15:53 -0000 Received: from unknown (HELO mwmicro) (10.0.0.1) by ny-utica5a-212.aburny.adelphia.net with SMTP; 21 Jan 2003 23:15:53 -0000 Reply-To: From: "Dennis Mathiasen" To: =?iso-8859-1?Q?J=F8rgen?= Cc: Subject: RE: dhclient; DNS not updating properly Date: Tue, 21 Jan 2003 18:15:44 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <000501c2c14a$13667e60$63000a0a@daxxar> Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Here is the complete contents of /etc/dhclient.conf, on my 4.7-Stable box: prepend domain-name-servers 127.0.0.1; request subnet-mask, broadcast-address, time-offset, routers, domain-name, domain-name-servers, host-name; require subnet-mask, domain-name-servers; timeout 60; retry 60; reboot 10; select-timeout 5; initial-interval 2; The key line is require. Dennis Mathiasen dennis@deerfieldhosting.com -------------------------------------------- Deerfield Hosting - High Performance Hosting http://DeerfieldHosting.com?ref=sig -------------------------------------------- > Im have a network of 4 PCs: > One running RedHat 7.2, one running > WinXP, one running Debian and the last > (a laptop) running FreeBSD 4.7-RELEASE. > The RedHat-box acts as a NAT gateway to > the internet, and runs a DHCPD to > give out IPs, DNS-servers and such, and > here comes the problem. The two > other machines gets all the info > properly, but the FreeBSD box does NOT get > DNS-server (it seems), atleast it > doesnt update /etc/resolv.conf properly. > ep0 is a PCMCIA 3Com MegaHertz 574B NIC. > > /var/log/messages only tells me this: > dhclient: New Network Number: 10.10.0.96 > dhclient: New Broadcast Address: 10.10.0.111 > dhclient: New Hostname: > dhclient: New IP Address (ep0): 10.10.0.100 > dhclient: New Subnet Mask (ep0): 255.255.255.240 > dhclient: New Broadcast Address (ep0): > 10.10.0.111 > dhclient: New Routers: 10.10.0.97 > > I've tried adding the following to > /etc/dhclient.conf (even though manpages > specify that it shouldnt be neccesary): > interface "ep0" { > request subnet-mask, > broadcast-address, time-offset, routers, > domain-name, domain-name-servers, host-name; > require subnet-mask, > domain-name-servers; > } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message