Skip to content

Instantly share code, notes, and snippets.

@udienz
Created October 31, 2014 08:53
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save udienz/425d3229d0c6ad778a79 to your computer and use it in GitHub Desktop.
Save udienz/425d3229d0c6ad778a79 to your computer and use it in GitHub Desktop.
/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