Page MenuHomeVyOS Platform

The DHCPv6 server leases function the display of the hostname
Open, LowPublicFEATURE REQUEST

Description

Add a display of the hostname to the dhcpv6 server.
For example:

vyos@vyos# run show dhcpv6 server leases 
IPv6 address                State    Last communication    Lease expiration     Remaining    Type           Pool    IAID_DUID                                              Hostname
--------------------------  -------  --------------------  -------------------  -----------  -------------  ------  -----------------------------------------------------  -------------
2001:cafe:cafe:100::100:20  active   2022/05/30 17:55:47   2022/05/31 05:55:47  11:47:25     non-temporary  LAN6    ef:c8:0c:18:00:01:00:01:28:0b:af:72:08:00:27:de:49:9d  PC1

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Improvement (missing useful functionality)

Event Timeline

We don't have such option client-hostname in dhcpdv6.leases

Example IPv4

lease 192.0.2.10 {
  starts 0 2022/06/19 12:16:37;
  ends 1 2022/06/20 12:16:37;
  cltt 0 2022/06/19 12:16:37;
  binding state active;
  next binding state free;
  rewind binding state free;
  hardware ethernet 52:54:00:aa:6e:6b;
  set shared-networkname = "Lan01";
  client-hostname "r1";
}

Example IPv6

ia-na "\000\000\000\000\000\004PJ\230\035o\263I\312\212C\302\203&\231+\324" {
  cltt 0 2022/06/19 12:16:38;
  iaaddr 2001:db8:23::95c2 {
    binding state active;
    preferred-life 27000;
    max-life 43200;
    ends 1 2022/06/20 00:16:38;
    set shared-networkname = "Lan-v6-02";
  }
}

So it is impossible to get it now
https://kb.isc.org/docs/isc-dhcp-44-manual-pages-dhcpdleases#THE%20DHCPv6%20LEASE%20(IA)%20DECLARATION

dmbaturin edited projects, added VyOS 1.5 Circinus; removed VyOS 1.4 Sagitta.
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
dmbaturin changed Issue type from Feature (new functionality) to Improvement (missing useful functionality).
dmbaturin subscribed.

Maybe it's working with Kea already in 1.5?