If the VPP ethernet interface contains multiple IP addresses and VPP crashes, the defunct interface will retain all IP addresses except the first.
How to reproduce
Example:
Configuration:
set interfaces ethernet eth0 address '10.120.0.1/16' set interfaces ethernet eth0 address '172.17.85.1/24' set interfaces ethernet eth0 address '172.17.86.1/24' set protocols bgp listen limit '5000' set protocols bgp listen range 10.120.0.0/16 peer-group 'TEST' set protocols bgp parameters router-id '1.1.1.1' set protocols bgp peer-group TEST address-family ipv4-unicast soft-reconfiguration inbound set protocols bgp peer-group TEST remote-as 'external' set protocols bgp peer-group TEST update-source '10.120.0.1' set protocols bgp system-as '65001' set vpp settings interface eth0 num-rx-desc '8192' set vpp settings interface eth0 num-rx-queues '16' set vpp settings interface eth0 num-tx-desc '8192' set vpp settings interface eth0 num-tx-queues '16' set vpp settings resource-allocation cpu-cores '16' set vpp settings resource-allocation memory main-heap-page-size '2M' set vpp settings resource-allocation memory main-heap-size '16G' set vpp settings resource-allocation memory stats size '128M'
Connect a peer to this router via BGP and advertise the fullview or 1 million routes.
Vpp crashes because not enough memory for FIB.
After the crash, we see:
31: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UNKNOWN group default qlen 1000
link/ether e0:9d:73:bc:92:04 brd ff:ff:ff:ff:ff:ff
inet 10.120.0.1/16 brd 10.120.255.255 scope global eth0
valid_lft forever preferred_lft forever
inet 172.17.85.1/24 brd 172.17.85.255 scope global eth0
valid_lft forever preferred_lft forever
inet 172.17.86.1/24 brd 172.17.86.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::e29d:73ff:febc:9204/64 scope link
valid_lft forever preferred_lft forever
29: defunct_eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1496 qdisc mq state UP group default qlen 1000
link/ether e0:9d:73:bc:92:04 brd ff:ff:ff:ff:ff:ff
altname eno12399np0
altname enp195s0f0np0
inet 172.17.85.1/24 brd 172.17.85.255 scope global defunct_eth0:2
valid_lft forever preferred_lft forever
inet 172.17.86.1/24 brd 172.17.86.255 scope global defunct_eth0:3
valid_lft forever preferred_lft forever