Sending hostname with DHCP
Todd Nine
todd.nine at gmail.com
Wed Aug 10 21:14:21 UTC 2005
Hi all,
I need some help with a DHCP client and I'm running into some serious
issues. I'll give a brief overview of what I want, what is working, and
where I need help.
1. What I want
I would like to have all my DHCP clients to send their hostname. This
way I can connect to any client regardless of OS.
2. What is working
I have a router/firewall running Fedora Core 2. It runs Bind 9.2.3 and
Dhcpd 3.0.1. I have successfully set up my domain of
nine.homelinux.com <http://nine.homelinux.com>, and I have dhcpd
updated the hosts in that domain using a TSIG key. I can ping my router or
any other windows machine from a windows clients.
3. What I need help with.
Highest Priority
I cannot get my Fedora 4 workstations to work correctly. They send
their hostname, and when I view the leases with the webmin interface for
dhcp, the hostname shows up. However, I cannot ssh into them or ping them
from my windows machines by hostname, only by IP. I have included my
/etc/dhclient.conf on the first Fedora 4 box I'm trying to get working. See
the lower priority section below for logging from my DHCPd dns section
send host-name "marge";
send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
#send dhcp-lease-time 3600;
#supersede domain-name "nine.homelinux.com <http://nine.homelinux.com>
";
#prepend domain-name-servers 127.0.0.1 <http://127.0.0.1>;
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers;
#require subnet-mask, domain-name-servers;
#timeout 60;
#retry 60;
#reboot 10;
#select-timeout 5;
#initial-interval 2;
#script "/etc/dhclient-script";
#media "-link0 -link1 -link2", "link0 link1";
#reject 192.33.137.209 <http://192.33.137.209>;
#alias {
# interface "ep0";
# fixed-address 192.5.5.213 <http://192.5.5.213>;
# option subnet-mask 255.255.255.255 <http://255.255.255.255>;
#}
#lease {
# interface "ep0";
# fixed-address 192.33.137.200 <http://192.33.137.200>;
# medium "link0 link1";
# option host-name "andare.swiftmedia.com<http://andare.swiftmedia.com>
";
# option subnet-mask 255.255.255.0 <http://255.255.255.0>;
# option broadcast-address 192.33.137.255 <http://192.33.137.255>;
# option routers 192.33.137.250 <http://192.33.137.250>;
# option domain-name-servers 127.0.0.1 <http://127.0.0.1>;
# renew 2 2000/1/12 00:00:01;
# rebind 2 2000/1/12 00:00:01;
# expire 2 2000/1/12 00:00:01;
#}
Lower Priority
I'm constantly getting these error messages in my DHCP logs. Does
anyone have any idea what this means?
if bart.nine.homelinux.com <http://bart.nine.homelinux.com/> IN A
rrset doesn't exist add
bart.nine.homelinux.com<http://bart.nine.homelinux.com/>300 IN A
192.168.0.50 <http://192.168.0.50/>: timed out.: 289 Time(s)
if lisa.nine.homelinux.com <http://lisa.nine.homelinux.com/> IN A
rrset doesn't exist add
lisa.nine.homelinux.com<http://lisa.nine.homelinux.com/>300 IN A
192.168.0.87 <http://192.168.0.87/>: timed out.: 288 Time(s)
if maggie.nine.homelinux.com <http://maggie.nine.homelinux.com/> IN A
rrset doesn't exist add
maggie.nine.homelinux.com<http://maggie.nine.homelinux.com/>300 IN A
192.168.0.98 <http://192.168.0.98/>: timed out.: 41 Time(s)
if marge.nine.homelinux.com <http://marge.nine.homelinux.com/> IN A
rrset doesn't exist add
marge.nine.homelinux.com<http://marge.nine.homelinux.com/>300 IN A
192.168.0.83 <http://192.168.0.83/>: timed out.: 329 Time(s)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050810/0714ea3e/attachment-0001.htm>
More information about the fedora-list
mailing list