YOUR_ASN is your ASN number
ROUTER_ID is the ip of the router
NETWORK/CIDR is the network such as 192.168.1.0/24
PROVIDER_IN is the name of your provider incoming filter (can be anything)
PROVIDER_OUT is the name of your provider outgoing filter (can be anything)
UPSTREAM_IP is the IP of the BGP router for your provider
UPSTREAM_ASN is your provider's ASN
MY_NETWORK is just a name for your IP space in the filter rules
CIDR_MASK is the range of subnets you you match. In your case it would
just be 24 if that is all you have since no one accepts smaller
/routing bgp instance
set default as=YOUR_ASN redistribute-static=yes router-id=ROUTER_ID
/routing bgp aggregate
add include-igp=yes instance=default prefix=NETWORK/CIDR
/routing bgp network
add network=NETOWRK/CIDR synchronize=no
/routing bgp peer
add in-filter=PROVIDER_IN name=PROVIDER out-filter=PROVIDER_OUT
remote-address=\
UPSTREAM_IP remote-as=UPSTREAM_ASN
/routing filter
add action=accept chain=MY_NETWORK prefix=NETWORK/CIDR
prefix-length=CIDR_MASK
add action=discard chain=PROVIDER_IN match-chain=MY_NETWORK
add action=accept chain=PROVIDER_OUT match-chain=MY_NETWORK
add action=discard chain=PROVIDER_OUT
On 08/21/2015 09:32 AM, Ty Featherling wrote:
What is the bare minimum necessary to turn up BGP on a Tik router? I just
need to establish a session, accept default routes, and advertise one /24
subnet.
-Ty
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.butchevans.com/pipermail/mikrotik/attachments/20150821/21ee4281/attachment.html>
_______________________________________________
Mikrotik mailing list
[email protected]
http://mail.butchevans.com/mailman/listinfo/mikrotik
Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS
_______________________________________________
Mikrotik mailing list
[email protected]
http://mail.butchevans.com/mailman/listinfo/mikrotik
Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS