If that's not feasible, use fping (or nmap) to scan your local IP prefix, and note the one IP that is present or absent according to whether the host's ether is manually disconnected. Concurrently running tcpdump -e port bootpc or arp may prove helpful. Once you have an IP, ping it continuously and note the absence of replies for the few seconds that the host's ether is manually disconnected. On your DHCP server, tail -f the log, or look at current leases and lifetimes both before and after toggling connectivity. Plug back in, producing a "link up" event that will trigger a new DHCP client request. Momentarily unplug and notice that both link lights go out. Note the green ethernet LED showing good link status, on both ends of the CAT-5 cable. ![]() To toggle connectivity, go visit your host. ![]() It sounds like you think your headless host may be a DHCP client, and you want to verify that it obtained an IP.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |