When you delete an IP address from a vif ethernet interface it gets removed from the configuration but not from the tcp/ip stack.
Steps to reproduce:
- Boot a live image of VyOS 1.3 EPA3
- Enter configuration mode: configure
- create a vif with an ip adress under the default interface eth0: set interface ethernet eth0 vif 3000 address 192.168.1.100/24
- commit the config change: commit
- display current interfaces:
[email protected]# run show interfaces Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down Interface IP Address S/L Description --------- ---------- --- ----------- eth0.3000 192.168.1.100/24 u/u lo 127.0.0.1/8 u/u
- Remove address from interface: delete interface ethernet eth0 vif 3000 address
- commit the config change: commit
- display current interfaces:
[email protected]# run show interfaces Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down Interface IP Address S/L Description --------- ---------- --- ----------- eth0.3000 192.168.1.100/24 u/u lo 127.0.0.1/8 u/u
You have to manually remove the address via sudo ip addr del 192.168.1.100/24 dev eth0.3000