:: [DNG] Networking with DHCP: Getting…
Top Page
Delete this message
Reply to this message
Author: dvalin
Date:  
To: dng
Subject: [DNG] Networking with DHCP: Getting hostnames to work.
Since SunOS4.1.3, I'd been content with fixed IPs and /etc/hosts. It worked OOTB.

But these days it's all DHCP, including last night's Excalibur install. So it's time to figure out how to share hostnames with dhcp, I figure.

The trusty Beowulf host, with all the files to shovel over, has in /etc/dhcp/dhclient.conf:

send host-name = gethostname();

so the dhcp server should have it.

The new Excalibur host shows "dynamic" in the "inet" line for eth0 result for the "ip address" command, so it should have what it asks for from the dhcp server.

BUT a "ping greipner" gives "ping: greipner: Name or service not known".

So the question is: How to tell the Excalibur host to request all local hostnames, so networking can function at one level above raw IP addresses?

So far my google-foo is showing systemd results - that's a bit inappropriate.

Erik