[CentOS] CENTOS DHCP Server and windows computer/host name ISSUE

2010-08-24 Thread linux-crazy
Hi list,

We are running few Centos5.4 and windows 2003 instance  on CENTOS XEN
virtualized environment , all the guest are getting the IP/NETWORK/GATEWAY
setting from the DHCP Server running on CENTOS 5 server and the DNS
configured on the  windows 2003 server.

  All of the CENTOS Guests are getting the IP and  the host name as per the
DNS forward look up configured. For example  If the CENTOS  guest1 get
x.y.z.1 as an IP and it gets the host name as machine1.example.com  and so
on .


But none of the windows guest is getting the hostname or computer name from
the DHCP server even though its getting the ip from the centos DHCP server
properly ,  instead all the windows guest are   setting up the hostname or
computername as  ORGNAME-withsomenumbers . eg: techsoft-342156 as a computer
name .

See at present we are not doing any static mapping of IP/HOSTNAME  based on
windows GUEST MAC address. So statically mapping the hostname/ip with guest
MAC address is out of question  now.


Is there is any configuration to be tuned on dhcpd.conf or any  files or
parameter to be tuned on windows 2003 guests to get the hostname from the
DHCP/DNS . i heard about some option like *dhcpd  opt 12* on windows
regisrty level will do the job , But am blank how to get things done .




Also is there is a way to tune CENTOS DHCP Server to lease the ip to the
dhcp client in uniform order rather it leases randomly .


 If any one throws me some light on how to get this done  it will be really
great full for me .

Regards,
Lingu
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CENTOS DHCP Server and windows computer/host name ISSUE

2010-08-24 Thread Alan Hodgson
On Tuesday, August 24, 2010, linux-crazy hichee...@gmail.com wrote:
 
 Is there is any configuration to be tuned on dhcpd.conf or any  files or
 parameter to be tuned on windows 2003 guests to get the hostname from the
 DHCP/DNS . i heard about some option like *dhcpd  opt 12* on windows
 regisrty level will do the job , But am blank how to get things done .
 
 .

Ask on a Windows list?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CENTOS DHCP Server and windows computer/host name ISSUE

2010-08-24 Thread Phil Savoie
See inline, please

linux-crazy wrote:
 Hi list,
 
 We are running few Centos5.4 and windows 2003 instance  on CENTOS XEN 
 virtualized environment , all the guest are getting the 
 IP/NETWORK/GATEWAY setting from the DHCP Server running on CENTOS 5 
 server and the DNS configured on the  windows 2003 server.  
 
   All of the CENTOS Guests are getting the IP and  the host name as per 
 the DNS forward look up configured. For example  If the CENTOS  guest1 
 get x.y.z.1 as an IP and it gets the host name as machine1.example.com 
 http://machine1.example.com  and so on .
 
 
 But none of the windows guest is getting the hostname or computer name 
 from the DHCP server even though its getting the ip from the centos DHCP 
 server properly ,  instead all the windows guest are   setting up the 
 hostname or computername as  ORGNAME-withsomenumbers . eg: 
 techsoft-342156 as a computer name .
 
 See at present we are not doing any static mapping of IP/HOSTNAME  based 
 on windows GUEST MAC address. So statically mapping the hostname/ip with 
 guest MAC address is out of question  now.  
 
 
 Is there is any configuration to be tuned on dhcpd.conf or any  files or 
 parameter to be tuned on windows 2003 guests to get the hostname from 
 the DHCP/DNS . i heard about some option like *dhcpd  opt 12* on 
 windows regisrty level will do the job , But am blank how to get things 
 done .
 
 
 
 
 Also is there is a way to tune CENTOS DHCP Server to lease the ip to the 
 dhcp client in uniform order rather it leases randomly .
 
I use mac address reservations in the /etc/dhcpd.conf file, like so:

host linsrv {
 hardware ethernet 00:50:fc:57:5c:db;
 option host-name linsrv;
 fixed-address 192.168.100.254;
}

 
  If any one throws me some light on how to get this done  it will be 
 really great full for me .
 
 Regards,
 Lingu
 

HTH,

Phil
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CENTOS DHCP Server and windows computer/host name ISSUE

2010-08-24 Thread Victor Padro
On Tue, Aug 24, 2010 at 3:12 PM, linux-crazy hichee...@gmail.com wrote:
 Hi list,

 We are running few Centos5.4 and windows 2003 instance  on CENTOS XEN
 virtualized environment , all the guest are getting the IP/NETWORK/GATEWAY
 setting from the DHCP Server running on CENTOS 5 server and the DNS
 configured on the  windows 2003 server.

   All of the CENTOS Guests are getting the IP and  the host name as per the
 DNS forward look up configured. For example  If the CENTOS  guest1 get
 x.y.z.1 as an IP and it gets the host name as machine1.example.com  and so
 on .


 But none of the windows guest is getting the hostname or computer name from
 the DHCP server even though its getting the ip from the centos DHCP server
 properly ,  instead all the windows guest are   setting up the hostname or
 computername as  ORGNAME-withsomenumbers . eg: techsoft-342156 as a computer
 name .

 See at present we are not doing any static mapping of IP/HOSTNAME  based on
 windows GUEST MAC address. So statically mapping the hostname/ip with guest
 MAC address is out of question  now.


 Is there is any configuration to be tuned on dhcpd.conf or any  files or
 parameter to be tuned on windows 2003 guests to get the hostname from the
 DHCP/DNS . i heard about some option like dhcpd  opt 12 on windows
 regisrty level will do the job , But am blank how to get things done .




 Also is there is a way to tune CENTOS DHCP Server to lease the ip to the
 dhcp client in uniform order rather it leases randomly .


  If any one throws me some light on how to get this done  it will be really
 great full for me .

 Regards,
 Lingu

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos



Why don't you run DHCP  DNS on CentOS?

-- 
Linux User #452368
http://twitter.com/vpadro

Everything that irritates us about others can lead us to an
understanding of ourselves
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CENTOS DHCP Server and windows computer/host name ISSUE

2010-08-24 Thread Steve Thompson
On Tue, 24 Aug 2010, Phil Savoie wrote:

 I use mac address reservations in the /etc/dhcpd.conf file, like so:

 host linsrv {
 hardware ethernet 00:50:fc:57:5c:db;
 option host-name linsrv;
 fixed-address 192.168.100.254;
 }

The way that I always do it is:

host foobar {
hardware ethernet xx:xx:xx:xx:xx:xx;
fixed-address hostname.domain.org;
}

and rely on the DNS to supply the fixed IP address. This works for Linux, 
Windows XP, Vista and 7, and OS X.

Steve
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos