ISP==eBP===R1==ibgp==R2==ibgp==R3==ebgp==CPE
In this implementation i'm expecting R3 to learn default route from R1 via BGP signaling.
i'm providing export of R1 and R3
R2 has the same config with MPLS=ticked and vpn4=ticked
On v6 this is working perfectly fine , unlike v7. Can anyone assist plus?
happy to provide more details if need be
Code: Select all
[admin@R1] > interface/list/export
#RouterOS 7.9
/interface list
add name=list-vrf_cpe-pub
[admin@R1] > routing/bgp/export
# may/25/2023 04:48:34 by RouterOS 7.9
/routing bgp template
add address-families=ip,vpnv4 as=65000 disabled=no name=AS65000 router-id=10.0.88.10 routing-table=main
/routing bgp connection
add address-families=ip as=65000 connect=yes disabled=no listen=yes local.role=ebgp name=bgp-ISP output.network=eBGP remote.address=180.22.11.1/32 .as=1011 router-id=180.22.11.2 \
routing-table=main templates=AS65000
add address-families=ip,vpnv4 as=65000 connect=yes disabled=no listen=yes local.address=10.0.88.10 .role=ibgp name=bgp-R3 output.default-originate=always remote.address=10.0.88.3/32 .as=65000 \
router-id=10.0.88.10 routing-table=main templates=AS65000
/routing bgp vpn
add disabled=no export.redistribute=connected,static,bgp .route-targets=150:150 import.route-targets=150:150 label-allocation-policy=per-vrf name=bgp-mpls-vpn-1 route-distinguisher=150:150 \
vrf=vrf-cpe-pub
[admin@R1] > ip route/print detail where dst-address=0.0.0.0/0
Flags: D - dynamic; X - disabled, I - inactive, A - active; c - connect, s - static, r - rip, b - bgp, o - ospf, d - dhcp, v - vpn, m - modem, y - bgp-mpls-vpn; H - hw-offloaded; + - ecmp
DAb dst-address=0.0.0.0/0 routing-table=main gateway=180.22.11.1 immediate-gw=180.22.11.1%ether1 distance=20 scope=40 target-scope=10 suppress-hw-offload=no
1 As dst-address=0.0.0.0/0 routing-table=vrf-cpe-pub pref-src="" gateway=180.22.11.1 immediate-gw=180.22.11.1%ether1 distance=1 scope=30 target-scope=10 suppress-hw-offload=no
Code: Select all
[admin@R3] > routing/bgp/export
# may/25/2023 04:49:35 by RouterOS 7.9
# software id =
#
/routing bgp template
add address-families=ip,l2vpn as=65000 disabled=no name=AS65000 router-id=10.0.88.3
add address-families=ip as=65000 disabled=no name=cpe_public router-id=103.220.80.21 routing-table=vrf-CPE-Public vrf=vrf-CPE-Public
/routing bgp connection
add address-families=ip,vpnv4 as=65000 connect=yes disabled=no listen=yes local.address=10.0.88.3 .role=ibgp name=bgp-R1 nexthop-choice=default remote.address=10.0.88.10/32 .as=65000 \
router-id=10.0.88.3 routing-table=main templates=AS65000
add address-families=ip as=65000 connect=yes disabled=no listen=yes local.role=ebgp name=bgp-CPE_pub output.default-originate=always remote.address=103.220.80.22/32 .as=100 router-id=\
103.220.80.21 routing-table=vrf-CPE-Public templates=cpe_public vrf=vrf-CPE-Public
/routing bgp vpn
add disabled=no export.route-targets=150:150 import.route-targets=150:150 label-allocation-policy=per-vrf name=bgp-mpls-vpn-1 route-distinguisher=150:150 vrf=vrf-CPE-Public
[admin@R3] > /ip/route/print where dst-address=0.0.0.0/0
Flags: D - DYNAMIC; A - ACTIVE; b, y - BGP-MPLS-VPN
Columns: DST-ADDRESS, GATEWAY, DISTANCE
DST-ADDRESS GATEWAY DISTANCE
DAb 0.0.0.0/0 10.0.88.10 200