Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 15394

Forwarding Protocols • Re: ROS6 MPLS L3VPN Lab - Multihop Required between PE-CE [SOLVED]

$
0
0
Posting an update on this lab since I finally got it to work!

Key Takeaways:
I did not need to configure the "BGP-VRF" on the "CE", just the vrf-instance for vrf-marked traffic and the default-instance for "internet" or all non vrf-marked traffic. The "PE" router on the other hand, has both "vrf-green" and default instances along with the bgp-vrf configured. Lastly, I am relying on the "Redistributed Connected" routes instead of advertising vrf-marked and non-vrf routes separately with the appropriate filters in place.

PE03:
[atetu@mpls-lab-pe03] > routing bgp export
# model = CCR2004-1G-12S+2XS
# serial number = D4F10DC99677
/routing bgp instance
set default as=65088 client-to-client-reflection=no router-id=100.64.88.5
add as=65088 client-to-client-reflection=no name=VRF-Green router-id=10.88.123.1 routing-table=vrf-green
/routing bgp instance vrf
add redistribute-connected=yes redistribute-other-bgp=yes routing-mark=vrf-green
/routing bgp peer
add hold-time=1m30s keepalive-time=30s name=iBGP-CORE remote-address=10.88.255.10 remote-as=65088 update-source=loop88-bridge
add address-families=ip,vpnv4 hold-time=1m30s keepalive-time=30s name=iBGP-PE01 remote-address=10.88.255.1 remote-as=65088 update-source=loop88-bridge
add address-families=ip,vpnv4 hold-time=1m30s keepalive-time=30s name=iBGP-PE02 remote-address=10.88.255.2 remote-as=65088 update-source=loop88-bridge
add hold-time=1m30s instance=VRF-Green keepalive-time=30s name=eBGP-CE03-Green remote-address=10.88.123.2 remote-as=65388
add default-originate=always hold-time=1m30s keepalive-time=30s name=eBGP-CE03-DIA remote-address=100.64.88.6 remote-as=65388

CE03:
[atetu@mpls-lab-ce03] > routing bgp export
# model = RBD53iG-5HacD2HnD
# serial number = D96C0C9F8B01
/routing bgp instance
set default as=65388 client-to-client-reflection=no redistribute-connected=yes router-id=100.64.88.6
add as=65388 client-to-client-reflection=no name=VRF-Green redistribute-connected=yes router-id=10.88.123.2 routing-table=vrf-green
/routing bgp network
add disabled=yes network=100.64.88.6/32 synchronize=no
add disabled=yes network=100.64.88.32/28 synchronize=no
add disabled=yes network=10.88.103.1/32 synchronize=no
add disabled=yes network=10.88.103.2/32 synchronize=no
add disabled=yes network=10.88.103.3/32 synchronize=no
add disabled=yes network=10.88.103.4/32 synchronize=no
add disabled=yes network=10.88.103.5/32 synchronize=no
/routing bgp peer
add hold-time=1m30s instance=VRF-Green keepalive-time=30s name=eBGP-PE03-Green remote-address=10.88.123.1 remote-as=65088
add hold-time=1m30s in-filter=ebgp-pe03-accept keepalive-time=30s name=eBGP-PE03-DIA out-filter=ebgp-pe03-announce remote-address=100.64.88.5 remote-as=65088

[atetu@mpls-lab-pe03] > ip route print where received-from=eBGP-CE03-Green
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 ADb 10.88.103.1/32 10.88.123.2 20
1 ADb 10.88.103.2/32 10.88.123.2 20
2 ADb 10.88.103.3/32 10.88.123.2 20
3 ADb 10.88.103.4/32 10.88.123.2 20
4 ADb 10.88.103.5/32 10.88.123.2 20
5 Db 10.88.123.0/30 10.88.123.2 20
[atetu@mpls-lab-pe03] >
[atetu@mpls-lab-pe03] > ip route print where received-from=eBGP-CE03-DIA
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 Db 100.64.88.4/30 100.64.88.6 20
1 ADb 100.64.88.32/28 100.64.88.6 20
2 ADb 100.64.88.41/32 100.64.88.6 20
3 ADb 100.64.88.42/32 100.64.88.6 20
4 ADb 100.64.88.43/32 100.64.88.6 20
5 ADb 100.64.88.44/32 100.64.88.6 20
6 ADb 100.64.88.45/32 100.64.88.6 20
7 Db 192.168.99.0/24 100.64.88.6 20

Statistics: Posted by AdrianT88 — Wed Feb 07, 2024 11:36 pm



Viewing all articles
Browse latest Browse all 15394

Trending Articles