Community discussions

MikroTik App
 
lctn
Member Candidate
Member Candidate
Topic Author
Posts: 176
Joined: Tue Apr 04, 2006 3:51 pm

VRF/BGP conversion from 6.4.9 to 7.1.1

Tue Jan 11, 2022 12:09 am

We recently purchased a number of Mikrotik CCR-1036-8G-2S Cloud
Routers to be used for VxLAN and VRF configurations. I need to run both VxLAN and VRF on the same unit and needed to upgrade from 6.4.9 to 7.1.1 in order to do that. VxLAN tunnels are working great. However, with the upgrade, VRF is broken and I have spent the day trying to figure out how to recreate my config. Terms used and locations have changed for vrf, mpls, and bgp. And some features are not visible via the GUI. I am looking for advice on how I can convert what I have in my attached config to work in a 7.1.1 environment. Rolling back is not an option because of the need for both features on the same box.

Working 6.4.9 VRF config
# jan/26/1970 17:32:11 by RouterOS 6.49
# software id = 2B9N-DCEW
#
# model = 750

/interface bridge
add name=lobridge
add name=vbridge protocol-mode=none vlan-filtering=yes
/interface vlan
add interface=ether3 name=Vlan1101 vlan-id=1101
add interface=ether3 name=vlan1100 vlan-id=1100
add interface=ether3 name=vlan1102 vlan-id=1102
add interface=ether3 name=vlan1103 vlan-id=1103
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/routing bgp instance
set default as=65000
/interface bridge port
add bridge=vbridge interface=ether3 multicast-router=disabled
/ip neighbor discovery-settings
set discover-interface-list=!dynamic
/interface bridge vlan
add bridge=vbridge tagged=ether3 vlan-ids=1100
add bridge=vbridge tagged=ether3 vlan-ids=1101
add bridge=vbridge tagged=ether3 vlan-ids=1102
add bridge=vbridge tagged=ether3 vlan-ids=1103
/ip address
add address=10.2.2.2/24 interface=ether4 network=10.2.2.0
add address=10.5.5.2 interface=lobridge network=10.5.5.2
add address=10.110.0.2/24 interface=vlan1100 network=10.110.0.0
add address=10.111.0.2/24 interface=Vlan1101 network=10.111.0.0
add address=10.112.0.2/24 interface=vlan1102 network=10.112.0.0
add address=10.113.0.1/24 interface=vlan1103 network=10.113.0.0
/ip route
add distance=1 gateway=10.110.0.1 routing-mark=V71
add distance=1 gateway=10.111.0.1 routing-mark=V72
add distance=1 gateway=10.112.0.1 routing-mark=V73
add distance=1 dst-address=10.5.5.3/32 gateway=10.2.2.3
add distance=1 dst-address=10.5.5.4/32 gateway=10.2.2.4
/ip route vrf
add export-route-targets=1.1.1.1:111 import-route-targets=1.1.1.1:111 \
    interfaces=vlan1100 route-distinguisher=1.1.1.1:111 routing-mark=V71
add export-route-targets=2.2.2.2:222 import-route-targets=2.2.2.2:222 \
    interfaces=Vlan1101 route-distinguisher=2.2.2.2:222 routing-mark=V72
add export-route-targets=3.3.3.3:333 import-route-targets=3.3.3.3:333 \
    interfaces=vlan1102 route-distinguisher=3.3.3.3:333 routing-mark=V73
add export-route-targets=4.4.4.4:444 import-route-targets=4.4.4.4:444 \
    interfaces=vlan1103 route-distinguisher=4.4.4.4:444 routing-mark=V74
/mpls ldp
set enabled=yes transport-address=10.5.5.2
/mpls ldp interface
add interface=ether2
/mpls local-bindings
add dst-address=10.5.5.4/32 label=impl-null
/routing bgp instance vrf
add redistribute-connected=yes routing-mark=V71
add redistribute-connected=yes routing-mark=V72
add redistribute-connected=yes routing-mark=V73
add redistribute-connected=yes routing-mark=V74
/routing bgp peer
add address-families=vpnv4 name=peer1 remote-address=10.5.5.3 remote-as=65000 \
    update-source=lobridge
add address-families=vpnv4 name=peer2 remote-address=10.5.5.4 remote-as=65000 \
    update-source=lobridge
Last edited by lctn on Tue Apr 26, 2022 7:50 pm, edited 1 time in total.
 
User avatar
clambert
Member Candidate
Member Candidate
Posts: 120
Joined: Wed Jun 12, 2019 5:04 am

Re: VRF/BGP conversion from 6.4.9 to 7.1.1

Tue Jan 11, 2022 4:41 pm

From the tests I have been able to perform on ROS 7.1, MPLS L3VPN does not work. The routes are not propagated.

Who is online

Users browsing this forum: Guntis, Happyrob, mogiretony, phascogale and 81 guests