Re: [CentOS] DHCP_HOSTNAME in ifcfg-eth0

2011-12-02 Thread Александр Кириллов
Sorry for the wrong wording: what I want is the DHCP client to send the hostname when a lease is requested, but I do not want to give dhclient any explicit hostname to be sent. I want dhclient to read the hostname from `hostname` or from /etc/sysconfig/network or any other way, and use

Re: [CentOS] DHCP_HOSTNAME in ifcfg-eth0

2011-12-02 Thread Timothy Madden
On 02.12.2011 13:25, Александр Кириллов wrote: Sorry for the wrong wording: what I want is the DHCP client to send the hostname when a lease is requested, but I do not want to give dhclient any explicit hostname to be sent. I want dhclient to read the hostname from `hostname` or from

Re: [CentOS] DHCP_HOSTNAME in ifcfg-eth0

2011-12-02 Thread m . roth
Timothy Madden wrote: On 02.12.2011 13:25, Александр Кириллов wrote: Sorry for the wrong wording: what I want is the DHCP client to send the hostname when a lease is requested, but I do not want to give dhclient any explicit hostname to be sent. I want dhclient to read the

Re: [CentOS] DHCP_HOSTNAME in ifcfg-eth0

2011-12-02 Thread Timothy Madden
On 02.12.2011 16:59, m.r...@5-cent.us wrote: Timothy Madden wrote: On 02.12.2011 13:25, �лек�андр Кириллов wrote: [...] For some strange reasone, when I do that, I get 'host name lookup failure' during `service network restart´ invocation, so in the end I resorted to using

[CentOS] DHCP_HOSTNAME in ifcfg-eth0

2011-11-29 Thread Timothy Madden
Hello Is there a way for the dhcp client to send the current host name of the machine when requesting a lease ? Currently I have to include a line like DHCP_HOSTNAME=appserver2 in my /etc/sysconfig/network-scripts/ifcfg-eth0, but I would like to tell the dhcp client to just 'also send

Re: [CentOS] DHCP_HOSTNAME in ifcfg-eth0

2011-11-29 Thread Barry Brimer
Is there a way for the dhcp client to send the current host name of the machine when requesting a lease ? Currently I have to include a line like DHCP_HOSTNAME=appserver2 in my /etc/sysconfig/network-scripts/ifcfg-eth0, but I would like to tell the dhcp client to just 'also send the

Re: [CentOS] DHCP_HOSTNAME in ifcfg-eth0

2011-11-29 Thread Timothy Madden
On 29.11.2011 15:57, Timothy Madden wrote: Hello Is there a way for the dhcp client to send the current host name of the machine when requesting a lease ? Currently I have to include a line like DHCP_HOSTNAME=appserver2 in my /etc/sysconfig/network-scripts/ifcfg-eth0, but I would

Re: [CentOS] DHCP_HOSTNAME in ifcfg-eth0

2011-11-29 Thread Stephen Harris
On Tue, Nov 29, 2011 at 05:52:06PM +0200, Timothy Madden wrote: Currently I have to include a line like DHCP_HOSTNAME=appserver2 I want dhclient to read the hostname from `hostname` or from /etc/sysconfig/network or any other way, and use that name to send the hostname to DHCP

Re: [CentOS] DHCP_HOSTNAME in ifcfg-eth0

2011-11-29 Thread Scot P. Floess
Sounds to me like you want to set up DDNS internally? I do that for my home network - but you need to have both DHCP and DNS working together...meaning DHCP needs to be able to update the DNS server with the names of the DHCP clients. I've got a Linksys router and have never gotten that to