Hello,
I have a scenario where a router (IXR, in this scenario) already have a connected route (/30) to some device. Sometimes, this router receives a more specifc route (/32) throught BGP, indicating that the packets should be forwarded to another device (let’s call it by “MSC”, mail spam checker) before going to its original destination.
Naturally it would cause a layer 3 loop, so I’ve created a VRF, where the original packet’s destination interface and the MSC’s interface, whom the packets will be diverted to, are contained.
The problem is that I cannot complete a communication between my tester Machine (at main table) and the “Some Device” (at other VRF).
Please, anyone could help?
Attachement:
1.png - Traceroute from tester machine to the “Some Device”
2.png - Traceroute from “Some Device” to tester machine.
3.png - The diagram of this topology
IXR configuration export:
_[admin@IXR] > export
nov/27/2017 19:39:53 by RouterOS 6.39.1
software id =
/interface ethernet
set [ find default-name=ether1 ] comment=MSC
set [ find default-name=ether2 ] comment=Vitima
set [ find default-name=ether3 ] comment=Detector
set [ find default-name=ether4 ] comment=Gerencia
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/routing bgp instance
set default redistribute-connected=yes redistribute-static=yes router-id=
1.1.1.1
/interface l2tp-server server
set caller-id-type=ip-address
/ip address
add address=10.0.1.1/30 interface=ether1 network=10.0.1.0
add address=10.0.0.1/30 interface=ether3 network=10.0.0.0
add address=10.0.2.1/30 interface=ether4 network=10.0.2.0
add address=10.0.4.1/30 interface=ether2 network=10.0.4.0
add address=10.0.5.1/30 interface=ether5 network=10.0.5.0
/ip dhcp-client
add disabled=no interface=ether1
/ip route
add distance=1 gateway=*8 routing-mark=CUSTOMER-VRF
/ip route vrf
add interfaces=ether2,ether5,*9 routing-mark=CUSTOMER-VRF
/routing bgp peer
add in-filter=IN name=Detector out-filter=OUT remote-address=10.0.0.2
remote-as=65530 ttl=default update-source=10.0.0.1
/routing filter
add action=accept chain=IN set-in-nexthop=10.0.1.2
add action=discard chain=OUT
/system identity
set name=IXR
/system logging
add topics=bgp
/tool romon
set enabled=yes_