Custom Search

Thursday, October 30, 2014

How Test and Debug a DHCP server

1)
#route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 wlan0
192.168.0.0     0.0.0.0         255.255.255.0   U     9      0        0 wlan0
192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 virbr0

2)
#sudo dhcping -s 192.168.0.1 -c 192.168.0.2
Got answer from: 192.168.0.1

No comments:

Post a Comment