Hi Matej, Good questions, some answers, or opinions, inline.
➢ I’m trying put Loopback interface to DOWN state with set admin_up_down=0 in sw_interface_set_flags api. The interface has IPv4 address configured with /32 prefix. ➢ Should the interface’s address be in FIB when the admin_up_down flag is set to 0? Yes. The golden rule of FIB programming – do as you’re told and no more. The route will stay in the FIB until the control plane chooses to remove them – and this is the same control plane that has chosen to admin down the interface. ➢ Should VPP respond to ICMP echo requests to interface’s IP when the admin_up_down flag is set to 0? Yes. Since the route is still in the FIB we’ll still match traffic. If the echo request does not come in on, nor go out of, the interface that is now down (and for a loopback this is always the case) then VPP will respond. Regards, neale >Thanks, > Matej _______________________________________________ vpp-dev mailing list [email protected] https://lists.fd.io/mailman/listinfo/vpp-dev
