linux-crazy
2010-Aug-24 20:12 UTC
[CentOS] CENTOS DHCP Server and windows computer/host name ISSUE
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20100825/39bdccee/attachment-0002.html>
Alan Hodgson
2010-Aug-24 20:19 UTC
[CentOS] CENTOS DHCP Server and windows computer/host name ISSUE
On Tuesday, August 24, 2010, "linux-crazy" <hicheerup at 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?
Phil Savoie
2010-Aug-24 20:55 UTC
[CentOS] CENTOS DHCP Server and windows computer/host name ISSUE
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
Victor Padro
2010-Aug-24 21:09 UTC
[CentOS] CENTOS DHCP Server and windows computer/host name ISSUE
On Tue, Aug 24, 2010 at 3:12 PM, linux-crazy <hicheerup at 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 at 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"