DHCP client configuration on FreeBSD

L Goodwin xrayv19 at yahoo.com
Fri Apr 27 23:29:37 UTC 2007


When I ran the DHCP client configuration tool on
FreeBSD 6.2, it added a new hostname variable to
/etc/rc.conf below existing the hostname var (it did
not remove or comment-out the old hostname variable).

The NEW hostname includes the ISP's domain name:
  hostname="dhcppc0.<ISP domain name here>"

This hostname differs from the hostname listed in the
router's DHCP table "dhcpp0" (no domain name). It also
shows unique IP addresses and MAC addresses for all
hosts on the LAN.

I can ping the IP address assigned to the FreeBSD
system, but ping and net lookup fail when its hostname
is specified (both with and without the domain name).

Questions:
1) Why did the hostname get changed (does not occur
for Windows clients)?
2) Why does the hostname in /etc/rc.conf contain the
DNS domain name?
3) How do I resolve this problem?

Thanks!

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the freebsd-questions mailing list