Hi,
I am running FreeBSD 13.0 with OpenBGPD software 5.2.20121209_4.
I am facing issue with static/connected route redistribution into BGP.
Here is the scenario:
FreeBSD firewall cluster is learning route from BGP peers from global routing table where route is learning from other site.
I am adding same route locally in Firewalls to advertise it locally, but BGP is not installing this static route in route table, although static routes should be prefered over BGP due to low AD value. bgpctl reload did not help too. But as soon as I restart the BGPD process(server openbgpd restart), static route works as expected.
In general, I want to announce same network/IP from multiple location to load balance the traffic towards nearest location.
Here is some of the statistics from the route table:
But if we check with netstat command, static route is visible there with lower preference:
I would like to know if this is expected behaviour in FreeBSD openbgpd or is there any bug in it. Btw, the same routing behavour works fine in OpenBSD openbgpd since almost 10 years without any issues.
Any help would be much appreciated.
Thanks
Janak
I am running FreeBSD 13.0 with OpenBGPD software 5.2.20121209_4.
I am facing issue with static/connected route redistribution into BGP.
Here is the scenario:
FreeBSD firewall cluster is learning route from BGP peers from global routing table where route is learning from other site.
I am adding same route locally in Firewalls to advertise it locally, but BGP is not installing this static route in route table, although static routes should be prefered over BGP due to low AD value. bgpctl reload did not help too. But as soon as I restart the BGPD process(server openbgpd restart), static route works as expected.
In general, I want to announce same network/IP from multiple location to load balance the traffic towards nearest location.
Here is some of the statistics from the route table:
Code:
bgpctl show rib detail x.x.x.x
BGP routing table entry for x.x.x.x/32
65003 65220
Nexthop x.x.x.x (via y.y.y.y) from xxxx (y.y.y.y)
Origin incomplete, metric 100, localpref 100, weight 0, internal, valid, best
Last update: 00:48:59 ago
Originator Id: y.y.y.y.y
Cluster ID List: y.y.y.y
Code:
netstat -rn | grep x.x.x.x
x.x.x.x y.y.y.y UGH1 vlan133 <<<<<<<<<<<<<<< This route is being learn from BGP upstream peers
x.x.x.x z.z.z.z UGHS vlan133 <<<<<<<<<<<<<<< This route is static added locally in firewalls.
Any help would be much appreciated.
Thanks
Janak