Hi all<br>
I have configured DHCP server in my machine connected to LAN which is having Scientific Linux OS<br>
dhcp-3.0.1-12_EL.i386 is the version I've configured<br>
Also there is one DHCP server configured with windows OS in my LAN<br>
<br>
Here is my /etc/dhcpd.conf <br>
ddns-update-style ad-hoc;<br>
default-lease-time 600;<br>
max-lease-time 7200;<br>
lease-file-name "/var/lib/dhcp/dhcpd.leases";<br>
authoritative;<br>
log-facility local7;<br>
subnet <a href="http://10.2.0.0/" target="_blank">10.2.0.0</a> netmask <a href="http://255.255.255.0/" target="_blank">255.255.255.0</a> {<br>
range <a href="http://10.2.0.200/" target="_blank">10.2.0.200</a> <a href="http://10.2.0.250/" target="_blank">10.2.0.250</a>;<br>
option subnet-mask <a href="http://255.255.255.0/" target="_blank">255.255.255.0</a>;<br>
option domain-name-servers <a href="http://10.2.0.43/" target="_blank">10.2.0.43</a>;<br>
option domain-name "virtualnode03.grid";<br>
option routers <a href="http://10.2.0.43/" target="_blank">10.2.0.43</a>;<br>
option broadcast-address <a href="http://10.2.0.255/" target="_blank">10.2.0.255</a>;<br>
default-lease-time 600;<br>
max-lease-time 7200;<br>
}<br>
<br>
Now all the dhcp client requests are acquiring Ip address from the Windows DHCP Server.<br>
Is there any possiblity to have the multiple DHCP Servers in a single LAN ??<br>
Whether I ve to do any other configuration in client machine so that i
ve to request ip address explicitly to the Linux DHCP server?<br>
<br>
Here is my client machine's(g151.grid) network configuration <br>
<br>
[root@g151 ~]# cat /etc/sysconfig/network-scripts<div id="1fzc" class="ArwC7c ckChnd">/ifcfg-eth0<br>
DEVICE=eth0<br>
BOOTPROTO=dhcp<br>
ONBOOT=yes<br>
<br>
When I restart my network configuration using "service network restart " . Ip is assigned from my windows DHCP Server<br>
<br>
[root@g151 ~]# ifconfig<br>
eth0 Link encap:Ethernet HWaddr 00:16:3E:29:EA:03<br>
inet addr:<a href="http://192.168.100.76/" target="_blank">192.168.100.76</a> Bcast:<a href="http://192.168.100.255/" target="_blank">192.168.100.255</a> Mask:<a href="http://255.255.255.0/" target="_blank">255.255.255.0</a><br>
inet6 addr: fe80::216:3eff:fe29:ea03/64 Scope:Link<br>
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br>
RX packets:58 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:1000<br>
RX bytes:4831 (4.7 KiB) TX bytes:1194 (1.1 KiB)<br>
<br>
lo Link encap:Local Loopback<br>
inet addr:<a href="http://127.0.0.1/" target="_blank">127.0.0.1</a> Mask:<a href="http://255.0.0.0/" target="_blank">255.0.0.0</a><br>
inet6 addr: ::1/128 Scope:Host<br>
UP LOOPBACK RUNNING MTU:16436 Metric:1<br>
RX packets:118 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:118 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:0<br>
RX bytes:10013 (9.7 KiB) TX bytes:10013 (9.7 KiB)<br>
<br>
Also in my Linux DHCP Server I got the following /var/log/messages <br>
<br>
[root@virtualnode03 ~]# tail /var/log/messages<br>
Mar 26 14:33:17 virtualnode03 dhcpd: dhcpd startup succeeded<br>
Mar 26 14:33:19 virtualnode03 dhcpd: DHCPINFORM from <a href="http://192.168.100.51/" target="_blank">192.168.100.51</a> via eth0: unknown subnet <a href="http://0.0.0.0/" target="_blank">0.0.0.0</a><br>
Mar 26 14:33:20 virtualnode03 dhcpd: DHCPINFORM from <a href="http://192.168.100.54/" target="_blank">192.168.100.54</a> via eth0: unknown subnet <a href="http://0.0.0.0/" target="_blank">0.0.0.0</a><br>
Mar 26 14:33:22 virtualnode03 dhcpd: DHCPINFORM from <a href="http://192.168.100.51/" target="_blank">192.168.100.51</a> via eth0: unknown subnet <a href="http://0.0.0.0/" target="_blank">0.0.0.0</a><br>
Mar 26 14:33:23 virtualnode03 dhcpd: DHCPINFORM from <a href="http://192.168.100.54/" target="_blank">192.168.100.54</a> via eth0: unknown subnet <a href="http://0.0.0.0/" target="_blank">0.0.0.0</a><br>
Mar 26 14:33:30 virtualnode03 dhcpd: DHCPREQUEST for <a href="http://192.168.100.76/" target="_blank">192.168.100.76</a> from 00:16:3e:29:ea:03 via eth0: wrong network.<br>
Mar 26 14:33:30 virtualnode03 dhcpd: DHCPNAK on <a href="http://192.168.100.76/" target="_blank">192.168.100.76</a> to 00:16:3e:29:ea:03 via eth0<br>
Mar 26 14:33:30 virtualnode03 dhcpd: DHCPDISCOVER from 00:16:3e:29:ea:03 via eth0: network <a href="http://10.2.0.0/24" target="_blank">10.2.0.0/24</a>: no free leases<br>
Mar 26 14:33:30 virtualnode03 dhcpd: DHCPREQUEST for <a href="http://192.168.100.76/" target="_blank">192.168.100.76</a>
(<a href="http://192.168.1.100/" target="_blank">192.168.1.100</a>) from 00:16:3e:29:ea:03 via eth0: wrong network.<br>
Mar 26 14:33:30 virtualnode03 dhcpd: DHCPNAK on <a href="http://192.168.100.76/" target="_blank">192.168.100.76</a> to 00:16:3e:29:ea:03 via eth0<br>
<br>
<br>
Is there any thing else I've to configure.. My requirement is to get
the ip address assigned from Linux DHCP Server ..Please Help me by
giving your valuable suggesstions<br>
<br>
Thanks in advance<br>
Rajiv.R<br>
Porject Associate,<br>
CARE,MIT,<br>
Anna university.</div>