Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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)?

share|improve this question

1 Answer 1

  1. Fire up tcpdump or tshark on eth0... look for all UDP packets and make your sniffer give verbose output (see manpage)
  2. sudo dhclient -r
  3. sudo dhclient
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.