Hi All, is there an option to auto-remove fib entries related to interface 
after performing an administrative shutdown to the interface?

Issue example:
while configuring static route in the linux kernel and then performing 
administrative down & up to the related interface the route was removed from 
the linux fib but still exist in the vpp fib.

linux#ifconfig vpp0 10.10.10.1/24 up
linux#ip route add 11.11.11.0/24 via 10.10.10.2
linux#route -n:
10.10.10.0      0.0.0.0         255.255.255.0   U     0      0        0 vpp0
11.11.11.0      10.10.10.2      255.255.255.0   UG    0      0        0 vpp0
vpp# show ip fib:
10.10.10.0/32
unicast-ip4-chain
[@0]: dpo-load-balance: [proto:ip4 index:60 buckets:1 uRPF:64 to:[0:0]]
[0] [@0]: dpo-drop ip4
10.10.10.0/24
unicast-ip4-chain
[@0]: dpo-load-balance: [proto:ip4 index:59 buckets:1 uRPF:81 to:[0:0]]
[0] [@4]: ipv4-glean: GigabitEthernet0/14/0: mtu:1790 
ffffffffffff0008a2095a9c0806
10.10.10.1/32
unicast-ip4-chain
[@0]: dpo-load-balance: [proto:ip4 index:62 buckets:1 uRPF:83 to:[0:0]]
[0] [@2]: dpo-receive: 10.10.10.1 on GigabitEthernet0/14/0
10.10.10.255/32
unicast-ip4-chain
[@0]: dpo-load-balance: [proto:ip4 index:61 buckets:1 uRPF:70 to:[0:0]]
[0] [@0]: dpo-drop ip4
11.11.11.0/24
unicast-ip4-chain
[@0]: dpo-load-balance: [proto:ip4 index:69 buckets:1 uRPF:66 to:[0:0]]
[0] [@3]: arp-ipv4: via 10.10.10.2 GigabitEthernet0/14/0

linux# ifconfig vpp0 down

linux# ifconfig vpp0 up

linux#route -n:
10.10.10.0      0.0.0.0         255.255.255.0   U     0      0        0 vpp0

vpp# show ip fib:
10.10.10.0/32
unicast-ip4-chain
[@0]: dpo-load-balance: [proto:ip4 index:60 buckets:1 uRPF:67 to:[0:0]]
[0] [@0]: dpo-drop ip4
10.10.10.0/24
unicast-ip4-chain
[@0]: dpo-load-balance: [proto:ip4 index:59 buckets:1 uRPF:64 to:[0:0]]
[0] [@4]: ipv4-glean: GigabitEthernet0/14/0: mtu:1790 
ffffffffffff0008a2095a9c0806
10.10.10.1/32
unicast-ip4-chain
[@0]: dpo-load-balance: [proto:ip4 index:62 buckets:1 uRPF:83 to:[0:0]]
[0] [@2]: dpo-receive: 10.10.10.1 on GigabitEthernet0/14/0
10.10.10.255/32
unicast-ip4-chain
[@0]: dpo-load-balance: [proto:ip4 index:61 buckets:1 uRPF:120 to:[0:0]]
[0] [@0]: dpo-drop ip4
11.11.11.0/24
unicast-ip4-chain
[@0]: dpo-load-balance: [proto:ip4 index:69 buckets:1 uRPF:65 to:[0:0]]
[0] [@3]: arp-ipv4: via 10.10.10.2 GigabitEthernet0/14/0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#14131): https://lists.fd.io/g/vpp-dev/message/14131
Mute This Topic: https://lists.fd.io/mt/34426457/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to