Hello I am trying to understand the behavior of BGPD. My setup is as below I'm trying to understand when BGPD will withdraw a route of a local interface.
/etc/hostname.vether0 inet 192.0.2.1 255.255.255.255 /etc/bgpd.conf myas="65003" AS $myas router-id 1.0.0.1 network inet connected fib-update yes log updates group "tests" { remote-as 65001 local-address 192.168.1.111 neighbor 192.168.1.114 } allow from any allow to any When vether0 is in an UP state I look at the rib and see what I expect. The IP of vether0 is in the rib. router1# bgpctl show rib claustrum# bgpctl show rib flags: * = Valid, > = Selected, I = via IBGP, A = Announced, S = Stale, E = Error origin validation state: N = not-found, V = valid, ! = invalid origin: i = IGP, e = EGP, ? = Incomplete flags ovs destination gateway lpref med aspath origin AI*> N 192.0.2.1/32 0.0.0.0 100 0 i AI*> N 192.168.1.0/24 0.0.0.0 100 0 i * N 192.168.1.0/24 192.168.1.114 100 0 65001 i When I down the vether0 interface with 'ifconfig vether0 down' I would expect that the route is either removed or at least become invalid and the announce is withdrawn. But when I check the rib 'A' and '*' flags are still set. router1# bgpctl show rib flags: * = Valid, > = Selected, I = via IBGP, A = Announced, S = Stale, E = Error origin validation state: N = not-found, V = valid, ! = invalid origin: i = IGP, e = EGP, ? = Incomplete flags ovs destination gateway lpref med aspath origin AI*> N 192.0.2.1/32 0.0.0.0 100 0 i AI*> N 192.168.1.0/24 0.0.0.0 100 0 i * N 192.168.1.0/24 192.168.1.114 100 0 65001 i The rib is unchanged. Is this expected behavior? Thank you in advance