RE: How to get Linux host name written in Windows DHCP and DNS?

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

 



Cool...I did that and then rebooted. If I print out /etc/sysconfig/network-scripts/ifcfg-eth0, it looks like it takes it:
# Broadcom Corporation BCM4401 100Base-T
DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=00:08:74:B9:03:5A
IPV6_AUTOCONF=yes
ONBOOT=yes
DHCP_HOSTNAME=execlinux
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes

If I try to ping it, look what happens:
[root@tup ~]# ping execlinux


What am I doing wrong?

Arch

-----Original Message-----
From: fedora-list-bounces@xxxxxxxxxx
[mailto:fedora-list-bounces@xxxxxxxxxx]On Behalf Of Mikkel L. Ellertson
Sent: Friday, June 29, 2007 12:42 PM
To: For users of Fedora
Subject: Re: How to get Linux host name written in Windows DHCP and DNS?


Arch Willingham wrote:
> Our local network is mostly Windows machines with more and more Linux machines (FC7). The DHCP server is a Windows 2003 server. The Linux machines get an IP address just fine and they get on the network without any problems. The only problem is that they don't write any type of name in DHCP or DNS. 
> 
> The DHCP log of the server is shown below. You can see where the Windows clients write their info (first four lines) and the fifth line is where a Linux clients gets its IP address but it has no name. How do I get the Linux client to assign send its host name to DHCP (also, what's the best place to set the host name...there seem to be a ton of places to do so)?
> 
> 10,06/27/07,10:54:00,Assign,10.0.1.212,MIKE.auburn.com,00115B66F371,
> 11,06/29/07,07:46:01,Renew,10.0.1.210,FRED.auburn.com,0015F2B0AB10,
> 11,06/29/07,07:46:03,Renew,10.0.1.210,FRED.auburn.com,0015F2B0AB10,
> 11,06/29/07,08:14:21,Renew,10.0.1.213,KIM.auburn.com,000BDBBB93D3,
> 10,06/29/07,10:49:09,Assign,10.0.1.200,,000874B9035A,
> 
> 
> Thanks!
> 
> Arch
> 
> 
> 
I usually use the "DHCP_HOSTNAME=<hostname>" option in
/etc/sysconfig/network-scripts/ifcfg-eth0. You can set it in the
Hostname setting in the DHCP settings or edit the file directly.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[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