You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unable to perform BGP route leaking between VRFs on SoNIC switches SW7 and SW8 as expected. The route leaking functionality works on other platforms (e.g., Ubuntu), but it fails on the SoNIC environment.
SONiC A (SW8):
VRF1111:
Bound to VLAN1111 (IP Address: 10.10.11.1).
VM (VM-B) is directly connected to VLAN1111:
IP Address: 10.10.11.10
Default GW: 10.10.11.1 (GW of VLAN1111)
VLAN1300:
IP Address: 10.10.2.3
Not bound to any VRF so it is Default VRF
Default VRF:
Requires route leaking with VRF1111.
Requires route leaking with the default VRF of SW7.
SONiC B (SW7):
VRF2000:
Bound to VLAN2000.
VM (VM-B) is directly connected to VLAN2000:
IP Address: 10.10.4.10
Default GW: 10.10.4.1 (GW of VLAN2000)
VLAN1300:
IP Address: 10.10.2.2
Not bound to any VRF so it is Default VRF
Default VRF:
Requires route leaking with VRF2000.
Requires route leaking with the default VRF of SW8.
sonic8# show ip route vrf all
VRF Vrf1111:
B>* 10.1.0.1/32 [20/0] is directly connected, Loopback0 (vrf default), weight 1, 01:24:27
B>* 10.10.0.0/24 [20/0] is directly connected, eth0 (vrf default), weight 1, 01:24:27
B>* 10.10.2.0/24 [20/0] is directly connected, Vlan1300 (vrf default), weight 1, 01:18:54
B>* 10.10.4.0/24 [20/0] via 10.10.2.2, Vlan1300 (vrf default), weight 1, 00:23:28
C>* 10.10.11.0/24 is directly connected, Vlan1111, 01:27:09
B>* 172.0.1.0/24 [20/0] is directly connected, Vlan2100 (vrf default), weight 1, 01:24:27
VRF default:
C>* 10.1.0.1/32 is directly connected, Loopback0, 01:27:27
C>* 10.10.0.0/24 is directly connected, eth0, 01:27:31
C>* 10.10.2.0/24 is directly connected, Vlan1300, 01:18:54
B>* 10.10.4.0/24 [20/0] via 10.10.2.2, Vlan1300, weight 1, 00:23:28
B>* 10.10.11.0/24 [20/0] is directly connected, Vrf1111 (vrf Vrf1111), weight 1,
BGP summary SW8:
sonic8# show ip bgp summary
IPv4 Unicast Summary:
BGP router identifier 1.1.1.0, local AS number 65001 VRF default vrf-id 0
BGP table version 12
RIB entries 11, using 1408 bytes of memory
Peers 1, using 20 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.10.2.2 4 65002 10 10 12 0 0 00:01:25 4 6 N/A
Total number of neighbors 1
BGP advertise route SW8:
sonic8# show ip bgp neighbors 10.10.2.2 advertised-routes
BGP table version is 12, local router ID is 1.1.1.0, vrf id 0
Default local pref 100, local AS 65001
Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.0.1/32 0.0.0.0 0 32768 ?
*> 10.10.0.0/24 0.0.0.0 0 32768 ?
*> 10.10.2.0/24 0.0.0.0 0 32768 ?
*> 10.10.4.0/24 0.0.0.0 0 65002 ?
*> 10.10.11.0/24 0.0.0.0 0 32768 ?
*> 172.0.1.0/24 0.0.0.0 0 32768 ?
Total number of prefixes 6
BGP receive route SW8:
sonic8# show ip bgp neighbors 10.10.2.2 received-routes
BGP table version is 12, local router ID is 1.1.1.0, vrf id 0
Default local pref 100, local AS 65001
Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.0.1/32 10.10.2.2 0 0 65002 ?
*> 10.10.0.0/24 10.10.2.2 0 0 65002 ?
*> 10.10.2.0/24 10.10.2.2 0 0 65002 ?
*> 10.10.4.0/24 10.10.2.2 0 0 65002 ?
*> 10.10.11.0/24 10.10.2.2 0 65002 65001 ?
*> 172.0.1.0/24 10.10.2.2 0 65002 65001 ?
Total number of prefixes 6
sonic7# show ip route vrf all
VRF Vrf2000:
B>* 10.1.0.1/32 [20/0] is directly connected, Loopback0 (vrf default), weight 1, 00:26:20
B>* 10.10.0.0/24 [20/0] is directly connected, eth0 (vrf default), weight 1, 00:26:20
B>* 10.10.2.0/24 [20/0] is directly connected, Vlan1300 (vrf default), weight 1, 00:26:10
C>* 10.10.4.0/24 is directly connected, Vlan2000, 00:26:10
B>* 10.10.11.0/24 [20/0] via 10.10.2.3, Vlan1300 (vrf default), weight 1, 00:26:00
B>* 172.0.1.0/24 [20/0] via 10.10.2.3, Vlan1300 (vrf default), weight 1, 00:26:00
VRF default:
C>* 10.1.0.1/32 is directly connected, Loopback0, 00:26:25
C>* 10.10.0.0/24 is directly connected, eth0, 00:26:29
C>* 10.10.2.0/24 is directly connected, Vlan1300, 00:26:10
B>* 10.10.4.0/24 [20/0] is directly connected, Vrf2000 (vrf Vrf2000), weight 1, 00:26:10
B>* 10.10.11.0/24 [20/0] via 10.10.2.3, Vlan1300, weight 1, 00:26:00
B>* 172.0.1.0/24 [20/0] via 10.10.2.3, Vlan1300, weight 1, 00:26:00
BGP summary SW7:
sonic7# show ip bgp summary
IPv4 Unicast Summary:
BGP router identifier 2.2.2.0, local AS number 65002 VRF default vrf-id 0
BGP table version 10
RIB entries 11, using 1408 bytes of memory
Peers 1, using 20 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.10.2.3 4 65001 12 12 10 0 0 00:03:06 5 6 N/A
Total number of neighbors 1
BGP advertise route SW7:
sonic7# show ip bgp neighbors 10.10.2.3 advertised-routes
BGP table version is 10, local router ID is 2.2.2.0, vrf id 0
Default local pref 100, local AS 65002
Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.0.1/32 0.0.0.0 0 32768 ?
*> 10.10.0.0/24 0.0.0.0 0 32768 ?
*> 10.10.2.0/24 0.0.0.0 0 32768 ?
*> 10.10.4.0/24 0.0.0.0 0 32768 ?
*> 10.10.11.0/24 0.0.0.0 0 65001 ?
*> 172.0.1.0/24 0.0.0.0 0 65001 ?
Total number of prefixes 6
BGP receive route SW7:
sonic7# show ip bgp neighbors 10.10.2.3 received-routes
BGP table version is 10, local router ID is 2.2.2.0, vrf id 0
Default local pref 100, local AS 65002
Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 10.1.0.1/32 10.10.2.3 0 0 65001 ?
*> 10.10.0.0/24 10.10.2.3 0 0 65001 ?
*> 10.10.2.0/24 10.10.2.3 0 0 65001 ?
*> 10.10.4.0/24 10.10.2.3 0 65001 65002 ?
*> 10.10.11.0/24 10.10.2.3 0 0 65001 ?
*> 172.0.1.0/24 10.10.2.3 0 0 65001 ?
Total number of prefixes 6
Expected Behaviour:
VM-A, connected to VRF1111 on SW8, can successfully ping VM-B, which is connected to VRF2000 on SW7.
Actual Behaviour:
VM-A cannot ping to VM-B
admin@VM_A:~$ ping 10.10.4.10
PING 10.10.4.10 (10.10.4.10) 56(84) bytes of data.
Unable to perform BGP route leaking between VRFs on SoNIC switches SW7 and SW8 as expected. The route leaking functionality works on other platforms (e.g., Ubuntu), but it fails on the SoNIC environment.
SONiC A (SW8):
SONiC B (SW7):
FRR config SW8:
Route SW8:
BGP summary SW8:
BGP advertise route SW8:
BGP receive route SW8:
FRR config SW7:
Route SW7:
BGP summary SW7:
BGP advertise route SW7:
BGP receive route SW7:
Expected Behaviour:
VM-A, connected to VRF1111 on SW8, can successfully ping VM-B, which is connected to VRF2000 on SW7.
Actual Behaviour:
VM-A cannot ping to VM-B
Versions
The text was updated successfully, but these errors were encountered: