Re: How to send DHCP hostname with NM?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mogens Kjaer wrote:

> 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
> 

Doesn't work here.  I have 
in /etc/sysconfig/network-scripts/ifcfg-eth1:

DHCP_HOSTNAME=nbecker6

Mar  3 07:38:26 localhost dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 
port 67 interval 8
Mar  3 07:38:26 localhost dhclient: DHCPOFFER from 10.32.111.2
Mar  3 07:38:26 localhost dhclient: DHCPREQUEST on eth1 to 255.255.255.255 
port 67
Mar  3 07:38:26 localhost dhclient: DHCPACK from 10.32.111.2

Here is the entire file:
DEVICE=eth1
HWADDR=00:e0:81:b1:49:f8
ONBOOT=yes
DHCP_HOSTNAME=nbecker6
BOOTPROTO=dhcp
TYPE=Ethernet
USERCTL=no
PEERDNS=yes
IPV6INIT=no
NM_CONTROLLED=yes



-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux