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!



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux