How to send DHCP hostname with NM?

Mogens Kjaer mk at crc.dk
Mon Mar 9 11:26:56 UTC 2009


Neal Becker wrote:
> How in the world do I get hostname set on a dhcp connection managed by NM?

I have a

DHCP_HOSTNAME=evon800c

in the /etc/sysconfig/network-scripts/ifcfg-eth0 file,
and the DHCP server sees it:

Mar  9 12:22:39 server1 dhcpd: DHCPDISCOVER from 00:08:02:6c:20:ad via
bond0.20
Mar  9 12:22:40 server1 dhcpd: DHCPOFFER on 172.20.2.252 to
00:08:02:6c:20:ad (evon800c) via bond0.20
Mar  9 12:22:40 server1 dhcpd: DHCPREQUEST for 172.20.2.252 (172.20.0.1)
from 00:08:02:6c:20:ad (evon800c) via bond0.20
Mar  9 12:22:40 server1 dhcpd: DHCPACK on 172.20.2.252 to
00:08:02:6c:20:ad (evon800c) via bond0.20

Mogens

-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Mobile: +45 22 12 53 25
Email: mk at crc.dk Homepage: http://www.crc.dk




More information about the fedora-list mailing list