DHCP Configuration

  • Thread starter Thread starter MUmer
  • Start date Start date
M

MUmer

On a test machine, I edited my dhcpd.conf file with the following lines.
subnet 192.168.105.0 netmask 255.255.255.0 {
range 192.168.105.150 192.168.105.240;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.105.255;
option routers 192.168.105.254;
option domain-name-servers 192.168.100.13;

}

but when a computer on the network request for dhcp, it gets the IP 192.168.25.X. Why? Also my /var/log/messages also shows the wrong IP and wrong MAC address.

Mar 26 10:52:58 Umer dhcpd: DHCPREQUEST for 192.168.25.100 (192.168.25.1) from b4:b5:2f:75:c4:30 via eth0: wrong network.
Mar 26 10:52:58 Umer dhcpd: DHCPNAK on 192.168.25.100 to b4:b5:2f:75:c4:30 via eth0

Continue reading...
 
Back
Top