Something seems to trigger the next elif branch in interface.py L1284.
Your bug report suggest a malformed string in your set command.
Could you test with a quoted param?
- Feed Queries
- All Stories
- Search
- Feed Search
- Transactions
- Transaction Logs
All Stories
Oct 13 2025
Yes I've tested with the latest nightly, the config node didn't exist before.
vyos@vyos# show interfaces pppoe pppoe0 | strip-private
+address dhcpv6
authentication {
password xxxxxx
username xxxxxx
}
dhcpv6-options {
duid xx:xx:xx:xx:xx:12:xx:xx:xx:xx:xx:b9:xx:xx:xx:xx:xx:94
pd 0 {
interface bond0.1 {
address 1
sla-id 0
}
interface bond0.1001 {
address 1
sla-id 1
}
interface bond0.1002 {
address 1
sla-id 2
}
interface bond0.1003 {
address 1
sla-id 3
}
interface bond0.2001 {
address 1
sla-id 257
}
interface eth2 {
address 1
sla-id 4
}
interface eth3 {
address 1
sla-id 10
}
length 48
}
}
ipv6 {
address {
autoconf
}
}
mtu 1500
no-peer-dns
source-interface bond0.4002
[edit]
vyos@vyos#[ interfaces pppoe pppoe0 ]
Traceback (most recent call last):
File "/usr/libexec/vyos/services/vyos-configd", line 156, in run_
script
script.apply(c)
File "/usr/libexec/vyos/conf_mode/interfaces_pppoe.py", line 132,
in apply
p.update(pppoe)
File "/usr/lib/python3/dist-packages/vyos/ifconfig/pppoe.py", lin
e 124, in update
super().update(config)
File "/usr/lib/python3/dist-packages/vyos/ifconfig/interface.py",
line 1831, in update
self.add_addr(addr, vrf_changed=vrf_changed)
File "/usr/lib/python3/dist-packages/vyos/ifconfig/interface.py",
line 1286, in add_addr
elif not is_intf_addr_assigned(self.ifname, addr, netns=netns):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/vyos/utils/network.py", line
454, in is_intf_addr_assigned
if ip_interface(addr) == interface or address == addr:
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/ipaddress.py", line 117, in ip_interfac
e
raise ValueError(f'{address!r} does not appear to be an IPv4 or
IPv6 interface')
ValueError: 'd' does not appear to be an IPv4 or IPv6 interfaceLog after commit:
Oct 13 12:22:41 vyos vyos-configd[643]: Received message: {"type": "init"}
Oct 13 12:22:41 vyos vyos-configd[643]: config session pid is 2467
Oct 13 12:22:41 vyos vyos-configd[643]: config session sudo_user is vyos
Oct 13 12:22:41 vyos vyos-configd[643]: commit_scripts: ['protocols_static']
Oct 13 12:22:41 vyos vyos-configd[643]: Received message: {"type": "node", "last": true, "data": "/usr/libexec/vyos/conf_mode/protocols_static.py"}
Oct 13 12:22:41 vyos vyos-configd[643]: Sending reply: SUCCESS with output
Oct 13 12:22:41 vyos vyos-configd[643]: scripts_called: ['protocols_static']
Oct 13 12:22:41 vyos systemd[1]: opt-vyatta-config-tmp-new_config_2467.mount: Deactivated successfully.
Oct 13 12:22:42 vyos zebra[1226]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos zebra[1226]: [G6NKK-8C6DV] end_config: VTY:0x562d5fd15b40, pending SET-CFG: 0
Oct 13 12:22:42 vyos ldpd[1267]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos ldpd[1267]: [G6NKK-8C6DV] end_config: VTY:0x556178347f10, pending SET-CFG: 0
Oct 13 12:22:42 vyos ripd[1240]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos ripngd[1243]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos ripngd[1243]: [G6NKK-8C6DV] end_config: VTY:0x559031363800, pending SET-CFG: 0
Oct 13 12:22:42 vyos ripd[1240]: [G6NKK-8C6DV] end_config: VTY:0x560192f43160, pending SET-CFG: 0
Oct 13 12:22:42 vyos bgpd[1233]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos bgpd[1233]: [G6NKK-8C6DV] end_config: VTY:0x564064482180, pending SET-CFG: 0
Oct 13 12:22:42 vyos mgmtd[1231]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos mgmtd[1231]: [G6NKK-8C6DV] end_config: VTY:0x562dbaae8c30, pending SET-CFG: 3
Oct 13 12:22:42 vyos isisd[1252]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos isisd[1252]: [G6NKK-8C6DV] end_config: VTY:0x563de2753030, pending SET-CFG: 0
Oct 13 12:22:42 vyos watchfrr[1205]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos nhrpd[1272]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos nhrpd[1272]: [G6NKK-8C6DV] end_config: VTY:0x55ac2419b0f0, pending SET-CFG: 0
Oct 13 12:22:42 vyos babeld[1255]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos babeld[1255]: [G6NKK-8C6DV] end_config: VTY:0x559fd4df09f0, pending SET-CFG: 0
Oct 13 12:22:42 vyos staticd[1276]: [PNYPZ-BCP8Y] Static Route using eth0 interface not installed because the interface does not exist in specified vrf
Oct 13 12:22:42 vyos staticd[1276]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos staticd[1276]: [G6NKK-8C6DV] end_config: VTY:0x562c9e8a5b50, pending SET-CFG: 0
Oct 13 12:22:42 vyos bfdd[1281]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos bfdd[1281]: [G6NKK-8C6DV] end_config: VTY:0x5556012d3300, pending SET-CFG: 0
Oct 13 12:22:42 vyos pim6d[1258]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos pim6d[1258]: [G6NKK-8C6DV] end_config: VTY:0x561f1d393ea0, pending SET-CFG: 0
Oct 13 12:22:42 vyos ospfd[1246]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos ospfd[1246]: [G6NKK-8C6DV] end_config: VTY:0x555d3a74de40, pending SET-CFG: 0
Oct 13 12:22:42 vyos fabricd[1284]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos fabricd[1284]: [G6NKK-8C6DV] end_config: VTY:0x55a2b906bd30, pending SET-CFG: 0
Oct 13 12:22:42 vyos ospf6d[1249]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos ospf6d[1249]: [G6NKK-8C6DV] end_config: VTY:0x55bd4b078590, pending SET-CFG: 0
Oct 13 12:22:42 vyos zebra[1226]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos zebra[1226]: [G6NKK-8C6DV] end_config: VTY:0x562d5fd15b40, pending SET-CFG: 0
Oct 13 12:22:42 vyos mgmtd[1231]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos mgmtd[1231]: [G6NKK-8C6DV] end_config: VTY:0x562dbaabeb90, pending SET-CFG: 2
Oct 13 12:22:42 vyos ripd[1240]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos ripd[1240]: [G6NKK-8C6DV] end_config: VTY:0x560192f43160, pending SET-CFG: 0
Oct 13 12:22:42 vyos ripngd[1243]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos ripngd[1243]: [G6NKK-8C6DV] end_config: VTY:0x559031363800, pending SET-CFG: 0
Oct 13 12:22:42 vyos ldpd[1267]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos ldpd[1267]: [G6NKK-8C6DV] end_config: VTY:0x556178347f10, pending SET-CFG: 0
Oct 13 12:22:42 vyos ospfd[1246]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos ospfd[1246]: [G6NKK-8C6DV] end_config: VTY:0x555d3a74dd80, pending SET-CFG: 0
Oct 13 12:22:42 vyos nhrpd[1272]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos nhrpd[1272]: [G6NKK-8C6DV] end_config: VTY:0x55ac2419b0f0, pending SET-CFG: 0
Oct 13 12:22:42 vyos bgpd[1233]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos bgpd[1233]: [G6NKK-8C6DV] end_config: VTY:0x564064482180, pending SET-CFG: 0
Oct 13 12:22:42 vyos ospf6d[1249]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos ospf6d[1249]: [G6NKK-8C6DV] end_config: VTY:0x55bd4b078590, pending SET-CFG: 0
Oct 13 12:22:42 vyos isisd[1252]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos isisd[1252]: [G6NKK-8C6DV] end_config: VTY:0x563de2753030, pending SET-CFG: 0
Oct 13 12:22:42 vyos staticd[1276]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos bfdd[1281]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos bfdd[1281]: [G6NKK-8C6DV] end_config: VTY:0x5556012d3300, pending SET-CFG: 0
Oct 13 12:22:42 vyos staticd[1276]: [G6NKK-8C6DV] end_config: VTY:0x562c9e8a5b50, pending SET-CFG: 0
Oct 13 12:22:42 vyos babeld[1255]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos babeld[1255]: [G6NKK-8C6DV] end_config: VTY:0x559fd4df0930, pending SET-CFG: 0
Oct 13 12:22:42 vyos watchfrr[1205]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos fabricd[1284]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos fabricd[1284]: [G6NKK-8C6DV] end_config: VTY:0x55a2b906bd30, pending SET-CFG: 0
Oct 13 12:22:42 vyos pim6d[1258]: [VTVCM-Y2NW3] Configuration Read in Took: 00:00:00
Oct 13 12:22:42 vyos pim6d[1258]: [G6NKK-8C6DV] end_config: VTY:0x561f1d393ea0, pending SET-CFG: 0
Oct 13 12:22:42 vyos watchfrr[1205]: [WFP93-1D146] configuration write completed with exit code 0
Oct 13 12:22:45 vyos commit[3207]: Successful change to active configuration by user vyos on /dev/ttyS0
Oct 13 12:26:54 vyos systemd[1]: opt-vyatta-config-tmp-new_config_2467.mount: Deactivated successfully.My original pull request was using the 'dhcpv6' keyword under system interface pppoe pppoeN ipv6 address namespace.
@c-po enhanced that by matching global interface configuration by assigning the keyword to system interface pppoe pppoeN address to be more inline with general VyOS configuration.
This unfortunately doesn't work.
Why is it in the new address node when there is ipv4 address and ipv6 address already? It should be in ipv6 address where the other ipv6 addressing options are too.
Also I get the following error when trying to set it:
script
script.apply(c)
File "/usr/libexec/vyos/conf_mode/interfaces_pppoe.py", line 132,
in apply
p.update(pppoe)
File "/usr/lib/python3/dist-packages/vyos/ifconfig/pppoe.py", lin
e 124, in update
super().update(config)
File "/usr/lib/python3/dist-packages/vyos/ifconfig/interface.py",
line 1831, in update
self.add_addr(addr, vrf_changed=vrf_changed)
File "/usr/lib/python3/dist-packages/vyos/ifconfig/interface.py",
line 1286, in add_addr
elif not is_intf_addr_assigned(self.ifname, addr, netns=netns):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/vyos/utils/network.py", line
454, in is_intf_addr_assigned
if ip_interface(addr) == interface or address == addr:
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/ipaddress.py", line 117, in ip_interfac
e
raise ValueError(f'{address!r} does not appear to be an IPv4 or
IPv6 interface')
ValueError: 'd' does not appear to be an IPv4 or IPv6 interfaceUnfortunately I am not aware of such plans currently.
I propose to add resource group, this way we can use not only groups for firewall but and logins
set resource group set resource local-users username user1 password user1 set resource radius server 192.0.2.1 key vyos-secret
As an idea, the CLI needs to be discussed.
Oct 12 2025
Oct 11 2025
Oct 10 2025
Please use: set interfaces pppoe pppoe0 address dhcpv6 to enable IA_NA
Dead thread, but this is what I do (on vyos 1.3):