Hi - I am using the CentOS v5 desktop installation and am setting up a new lab for our engineering department. Initially I computers got their IP addresses and computer names from the DHCP process and the computer were getting the info from the dynamic pool. These name would be d-23-76.mnsu.edu, where the d stood for dynamic and 23-76 refered the IP address of xx.xx.23.76. The computer hostname would show up as d-23-76. I did not want the computers to get different IP address so I put the computers onto our DHCP table as manual DHCP clients by assigning a name and mac address to an IP address. Now the computers get the correct IP address but the hostname is localhost. How can I get the correct name for hostname from DHCP? -- Denis Becker Information Technology - Engineering MN State Univ., Mankato Mankato, MN ph: 507-389-5617 fx: 507-389-5002
On Thu, Sep 27, 2007 at 05:10:02PM -0500, Denis enlightened us:> - I am using the CentOS v5 desktop installation and am setting up a > new lab for our engineering department. Initially I computers got their > IP addresses and computer names from the DHCP process and the computer > were getting the info from the dynamic pool. These name would be > d-23-76.mnsu.edu, where the d stood for dynamic and 23-76 refered the > IP address of xx.xx.23.76. The computer hostname would show up as > d-23-76. I did not want the computers to get different IP address so I > put the computers onto our DHCP table as manual DHCP clients by > assigning a name and mac address to an IP address. Now the computers > get the correct IP address but the hostname is localhost. > > How can I get the correct name for hostname from DHCP?Is reverse DNS set up for those IP addresses? -- Matt Hyclak Department of Mathematics Department of Social Work Ohio University (740) 593-1263
Salam, if you go on further details with dhcp file there is an option in the file that when u allow specific Ips against specific mac addresses, hostname can also be given manually... Regards, Umair Shakil ETD On 9/28/07, Denis <denis.becker at mnsu.edu> wrote:> > Hi - I am using the CentOS v5 desktop installation and am setting up a > new lab for our engineering department. Initially I computers got their > IP addresses and computer names from the DHCP process and the computer > were getting the info from the dynamic pool. These name would be > d-23-76.mnsu.edu, where the d stood for dynamic and 23-76 refered the > IP address of xx.xx.23.76. The computer hostname would show up as > d-23-76. I did not want the computers to get different IP address so I > put the computers onto our DHCP table as manual DHCP clients by > assigning a name and mac address to an IP address. Now the computers > get the correct IP address but the hostname is localhost. > > How can I get the correct name for hostname from DHCP? > > -- > Denis Becker > Information Technology - Engineering > MN State Univ., Mankato > Mankato, MN > ph: 507-389-5617 > fx: 507-389-5002 > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070928/5253c3a0/attachment-0001.html>