Page MenuHomeVyOS Platform

dhcp client options in CLI


Add dhcp client options in CLI:

set interfaces ethernet eth0 dhcp-options client-option "send host-name "my_hostname";"


Difficulty level
Normal (likely a few hours)
Why the issue appeared?
Will be filled on close

Event Timeline

syncer created this task.May 19 2017, 5:48 PM
kouak awarded a token.Dec 7 2017, 8:49 AM
pasik added a subscriber: pasik.Oct 1 2018, 9:54 AM
syncer changed the subtype of this task from "Task" to "Feature Request".Oct 20 2018, 7:02 AM
syncer changed the edit policy from "Task Author" to "Custom Policy".Nov 3 2018, 11:46 PM
syncer set Version to -.
syncer assigned this task to hagbard.Feb 7 2019, 11:36 PM
syncer raised the priority of this task from Low to Normal.

@syncer send hostname is automatically set, so not sure if that task is still valid. (see: /var/lib/dhcp/dhclient_eth0.conf).
The value is taken from hostname.
However dhcp has a ton of client options (, implementing all of them or just a portion and make them configurable, means the rewrite of th dhclient scripts, which I think is overdue anyway.

c-po moved this task from In Progress to Need Triage on the VyOS 1.3 Equuleus board.