<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: MikroTik RouterOS &#8212; BGP</title>
	<atom:link href="http://blog.nirkabel.org/2007/05/04/mikrotik-routeros-bgp/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.nirkabel.org/2007/05/04/mikrotik-routeros-bgp/</link>
	<description>This blog is here to stay</description>
	<lastBuildDate>Wed, 25 Jan 2012 20:49:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Andryan</title>
		<link>http://blog.nirkabel.org/2007/05/04/mikrotik-routeros-bgp/comment-page-1/#comment-51</link>
		<dc:creator>Andryan</dc:creator>
		<pubDate>Sun, 07 Dec 2008 15:17:18 +0000</pubDate>
		<guid isPermaLink="false">http://andryan.wordpress.com/2007/05/04/mikrotiks-routeros-bgp/#comment-51</guid>
		<description>Hi Arif,

This is the example:
from /routing filter
 0   ;;; Advertise 116.0.0.0/21 to OpenIXP in /24s
     chain=to_OpenIXP prefix=116.0.0.0/21 prefix-length=24 invert-match=no action=accept

 1   ;;; Advertise 61.45.224.0/20 to OpenIXP in /24s
     chain=to_OpenIXP prefix=61.45.224.0/20 prefix-length=24 invert-match=no action=accept

 2   ;;; Advertise only our prefixes to OpenIXP, do not redistribute transit routes to IX
     chain=to_OpenIXP invert-match=no action=discard

 3   ;;; Discard default route from OpenIXP
     chain=from_OpenIXP prefix=0.0.0.0/0 invert-match=no action=discard 

 4   ;;; IX routes should get higher priority
     chain=from_OpenIXP invert-match=no action=accept set-bgp-local-pref=200

5   ;;; Advertise 61.45.224.0/20 to NAP
     chain=to_NAP prefix=61.45.224.0/20 prefix-length=20 invert-match=no action=accept

6   ;;; Advertise 116.0.0.0/21 to NAP
     chain=to_NAP prefix=116.0.0.0/21 prefix-length=21 invert-match=no action=accept

7   ;;; Advertise only our prefixes to NAP, do not redistribute IX routes/other transit routes to this transit
     chain=to_NAP invert-match=no action=discard

8 X ;;; Only use default route from NAP&#039;s BGP feed, opposite the following rule
     chain=from_NAP prefix=0.0.0.0/0 invert-match=yes action=discard 

9   ;;; Discard default route from NAP
     chain=from_NAP prefix=0.0.0.0/0 invert-match=no action=discard

from /routing bgp network
 0 A 116.0.0.0/21       no
 1 A 116.0.0.0/24       no
 2 A 116.0.1.0/24       no
 3 A 116.0.2.0/24       no
 4 A 116.0.3.0/24       no
 5 A 116.0.4.0/24       no
 6 A 116.0.5.0/24       no
 7 A 116.0.6.0/24       no
 8 A 116.0.7.0/24       no
 9 A 61.45.224.0/20     no
10 A 61.45.224.0/24     no
11 A 61.45.225.0/24     no
12 A 61.45.226.0/24     no
13 A 61.45.227.0/24     no
14 A 61.45.228.0/24     no
15 A 61.45.229.0/24     no
16 A 61.45.230.0/24     no
17 A 61.45.231.0/24     no
18 A 61.45.232.0/24     no
19 A 61.45.233.0/24     no
20 A 61.45.234.0/24     no
21 A 61.45.235.0/24     no
22 A 61.45.236.0/24     no
23 A 61.45.237.0/24     no
24 A 61.45.238.0/24     no
25 A 61.45.239.0/24     no

Please note that OpenIXP advertises the smaller prefixes (/24) to make sure that local IX traffic takes the OpenIXP path rather than the NAP path. I also choose to drop default route from NAP to receive full BGP feed from my NAP. If you wish to receive only the default route (make sure your NAP does provide a default route otherwise your packets will go nowhere), enable filter #8 and disable #9.

Good luck!</description>
		<content:encoded><![CDATA[<p>Hi Arif,</p>
<p>This is the example:<br />
from /routing filter<br />
 0   ;;; Advertise 116.0.0.0/21 to OpenIXP in /24s<br />
     chain=to_OpenIXP prefix=116.0.0.0/21 prefix-length=24 invert-match=no action=accept</p>
<p> 1   ;;; Advertise 61.45.224.0/20 to OpenIXP in /24s<br />
     chain=to_OpenIXP prefix=61.45.224.0/20 prefix-length=24 invert-match=no action=accept</p>
<p> 2   ;;; Advertise only our prefixes to OpenIXP, do not redistribute transit routes to IX<br />
     chain=to_OpenIXP invert-match=no action=discard</p>
<p> 3   ;;; Discard default route from OpenIXP<br />
     chain=from_OpenIXP prefix=0.0.0.0/0 invert-match=no action=discard </p>
<p> 4   ;;; IX routes should get higher priority<br />
     chain=from_OpenIXP invert-match=no action=accept set-bgp-local-pref=200</p>
<p>5   ;;; Advertise 61.45.224.0/20 to NAP<br />
     chain=to_NAP prefix=61.45.224.0/20 prefix-length=20 invert-match=no action=accept</p>
<p>6   ;;; Advertise 116.0.0.0/21 to NAP<br />
     chain=to_NAP prefix=116.0.0.0/21 prefix-length=21 invert-match=no action=accept</p>
<p>7   ;;; Advertise only our prefixes to NAP, do not redistribute IX routes/other transit routes to this transit<br />
     chain=to_NAP invert-match=no action=discard</p>
<p>8 X ;;; Only use default route from NAP&#8217;s BGP feed, opposite the following rule<br />
     chain=from_NAP prefix=0.0.0.0/0 invert-match=yes action=discard </p>
<p>9   ;;; Discard default route from NAP<br />
     chain=from_NAP prefix=0.0.0.0/0 invert-match=no action=discard</p>
<p>from /routing bgp network<br />
 0 A 116.0.0.0/21       no<br />
 1 A 116.0.0.0/24       no<br />
 2 A 116.0.1.0/24       no<br />
 3 A 116.0.2.0/24       no<br />
 4 A 116.0.3.0/24       no<br />
 5 A 116.0.4.0/24       no<br />
 6 A 116.0.5.0/24       no<br />
 7 A 116.0.6.0/24       no<br />
 8 A 116.0.7.0/24       no<br />
 9 A 61.45.224.0/20     no<br />
10 A 61.45.224.0/24     no<br />
11 A 61.45.225.0/24     no<br />
12 A 61.45.226.0/24     no<br />
13 A 61.45.227.0/24     no<br />
14 A 61.45.228.0/24     no<br />
15 A 61.45.229.0/24     no<br />
16 A 61.45.230.0/24     no<br />
17 A 61.45.231.0/24     no<br />
18 A 61.45.232.0/24     no<br />
19 A 61.45.233.0/24     no<br />
20 A 61.45.234.0/24     no<br />
21 A 61.45.235.0/24     no<br />
22 A 61.45.236.0/24     no<br />
23 A 61.45.237.0/24     no<br />
24 A 61.45.238.0/24     no<br />
25 A 61.45.239.0/24     no</p>
<p>Please note that OpenIXP advertises the smaller prefixes (/24) to make sure that local IX traffic takes the OpenIXP path rather than the NAP path. I also choose to drop default route from NAP to receive full BGP feed from my NAP. If you wish to receive only the default route (make sure your NAP does provide a default route otherwise your packets will go nowhere), enable filter #8 and disable #9.</p>
<p>Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: arif</title>
		<link>http://blog.nirkabel.org/2007/05/04/mikrotik-routeros-bgp/comment-page-1/#comment-50</link>
		<dc:creator>arif</dc:creator>
		<pubDate>Tue, 02 Dec 2008 06:06:33 +0000</pubDate>
		<guid isPermaLink="false">http://andryan.wordpress.com/2007/05/04/mikrotiks-routeros-bgp/#comment-50</guid>
		<description>whereis the example configuration, could you share? may be with fake ip address, 
thanks 4 advance</description>
		<content:encoded><![CDATA[<p>whereis the example configuration, could you share? may be with fake ip address,<br />
thanks 4 advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Learning On Demand &#124; Resources for Mikrotik Self Learning</title>
		<link>http://blog.nirkabel.org/2007/05/04/mikrotik-routeros-bgp/comment-page-1/#comment-27</link>
		<dc:creator>Learning On Demand &#124; Resources for Mikrotik Self Learning</dc:creator>
		<pubDate>Sun, 24 Jun 2007 00:34:58 +0000</pubDate>
		<guid isPermaLink="false">http://andryan.wordpress.com/2007/05/04/mikrotiks-routeros-bgp/#comment-27</guid>
		<description>[...] 3. MikroTik RouterOS &#8212; BGP [...]</description>
		<content:encoded><![CDATA[<p>[...] 3. MikroTik RouterOS &mdash; BGP [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

