Initiallly reported via: https://forum.vyos.io/t/add-ipv6-address-fails-on-commit/6770
cpo@LR1.wue3# set interfaces ethernet eth0 ipv6 address eui64 2006:ab00:abe1::2/127
[edit]
cpo@LR1.wue3# commit
[ interfaces ethernet eth0 ]
VyOS had an issue completing a command.
We are sorry that you encountered a problem while using VyOS.
There are a few things you can do to help us (and yourself):
- Make sure you are running the latest stable version of VyOS
the code is available at https://downloads.vyos.io/?dir=release/current
- Contact us using the online help desk
https://support.vyos.io/
- Join our community on slack where our users exchange help and advice
https://vyos.slack.com
When reporting problems, please include as much information as possible:
- do not obfuscate any data (feel free to contact us privately if your
business policy requires it)
- and include all the information presented below
Report Time: 2021-03-16 21:50:30
Image Version: VyOS 1.4-vrf-202103141559
Release Train: sagitta
Built by: christian@poessinger.com
Built on: Sun 14 Mar 2021 15:59 UTC
Build UUID: 63c7a3e8-be9d-4dee-b66f-d3b8cc8787c8
Build Commit ID: 52008c095db540
Architecture: x86_64
Boot via: installed image
System type: VMware guest
Hardware vendor: VMware, Inc.
Hardware model: VMware Virtual Platform
Hardware S/N: VMware-42 3f 67 73 77 df c4 80-42 c9 42 af ff 15 de 0b
Hardware UUID: 73673f42-df77-80c4-42c9-42afff15de0b
Traceback (most recent call last):
File "/usr/libexec/vyos/conf_mode/interfaces-ethernet.py", line 157, in <module>
apply(c)
File "/usr/libexec/vyos/conf_mode/interfaces-ethernet.py", line 146, in apply
e.update(ethernet)
File "/usr/lib/python3/dist-packages/vyos/ifconfig/ethernet.py", line 355, in update
super().update(config)
File "/usr/lib/python3/dist-packages/vyos/ifconfig/interface.py", line 1232, in update
self.add_ipv6_eui64_address(addr)
File "/usr/lib/python3/dist-packages/vyos/ifconfig/interface.py", line 550, in add_ipv6_eui64_address
self.add_addr(f'{eui64}/{prefixlen}')
File "/usr/lib/python3/dist-packages/vyos/ifconfig/interface.py", line 808, in add_addr
elif not is_intf_addr_assigned(self.ifname, addr):
File "/usr/lib/python3/dist-packages/vyos/validate.py", line 49, in is_intf_addr_assigned
return _is_intf_addr_assigned(intf, ip, mask)
File "/usr/lib/python3/dist-packages/vyos/validate.py", line 84, in _is_intf_addr_assigned
if not _are_same_ip(address, ip_addr):
File "/usr/lib/python3/dist-packages/vyos/validate.py", line 44, in _are_same_ip
return inet_pton(f_one, one) == inet_pton(f_one, two)
OSError: illegal IP address string passed to inet_pton
noteworthy:
cmd 'ethtool -K eth0 ufo off'
returned (out):
returned (err):
Cannot change udp-fragmentation-offload
[[interfaces ethernet eth0]] failed
Commit failed