route-map RM_SET_SRC permit 10
set src 10.0.0.1
exit
!
ip protocol bgp route-map RM_SET_SRC
that source ip also gets set on the interface to the ISP peer , which breaks connectivity to the Upstream
SoNiC-02-PROD# show ip route
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
B 0.0.0.0/0 [20/0] via 123.234.66.154, Ethernet1 inactive, weight 1, 00:53:36
B 10.0.0.1/32 [200/0] via fe80::9a19:2cff:fe3f:8f58, Vlan3 inactive, weight 1, 00:53:17
C>* 10.0.0.2/32 is directly connected, Loopback0, 00:54:10
C>* 123.234.66.152/30 is directly connected, Ethernet1, 00:53:37
C>* 192.168.255.0/24 is directly connected, Vlan2, 00:53:17
this yields a default routing table:
default via 123.234.66.154 dev Ethernet1 proto bgp src 10.0.0.2 metric 20
10.0.0.1 via 169.254.0.1 dev Vlan3 proto bgp src 10.0.0.2 metric 20 onlink
123.234.66.152/30 dev Ethernet1 proto kernel scope link src 188.64.78.153
192.168.255.0/24 dev Vlan2 proto kernel scope link src 192.168.255.2
240.127.1.0/24 dev docker0 proto kernel scope link src 240.127.1.1 linkdown
Steps to reproduce the issue:
setup a bgp peering with a remote AS as default gateway
Description
When following a SAG setup from EdgeCore, https://support.edge-core.com/hc/en-us/articles/6840823990169--Edgecore-SONiC-SAG-static-anycast-gateway- , the procedure installs a route-map
that source ip also gets set on the interface to the ISP peer , which breaks connectivity to the Upstream
this yields a default routing table:
Steps to reproduce the issue:
Describe the results you expected:
Don't change my uplink source address maybe ? ;-)
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):