Code: Select all
[admin@MikroTik] > ip route print
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 A S 0.0.0.0/0 10.10.1.1 1
1 ADC 10.10.1.0/24 10.10.1.2 ether5 0
2 ADC 10.200.1.0/30 10.200.1.1 ether1 0
3 ADC 10.250.15.1/32 10.250.15.1 loopback0 0
4 A S 10.250.15.2/32 10.200.1.2 1
5 ADb 192.168.128.0/22 10.250.15.2 20
6 A S 192.168.132.0/22 Null0 1
Code: Select all
[admin@MikroTik] > /interface export
# feb/03/2014 10:19:54 by RouterOS 6.7
# software id = 6386-7BZW
#
/interface bridge
add name=Null0
add name=loopback0
[admin@MikroTik] > /routing bgp exp
# feb/03/2014 10:20:00 by RouterOS 6.7
# software id = 6386-7BZW
#
/routing bgp instance
set default disabled=yes
add as=65001 client-to-client-reflection=no name="eBGP Test" router-id=10.250.15.1
/routing bgp instance vrf
add instance="eBGP Test" routing-mark=INET
/routing bgp network
add network=192.168.132.0/22 synchronize=no
/routing bgp peer
add instance="eBGP Test" keepalive-time=10s multihop=yes name="Cisco 1811" remote-address=10.250.15.2 remote-as=65000 ttl=2 update-source=loopback0
[admin@MikroTik] > /ip add print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 10.10.1.2/24 10.10.1.0 ether5
1 10.250.15.1/32 10.250.15.1 loopback0
2 10.200.1.1/30 10.200.1.0 ether1
[admin@MikroTik] > /ip route print
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 ADC 10.200.1.0/30 10.200.1.1 ether1 0
1 ADC 10.250.15.1/32 10.250.15.1 loopback0 0
2 A S 10.250.15.2/32 10.200.1.2 1
3 A S 192.168.132.0/22 Null0 1
4 A S 0.0.0.0/0 10.10.1.1 1
5 ADC 10.10.1.0/24 10.10.1.2 ether5 0
[admin@MikroTik] > /ip route export
# feb/03/2014 10:20:39 by RouterOS 6.7
# software id = 6386-7BZW
#
/ip route
add distance=1 dst-address=10.250.15.2/32 gateway=10.200.1.2 routing-mark=INET
add distance=1 dst-address=192.168.132.0/22 gateway=Null0 routing-mark=INET
add distance=1 gateway=10.10.1.1
/ip route vrf
add interfaces=ether1,loopback0 routing-mark=INET
[admin@MikroTik] > /ip route print detail
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
0 ADC dst-address=10.200.1.0/30 pref-src=10.200.1.1 gateway=ether1 gateway-status=ether1 reachable distance=0 scope=10 routing-mark=INET
1 ADC dst-address=10.250.15.1/32 pref-src=10.250.15.1 gateway=loopback0 gateway-status=loopback0 reachable distance=0 scope=10 routing-mark=INET
2 A S dst-address=10.250.15.2/32 gateway=10.200.1.2 gateway-status=10.200.1.2 on INET reachable via ether1 distance=1 scope=30 target-scope=10 routing-mark=INET
3 A S dst-address=192.168.132.0/22 gateway=Null0 gateway-status=Null0 reachable distance=1 scope=30 target-scope=10 routing-mark=INET
4 A S dst-address=0.0.0.0/0 gateway=10.10.1.1 gateway-status=10.10.1.1 reachable via ether5 distance=1 scope=30 target-scope=10
5 ADC dst-address=10.10.1.0/24 pref-src=10.10.1.2 gateway=ether5 gateway-status=ether5 reachable distance=0 scope=10