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 [EMAIL PROTECTED] -------------------------------------------- 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 [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message