Created
October 31, 2014 08:53
-
-
Save udienz/425d3229d0c6ad778a79 to your computer and use it in GitHub Desktop.
Mikrotik simple bgp, see: https://blog.mahyudd.in/2014/10/31/lab-pengaturan-dasar-bgp-di-cisco-mikrotik-dan-vyatta.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/interface bridge | |
add name=loopback0 | |
/port | |
set 0 name=serial0 | |
/routing bgp instance | |
set default as=33 router-id=192.168.0.3 | |
/ip address | |
add address=192.168.0.3/32 interface=loopback0 network=192.168.0.3 | |
add address=192.168.2.3/24 interface=ether1 network=192.168.2.0 | |
/ip route | |
add distance=1 dst-address=192.168.33.0/24 type=blackhole | |
/ip upnp | |
set allow-disable-external-interface=no | |
/routing bgp network | |
add network=192.168.33.0/24 | |
add network=192.168.0.3/32 | |
/routing bgp peer | |
add name=to-cisco remote-address=192.168.2.2 remote-as=22 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment