Page MenuHomePhabricator

dhcp client options in CLI
Open, NormalPublicFEATURE REQUEST

Description

Add dhcp client options in CLI:

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

https://forum.vyos.net/showthread.php?tid=27059

Details

Difficulty level
Normal (likely a few hours)
Version
-
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 (https://tools.ietf.org/html/rfc2132), 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.