Page MenuHomeVyOS Platform

"release dhcpv6 interface" failing
Open, NormalPublicBUG

Description

My router gets a dhcpv6 address from my upstream, eth0.10 is my WAN Interface towards my ISP:

tim@ferrari:~$ show interfaces 
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface    IP Address                 MAC                VRF        MTU  S/L    Description
-----------  -------------------------  -----------------  -------  -----  -----  ---------------------------------------------
eth0         -                          xx:xx:xx:xx:xx:xx  default   1522  u/u    <removed>
eth0.10      x.x.x.218/23               xx:xx:xx:xx:xx:xx  default   1500  u/u    <removed>
             x:x:x:7e::4e92/128
eth1         192.168.0.1/24             xx:xx:xx:xx:xx:xx  default   1500  u/u    <removed>
             x:x:x:9701::1/64
lo           127.0.0.1/8                xx:xx:xx:xx:xx:xx  default  65536  u/u    <removed>
             ::1/128

The configuration that gets the DHCPv6 and delegates to my LAN is thus:

tim@ferrari:~$ show configuration commands | match dhcpv6
set interfaces ethernet eth0 vif 10 address 'dhcpv6'
set interfaces ethernet eth0 vif 10 dhcpv6-options pd 0 interface eth1 address '1'
set interfaces ethernet eth0 vif 10 dhcpv6-options pd 0 interface eth1 sla-id '1'
set interfaces ethernet eth0 vif 10 dhcpv6-options pd 0 length '56'

I have a working v6 address from my ISP:

tim@ferrari:~$ ping 2600:: source-address x:x:x:7e::4e92
PING 2600::(2600::) from x:x:x:7e::4e92 : 56 data bytes
64 bytes from 2600::: icmp_seq=1 ttl=55 time=211 ms
64 bytes from 2600::: icmp_seq=2 ttl=55 time=211 ms
64 bytes from 2600::: icmp_seq=3 ttl=55 time=211 ms
64 bytes from 2600::: icmp_seq=4 ttl=55 time=211 ms
64 bytes from 2600::: icmp_seq=5 ttl=55 time=211 ms

But I am unable to release it from my eth0.10 interface:

tim@ferrari:~$ release dhcpv6 interface eth0.10
DHCPv6 client is not configured on interface eth0.10.

As above though, it is configured:

set interfaces ethernet eth0 vif 10 address 'dhcpv6'

There appears to be an error/issue with the detection of the fact DHCPv6 is configured (prehaps the subinterface is the issue) and thus I am unable to release my DHCPv6 address.

The renew command is however recognised and works correctly:

tim@ferrari:~$ renew dhcpv6 interface eth0.10 
Restarting DHCPv6 client on interface eth0.10...
tim@ferrari:~$

Thanks!

Details

Difficulty level
Unknown (require assessment)
Version
1.4.0 GA
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

syncer triaged this task as Normal priority.Jul 3 2024, 1:26 PM