Check DHCP Option content
5,133
- Fire up
tcpdump
ortshark
on eth0... look for all UDP packets and make your sniffer give verbose output (see manpage) sudo dhclient -r
sudo dhclient
Related videos on Youtube
![Admin](/assets/logo_square_200-5d0d61d6853298bd2a4fe063103715b4daf2819fc21225efa21dfb93e61952ea.png)
Author by
Admin
Updated on September 18, 2022Comments
-
Admin almost 2 years
Is it possible DHCP client check the contents of an option ?
I need provisioning a Linux server with DHCP option 140 (option-140).
But the server behaves as if the DHCP did not contain the information.
In the file /var/lib/dhcp/dhclient.eth0.leases
I do not see advanced DHCP options (option-140, option-141, option-142).
How can I manually request the DHCP server to give me the contents of an option (to control the content)?