<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>bgp &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://wordpress.com/tag/bgp/</link>
	<description>Feed of posts on WordPress.com tagged "bgp"</description>
	<pubDate>Sat, 11 Oct 2008 03:55:20 +0000</pubDate>

	<generator>http://wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Regular Expressions]]></title>
<link>http://usaccie.wordpress.com/?p=13</link>
<pubDate>Sat, 11 Oct 2008 02:31:44 +0000</pubDate>
<dc:creator>usaccie</dc:creator>
<guid>http://usaccie.pt.wordpress.com/2008/10/10/regular-expressions/</guid>
<description><![CDATA[http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.shtml#asregexp

AS Regu]]></description>
<content:encoded><![CDATA[<p>http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.shtml#asregexp</p>
<p><span class="content"></p>
<h3><a name="asregexp">AS Regular Expression</a></h3>
<p>This section explains the creation of a regular expression.</p>
<p>A regular expression is a pattern to match against an input string. 	 When you build a regular expression, you specify a string that input must 	 match. In the case of BGP, you specify a string that consists of path 	 information that an input must match.</p>
<p>In the example in the section <a href="http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.shtml#pathfilter">Path 	 Filtering</a>, you specified the string 	 <tt>^200$</tt>. You wanted path information that comes 	 inside updates to match the string in order to make a decision.</p>
<p>A regular expression comprises:</p>
<ul>
<li><strong>Range</strong>
<p>A range is a sequence of characters within left and right square 		brackets. An example is 		<tt>[abcd]</tt>.</li>
<li><strong>Atom</strong>
<p>An atom is a single character. Here are some examples:</p>
<blockquote>
<pre>.</pre>
</blockquote>
<ul>
<li>The <tt>.</tt> matches any single 		  character.</li>
</ul>
<blockquote>
<pre>^</pre>
</blockquote>
<ul>
<li>The <tt>^</tt> matches the start of the input 		  string.</li>
</ul>
<blockquote>
<pre>$</pre>
</blockquote>
<ul>
<li>The <tt>$</tt> matches the end of the input 		  string.</li>
</ul>
<blockquote>
<pre>\</pre>
</blockquote>
<ul>
<li>The <tt>\</tt> matches the 		  character.</li>
</ul>
<blockquote>
<pre>-</pre>
</blockquote>
<ul>
<li>The <tt>_</tt> matches a comma 		  (<tt>,</tt>), left brace 		  (<tt>{</tt>), right brace 		  (<tt>}</tt>), the start of the input string, the end of 		  the input string, or a space.</li>
</ul>
</li>
<li><strong>Piece</strong>
<p>A piece is one of these symbols, which follows an atom:</p>
<blockquote>
<pre>*</pre>
</blockquote>
<ul>
<li>The <tt>*</tt> matches 0 or more sequences 		  of the atom.</li>
</ul>
<blockquote>
<pre>+</pre>
</blockquote>
<ul>
<li>The <tt>+</tt> matches 1 or more sequences 		  of the atom.</li>
</ul>
<blockquote>
<pre>?</pre>
</blockquote>
<ul>
<li>The <tt>?</tt> matches the atom or the null 		  string.</li>
</ul>
</li>
<li><strong>Branch</strong>
<p>A branch is 0 or more concatenated pieces.</li>
</ul>
<p>Here are some examples of regular expressions:</p>
<blockquote>
<pre>a*</pre>
</blockquote>
<ul>
<li>This expression indicates any occurrence of the letter "a", which 		includes none.</li>
</ul>
<blockquote>
<pre>a+</pre>
</blockquote>
<ul>
<li>This expression indicates that at least one occurrence of the letter 		"a" must be present.</li>
</ul>
<blockquote>
<pre>ab?a</pre>
</blockquote>
<ul>
<li>This expression matches "aa" or 		"aba".</li>
</ul>
<blockquote>
<pre>_100_</pre>
</blockquote>
<ul>
<li>This expression means via AS100.</li>
</ul>
<blockquote>
<pre>_100$</pre>
</blockquote>
<ul>
<li>This expression indicates an origin of 		AS100.</li>
</ul>
<blockquote>
<pre>^100 .*</pre>
</blockquote>
<ul>
<li>This expression indicates transmission from 		AS100.</li>
</ul>
<blockquote>
<pre>^$</pre>
</blockquote>
<ul>
<li>This expression indicates origination from this 		AS.</li>
</ul>
<p></span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[BGP path manipulation]]></title>
<link>http://usaccie.wordpress.com/?p=9</link>
<pubDate>Fri, 10 Oct 2008 18:21:59 +0000</pubDate>
<dc:creator>usaccie</dc:creator>
<guid>http://usaccie.pt.wordpress.com/2008/10/10/bgp-path-manipulation/</guid>
<description><![CDATA[BGP path manipulation
Why laugh at me?



Method
Direction Applied
Direction Affected
Best Metric


]]></description>
<content:encoded><![CDATA[<p>BGP path manipulation</p>
<p>Why laugh at me?</p>
<table border="1">
<tbody>
<tr>
<td><strong>Method</strong></td>
<td><strong>Direction Applied</strong></td>
<td><strong>Direction Affected</strong></td>
<td><strong>Best Metric</strong></td>
</tr>
<tr>
<td>Weight</td>
<td>Inbound</td>
<td>Outbound</td>
<td>Highest</td>
</tr>
<tr>
<td>Local Preference</td>
<td>Inbound</td>
<td>Outbound</td>
<td>Highest</td>
</tr>
<tr>
<td>AS Path</td>
<td>Outbound</td>
<td>Inbound</td>
<td>Shortest</td>
</tr>
<tr>
<td>MED (metric)</td>
<td>Outbound</td>
<td>Inbound</td>
<td>Lowest</td>
</tr>
</tbody>
</table>
]]></content:encoded>
</item>
<item>
<title><![CDATA[no-prepend  / replace-as]]></title>
<link>http://usaccie.wordpress.com/?p=7</link>
<pubDate>Fri, 10 Oct 2008 18:19:38 +0000</pubDate>
<dc:creator>usaccie</dc:creator>
<guid>http://usaccie.pt.wordpress.com/2008/10/10/no-prepend-replace-as/</guid>
<description><![CDATA[no-prepend has importance for incoming
replace-as has importance for outgoing.
]]></description>
<content:encoded><![CDATA[<p>no-prepend has importance for incoming<br />
replace-as has importance for outgoing.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[BGP Multihome and my fluic condition :|]]></title>
<link>http://shakeelahmad.wordpress.com/?p=63</link>
<pubDate>Sun, 05 Oct 2008 01:42:06 +0000</pubDate>
<dc:creator>binary-zero</dc:creator>
<guid>http://shakeelahmad.pt.wordpress.com/2008/10/05/bgp-multihome-and-my-fluic-condition/</guid>
<description><![CDATA[
So finally i made up my mind to finish up an old research i was working on - this to multihome with]]></description>
<content:encoded><![CDATA[<p><a href="http://shakeelahmad.files.wordpress.com/2008/10/drawing1.jpg"></a></p>
<p>So finally i made up my mind to finish up an old research i was working on - this to multihome with two ISP between two different locations.</p>
<p><a href="http://shakeelahmad.files.wordpress.com/2008/10/drawing1.jpg"><img class="alignleft size-large wp-image-64" title="Cisco Network" src="http://shakeelahmad.wordpress.com/files/2008/10/drawing1.jpg?w=500" alt="" width="500" height="363" /></a></p>
<p>I ended up waking around 4 AM in the morning due to my flu and then thought to use my time for this task.</p>
<p>As many people end up with questions and problem and dream to achieve it without any issues, i'm gonna post out the details .</p>
<p>Task Details:</p>
<p>Subnet : 2x.1x.2x.0/23 needs to be advertised via two ISP for redundancy between datacenters.</p>
<p> </p>
<p>Upstream providers:</p>
<p>Global Crossings, Level 3</p>
<p>I'm assuming following steps has been followed already before configurations:</p>
<p>Step - 1 : would be to own and register a public ASN</p>
<p>Step - 2: would be to talk with both upstream providers and get appropriate filters updated so that you can advertise your IP block as you want on both providers. Some ISP's dont allow to go under /24 - ideally in filters i would break a /23 like below:</p>
<ul>
<li>2x.1x.2x.0/23</li>
<li>2x.1x.2x1.0/24</li>
<li>2x.1x.2x2.0/24</li>
</ul>
<p>This way you have two options,</p>
<ol>
<li>Redundancy by prepaending AS PATH</li>
<li>Load-balancing by subneting and advertising more specifics</li>
</ol>
<p>- Scenario:</p>
<p> </p>
<p>Both routers needs to run IGP between, my personal prefference is EIGRP which is NOT COMPLEX and is MORE FLEXIBLE than running OSPF :) (i beg to differ)</p>
<p>As both routers are not connected directly, but have IP routing internall, i have made up a GRE IP to IP Tunnel between both routers:</p>
<p>Philadelphia Router:</p>
<blockquote><p>interface Tunnel9999<br />
 description %TUNNEL TO LEVEL3 DIA ROUTER%<br />
 ip address 192.168.192.1 255.255.255.252<br />
 ip tcp adjust-mss 1436<br />
 ip summary-address eigrp 1 0.0.0.0 0.0.0.0 250<br />
 keepalive 10 3<br />
 tunnel source 10.x.x.x<br />
 tunnel destination 10.x.x.x<br />
end</p></blockquote>
<p>Pittsburgh Router:</p>
<blockquote><p>interface Tunnel9999<br />
 description %TUNNEL TO GBLX DIA ROUTER%<br />
 ip address 192.168.192.2 255.255.255.252<br />
 ip tcp adjust-mss 1436<br />
 ip summary-address eigrp 1 0.0.0.0 0.0.0.0 250<br />
 keepalive 10 3<br />
 tunnel source 10.x.x.x<br />
 tunnel destination 10.x.x.x<br />
end</p>
<p> </p></blockquote>
<p>EIGRP Configs:</p>
<p>Philadelphia Router:</p>
<blockquote><p>router eigrp 1<br />
 passive-interface default<br />
 no passive-interface Tunnel9999<br />
 network 192.168.192.0 0.0.0.3<br />
 no auto-summary<br />
 eigrp router-id 10.x.x.x<br />
 eigrp stub connected<br />
!</p></blockquote>
<p>Pittsburgh Router:</p>
<blockquote><p>router eigrp 1<br />
 passive-interface default<br />
 no passive-interface Tunnel9999<br />
 network 192.168.192.0 0.0.0.3<br />
 no auto-summary<br />
 eigrp router-id 10.x.x.x<br />
 eigrp stub connected<br />
!</p></blockquote>
<p>I'll post out the BGP configs in another post as can't any more. Current challenge i have to cover is the ICMP/TRACEROUTE requests which are being tagged by 192.168.192.x address when primary ISP is down and traffic is routed from Level3 over to Philadelphia by GRE Tunnel. Its a bit complex and requires a debugging. Good practice is to always make a very specific ACL and use it for debugging instead of open debugging as your router will immediately sieze it self in processing DEBUG messages and you would end up loosing connection.</p>
<p>Following is my output:</p>
<p>*Oct  5 01:39:43.526: IP: s=<span style="color:#99cc00;"><span style="color:#99cc00;"><strong>2x.2x.1x.1x</strong> </span>(</span>Tunnel9999), d=<strong><span style="color:#ff0000;">2x.1x.2x.1</span></strong><span style="color:#ff0000;">,</span> len 28, rcvd 0<br />
*Oct  5 01:39:43.526:     UDP src=49862, dst=33482<br />
*Oct  5 01:39:43.526: IP: tableid=0, s=192.168.192.1 (local), d=2x.2x.1x.1x (Tunnel9999), routed via FIB<br />
*Oct  5 01:39:43.526: <strong>IP: s=<span style="text-decoration:underline;">192.168.192.1</span> (local), d=2x.2x.1x.1x (Tunnel9999), len 56, sending</strong><br />
*Oct  5 01:39:43.526:     <strong>ICMP type=3, code=3</strong><br />
*Oct  5 01:39:46.522: IP: s=2x.2x.1x.1x (Tunnel9999), d=2x.1x.2x.1, len 28, rcvd 0<br />
*Oct  5 01:39:46.522:     UDP src=49863, dst=33483<br />
*Oct  5 01:39:46.522: IP: tableid=0, s=192.168.192.1 (local), d=2x.2x.1x.1x (Tunnel9999), routed via FIB<br />
*Oct  5 01:39:46.522: IP: s=192.168.192.1 (local), d=2x.2x.1x.1x (Tunnel9999), len 56, sending<br />
*Oct  5 01:39:46.522:     ICMP type=3, code=3<br />
*Oct  5 01:39:49.522: IP: s=2x.2x.1x.1x (Tunnel9999), d=2x.1x.2x.1, len 28, rcvd 0<br />
*Oct  5 01:39:49.522:     UDP src=49864, dst=33484<br />
*Oct  5 01:39:49.522: IP: tableid=0, s=192.168.192.1 (local), d=2x.2x.1x.1x (Tunnel9999), routed via FIB<br />
*Oct  5 01:39:49.522: IP: s=192.168.192.1 (local), d=2x.2x.1x.1x (Tunnel9999), len 56, sending<br />
*Oct  5 01:39:49.522:     ICMP type=3, code=3</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Output-101: BGP-3-NOTIFICATION]]></title>
<link>http://ruhann.wordpress.com/?p=93</link>
<pubDate>Sun, 28 Sep 2008 20:47:05 +0000</pubDate>
<dc:creator>wiggwire</dc:creator>
<guid>http://ruhann.pt.wordpress.com/2008/09/28/output-101-bgp-3-notification/</guid>
<description><![CDATA[Error log:
%BGP-3-NOTIFICATION:received from neighbor 196.7.8.9 2/2 (peer in wrong as) 2 bytes 0064
]]></description>
<content:encoded><![CDATA[<p>Error log:</p>
<blockquote><p><span style="color:#333399;">%BGP-3-NOTIFICATION:received from neighbor 196.7.8.9 2/2 (peer in wrong as) 2 bytes 0064</span></p></blockquote>
<p>Explanation:</p>
<p>The Obvious is true, a wrong ASN is configured, but there is more detail here. "2 bytes 0064" : the 0064 is the received ASN in HEX, ie 0x0064 in HEX = 100 decimal.</p>
<p>The local router is expecting Neighbor 196.7.8.9 to come from a specific ASN, not ASN 100. Have a look at the "neighbor {IP} remote-as" command to confirm it is set correctly. If confederations are used, make sure your confederation-id is correct between the two EBGP peers.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Juniper JUNOS BGP与OSPF完全末节区域设计陷阱]]></title>
<link>http://jncie.wordpress.com/?p=1101</link>
<pubDate>Sun, 28 Sep 2008 06:28:02 +0000</pubDate>
<dc:creator>孟 诗宇</dc:creator>
<guid>http://jncie.pt.wordpress.com/2008/09/28/juniper-junos-bgp-ospf-totally-stub-area-design-traps/</guid>
<description><![CDATA[完成JUNOS OSPF末节区域(Stub Area)配置以后，需要进一步过滤域间路由LSA-3，压]]></description>
<content:encoded><![CDATA[<p>完成<a title="Juniper JUNOS OSPF末节区域(Stub Area)配置" href="http://jncie.wordpress.com/2008/09/28/configurate-juniper-junos-ospf-stub-tsa-nssa-area/">JUNOS OSPF末节区域(Stub Area)配置</a>以后，需要进一步过滤域间路由LSA-3，压缩OSPF数据库并不难。只需要在ABR上加入<span style="color:#993300;"><strong>no-summary</strong></span>参数，将当前的OSPF末节区域10设置为OSPF完全末节区域(TSA)即可。我们不需要在OSPF 区域10的所有Juniper JUNOS路由器上面设置，因为OSPF LSA-3只会通过OSPF ABR将来自骨干区域的LSA转换为LSA-3注入末节区域，因此我们在OSPF ABR上设置该区域为OSPF末节区域，并且阻止<span style="color:#993300;"><strong>netsummary LSA</strong></span>注入，便可过滤掉LSA-3/4/5三种LSA。在实验中，OSPF区域10存在R3/R4两台ABR，我们需要同时在这两台ABR上面加上<span style="color:#993300;"><strong>no-summary</strong></span>参数。</p>
<pre><span style="color:#333399;"><code>[edit logical-routers r3 protocols]
nigel@junos# set ospf area 10 stub <span style="color:#993300;"><span style="text-decoration:underline;">no-summaries</span></span>

[edit logical-routers r4 protocols]
nigel@junos# set ospf area 10 stub <span style="color:#993300;"><span style="text-decoration:underline;">no-summaries</span></span></code></span></pre>
<p>查看Juniper JUNOS R1的OSPF数据库，只有由两台JUNOS OSPF ABR注入的，用于保持OSPF域外/域间目标网段连通性的默认路由仍然保留在JUNOS OSPF的数据库当中，同时注意这些默认路由依然以OSPF LSA-3的形式出现。OSPF区域10内的路由器仍然保持对<span style="color:#993300;"><strong>200.200/24</strong></span>网段的连通性。</p>
<pre><span style="color:#333399;"><code>nigel@junos# run show ospf database logical-router r1
<span style="color:#993300;"><span style="text-decoration:underline;">netsummary</span></span>

    OSPF link state database, Area 0.0.0.10
 Type      ID       Adv Rtr   Seq    Age  Opt  Cksum Len
Summary <span style="color:#993300;"><span style="text-decoration:underline;">0.0.0.0</span></span>  10.0.3.3 0x8000000a  31 0x20 0x849d 28
Summary <span style="color:#993300;"><span style="text-decoration:underline;">0.0.0.0</span></span>  10.0.3.4 0x8000000b  30 0x20 0x7ea2 28

nigel@junos# run <span style="color:#993300;"><span style="text-decoration:underline;">traceroute</span></span> logical-router r1 <span style="color:#993300;"><span style="text-decoration:underline;">200.200.0.1</span></span>
traceroute to 200.200.0.1 (200.200.0.1), 30 hops max,
40 byte packets
 1  10.0.4.13 (10.0.4.13)  0.476 ms  0.364 ms  0.278 ms
 2  10.0.2.1 (10.0.2.1)  0.438 ms  0.577 ms  0.407 ms
 3  10.0.8.10 (10.0.8.10)  0.613 ms  0.583 ms  0.601 ms
 4  10.0.8.10 (10.0.8.10)  0.581 ms <span style="color:#993300;"><span style="text-decoration:underline;">!H</span></span>  0.661 ms <span style="color:#993300;"><span style="text-decoration:underline;">!H</span></span>
0.548 ms <span style="color:#993300;"><span style="text-decoration:underline;">!H</span></span>
</code></span></pre>
<h3>Juniper JUNOS BGP与OSPF完全末节区域(TSA)的设计陷阱</h3>
<p>需要特别注意的是：配置OSPF TSA，它往往是事故出现的多灾区域，因为不单失去了OSPF域外路由LSA-5，同时OSPF域间路由LSA-3同时被过滤掉，链路状态的瓶颈会增加OSPF网络的扩展性能。尤其由于设计上的疏忽，尝试在OSPF TSA内实现扩展特性，路由黑洞屡屡会产生。</p>
<p>常见的设计错误包括将本地子网在OSPF TSA内汇总，从而丢失域内路由器全部的外部连通性，使OSPF TSA成为网路孤岛；尝试穿越TSA建立OSPF虚链路；以及OSPF TSA域内路由器通过<a title="Configuring BGP Routing" href="http://www.juniper.net/techpubs/software/erx/erx41x/swconfig-routing-vol2/html/bgp-config.html">JUNOS BGP</a>与域外路由器交换路由更新，而造成协议下一跳不可达，进而造成<a title="show route hidden" href="https://www.juniper.net/techpubs/software/junos/junos91/swcmdref-protocols/show-route-hidden.html">路由Hidden</a>，如此这般的情况时有发生。</p>
<p>这些情况会在后面的内容里面逐一演示。因此在配置JUNOS OSPF区域的时候，需要明确OSPF TSA的角色，任何日后存在扩展性需求的区域都不应该被轻易的定义为OSPF TSA。</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[BGP: Frequently Asked Questions]]></title>
<link>http://ccieworld.wordpress.com/?p=6</link>
<pubDate>Sun, 28 Sep 2008 01:46:43 +0000</pubDate>
<dc:creator>rintrum</dc:creator>
<guid>http://ccieworld.pt.wordpress.com/2008/09/28/bgp-frequently-asked-questions/</guid>
<description><![CDATA[Ref: http://www.cisco.com/en/US/tech/tk365/technologies_q_and_a_item09186a00800949e8.shtml#twenty-th]]></description>
<content:encoded><![CDATA[<p>Ref: http://www.cisco.com/en/US/tech/tk365/technologies_q_and_a_item09186a00800949e8.shtml#twenty-three</p>
<p><span class="content"></p>
<h2><a>Introduction</a></h2>
<p><a> </a><a>This document contains frequently asked questions (FAQs) about Border 	 Gateway Protocol (BGP). </a></p>
<p><a> </a></p>
<h3><a name="qa">Q.    How do I configure BGP? </a></h3>
<blockquote><p><a name="qa"> </a><a name="qa"><strong>A. </strong>Refer to these documents for information on how to configure BGP and 	 BGP functioning:</a></p>
<ul><a name="qa"> </a></p>
<li><a name="qa"> </a><a href="http://www.cisco.com/en/US/docs/ios/12_2/ip/configuration/guide/1cfbgp.html">Configuring 		BGP</a></li>
<li><a href="http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.shtml">BGP Case 		Studies</a></li>
</ul>
</blockquote>
<h3><a name="qb">Q.    How do I configure BGP with the use of a loopback address? </a></h3>
<blockquote><p><a name="qb"> </a><a name="qb"><strong>A. </strong>The use of a loopback interface ensures that the neighbor stays up and 	 is not affected by malfunctioning hardware. </a></p>
<p><a name="qb"> </a><a name="qb"> BGP uses the IP address configured on the physical interface directly 	 connected to the BGP peer as the source address when it establishes the BGP 	 peering session, by default. Issue the <strong>neighbor &#60;ip address&#62; 	 update-source &#60;interface&#62;</strong> command in order to change this 	 behavior and configure the BGP that speaks to the router to establish peering 	 with the use of a loopback address as the source address.</a></p>
<p><a name="qb"> </a><a name="qb">Refer to </a><a href="http://www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a0080093f25.shtml">Sample 	 Configuration for iBGP and eBGP With or Without a Loopback Address</a> for 	 more information.</p></blockquote>
<h3><a name="one">Q.    What is the order of preference of attributes when some or all are   applied to one neighbor in BGP?</a></h3>
<p><a name="one"> </a></p>
<blockquote><p><a name="one"> </a><a name="one"><strong>A. </strong>The order of preference varies based on whether the attributes are 	 applied for inbound updates or outbound updates. </a></p>
<p><a name="one"> </a><a name="one">For inbound updates the order of preference is: </a></p>
<ol type="1"><a name="one"> </a></p>
<li><a name="one"> </a><a name="one">route-map</a></li>
<p><a name="one"> </a></p>
<li><a name="one"> </a><a name="one">filter-list</a></li>
<p><a name="one"> </a></p>
<li><a name="one"> </a><a name="one">prefix-list, distribute-list </a></li>
</ol>
<p><a name="one"> </a><a name="one">For outbound updates the order of preference is:</a></p>
<ol type="1"><a name="one"> </a></p>
<li><a name="one"> </a><a name="one">prefix-list, distribute-list </a></li>
<p><a name="one"> </a></p>
<li><a name="one"> </a><a name="one">filter-list</a></li>
<p><a name="one"> </a></p>
<li><a name="one"> </a><a name="one">route-map</a></li>
</ol>
<p><a name="one"> </a><a name="one"><strong>Note: </strong>The attributes prefix-list and distribute-list are mutually 		exclusive, and only one command (<strong>neighbor 		prefix-list</strong> or <strong>neighbor 		distribute-list</strong>) can be applied to each inbound or outbound 		direction for a particular neighbor. </a></p>
<p><a name="one"> </a></p></blockquote>
<p><a name="one"> </a></p>
<h3><a name="two">Q.    What does a next hop of 0.0.0.0 mean in the <strong>show ip   bgp</strong> command output? </a></h3>
<blockquote><p><a name="two"> </a><a name="two"><strong>A. </strong>A network in the BGP table with a next hop address of 0.0.0.0 means 	 that the network is locally originated via redistribution of Interior Gateway 	 Protocol (IGP) into BGP, or via a <strong>network</strong> or 	 <strong>aggregate</strong> command in the BGP configuration. </a></p>
<p><a name="two"> </a></p></blockquote>
<h3><a name="three">Q.    What are the well known communities of the BGP community attribute? </a></h3>
<blockquote><p><a name="three"> </a><a name="three"><strong>A. </strong>The community attribute is a transitive, optional attribute designed to 	 group destinations in a certain community and apply certain policies (such as 	 accept, prefer, or redistribute). This table shows the well known BGP 	 communities. </a></p>
<p><a name="three"> </a></p>
<table border="1" cellspacing="1" cellpadding="3" width="60%" bgcolor="#ffffff">
<tbody>
<tr>
<th> Community</th>
<th> Description</th>
</tr>
<tr>
<td bgcolor="#ffffff">Local-AS</td>
<td bgcolor="#ffffff">Use in confederation scenarios to prevent sending packets 				outside the local autonomous system (AS).</td>
</tr>
<tr>
<td bgcolor="#ffffff">no-export</td>
<td bgcolor="#ffffff">Do not advertise to external BGP (eBGP) peers. Keep this route 				within an AS.</td>
</tr>
<tr>
<td bgcolor="#ffffff">no-advertise</td>
<td bgcolor="#ffffff">Do not advertise this route to any peer, internal or 				external.</td>
</tr>
<tr>
<td bgcolor="#ffffff">none</td>
<td bgcolor="#ffffff">Apply no community attribute when you want to clear the 				communities associated with a route.</td>
</tr>
<tr>
<td bgcolor="#ffffff">internet</td>
<td bgcolor="#ffffff">Advertise this route to the internet community, and any router 				that belongs to it.</td>
</tr>
</tbody>
</table>
<p><a name="three"> </a></p>
<p><a name="three">Refer to the </a><a href="http://www.cisco.com/en/US/docs/ios/12_2/ip/configuration/guide/1cfbgp.html#wp1001855">Configuring 	 BGP Community Filtering</a> section of 	 <a href="http://www.cisco.com/en/US/docs/ios/12_2/ip/configuration/guide/1cfbgp.html"> Configuring BGP</a> for more information about the configuration of 	 communities.</p></blockquote>
<h3><a name="four">Q.    What formats can I use to configure the BGP community attribute? </a></h3>
<blockquote><p><a name="four"> </a><a name="four"><strong>A. </strong>In Cisco IOS® Software Release 12.0 and later, you can configure 	 communities in three different formats called decimal, hexadecimal, and AA:NN. 	 By default, IOS uses the older decimal format. In order to configure and 	 display in AA:NN, where the first part is the AS number and the second part is 	 a 2-byte number, issue the <strong>ip bgp new-format</strong> global 	 configuration command. </a></p>
<p><a name="four"> </a><a name="four"><strong>Note: </strong>Although the community attribute can be represented in decimal, 		hexadecimal, or AA:NN, it is still a 32-bit number. For example, any of these 		three configuration commands specify the community 30:20 (AS 30, number 20): </a></p>
<ul><a name="four"> </a></p>
<li><a name="four"> </a><a name="four"><strong>set community 30:20 </strong> </a></li>
<p><a name="four"> </a></p>
<li><a name="four"> </a><a name="four"><strong>set community 0x1E0014</strong> </a></li>
<p><a name="four"> </a></p>
<li><a name="four"> </a><a name="four"><strong>set community 1966100</strong> </a></li>
</ul>
<p><a name="four"> </a><a name="four">Regardless of which command you use, the community displayed in the 	 router configuration file and the BGP table is 30:20. </a></p>
<p><a name="four"> </a><a name="four">Refer to the </a><a href="http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.shtml#communityattribute">Community 	 Attribute</a> section of 	 <a href="http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.shtml">BGP 	 Case Studies</a>, and 	 <a href="http://www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a00801475b2.shtml">Using 	 BGP Community Values to Control Routing Policy in Upstream Provider 	 Network</a> for more information.</p></blockquote>
<h3><a name="five">Q.    How does BGP behave differently with auto-summary enabled or disabled? </a></h3>
<blockquote><p><a name="five"> </a><a name="five"><strong>A. </strong>Auto-summary behavior has changed across Cisco IOS software releases. 	 Initially, auto-summary was enabled by default. However, with Cisco bug ID </a><a href="http://www.cisco.com/pcgi-bin/Support/Bugtool/onebug.pl?bugid=CSCdu81680">CSCdu81680</a> (<span> <a href="http://tools.cisco.com/RPF/register/register.do">registered</a> customers only</span>)          this behavior has changed. In the latest 	 Cisco IOS, auto-summary is disabled by default. When auto-summary is enabled, 	 it summarizes the locally originated BGP networks to their classfull 	 boundaries. Auto-summary is enabled by default in BGP. When auto-summary is 	 disabled, the routes introduced locally into the BGP table are not summarized 	 to their classfull boundaries. When a subnet exists in the routing table and 	 these three conditions are satisfied, then any subnet of that classfull network 	 in the local routing table will prompt BGP to install the classfull network 	 into the BGP table.</p>
<ul>
<li>Classfull network statement for a network in the routing 		table</li>
<li>Classfull mask on that network statement</li>
<li>Auto-summary enabled</li>
</ul>
<p>For example, if the subnet in the routing table is 75.75.75.0 mask 	 255.255.255.0, and you configure <strong>network 75.0.0.0</strong> under the 	 <strong>router bgp</strong> command, and auto-summary is enabled, BGP 	 introduces the classfull network 75.0.0.0 mask 255.0.0.0 in the BGP 	 table.</p>
<p>If these three conditions are not all met, then BGP does not install 	 any entry in the BGP table unless there is an exact match in the local routing 	 table.</p>
<p><strong>Note: </strong>If the AS that performs BGP does not own the complete classfull 		network, Cisco recommends that you issue the <strong>no 		auto-summary</strong> command under <strong>router bgp</strong> in order to disable auto-summary.</p></blockquote>
<h3><a name="six">Q.    How can I verify if a BGP router announces its BGP networks and   propagates them to the global BGP mesh? </a></h3>
<blockquote><p><a name="six"> </a><a name="six"><strong>A. </strong>Use these commands to check if the IP blocks are announced to the 	 directly connected ISP: </a></p>
<p><a name="six"> </a></p>
<ul><a name="six"> </a></p>
<li><a name="six"> </a><a name="six">The <strong>show ip bgp neighbors 		[<em>address</em>] advertised-routes</strong> command shows 		which messages are being sent.</a></li>
<p><a name="six"> </a></p>
<li><a name="six"> </a><a name="six">The <strong>show ip bgp neighbors 		[<em>address</em>] routes</strong> command shows which 		messages are being received. </a></li>
</ul>
<p><a name="six"> </a><a name="six"><strong>Note: </strong>The <strong>show ip bgp neighbors 		[<em>address</em>] advertise-routes</strong> command does 		not take into account any outbound policies you might have applied. In future 		Cisco IOS software releases, the command output will be changed to reflect the 		outbound policies. If there are two alternate paths to a destination, BGP 		always uses the best route to advertise.</a></p>
<p><a name="six"> </a><a name="six">In order to verify how the IP blocks get propagated to the global BGP 	 mesh via the directly connected ISP, log onto a </a><a href="http://www.traceroute.org/#Route%20Servers" target="_blank">route 	 server</a> <img src="http://www.cisco.com/images/exit.gif" alt="leavingcisco.com" width="18" height="18" /> on the Internet and look for the BGP entries of the prefix in the 	 route server.</p></blockquote>
<h3><a name="seven">Q.    When and how should I reset a BGP session?</a></h3>
<blockquote><p><a name="seven"> </a><a name="seven"><strong>A. </strong>Clear a BGP session when you change the inbound/outbound policy for 	 this session. Issue the <strong>clear ip bgp 	 <em>x.x.x.x</em> soft out</strong> command to clear a BGP 	 session in order to bring outbound policy changes into effect. Issue the 	 <strong>clear ip bgp <em>x.x.x.x</em> </strong> command 	 in order to clear a BGP session to bring inbound policy changes into effect. If 	 the neighbor has the soft reconfiguration capability, you can issue the 	 <strong>clear ip bgp <em>x.x.x.x</em> soft in</strong> command. The BGP session can be cleared automatically if you setup the 	 Optimized Edge Routing (OER). OER automatically clears the BGP session for both 	 Inbound and Outbound directions. Refer to </a><a href="http://www.cisco.com/en/US/docs/ios/12_4t/oer/configuration/guide/h_oerstr.html">Setting 	 Up OER Network Components</a> for more information on OER.</p>
<p><strong>Note: </strong>With Cisco IOS Software Release 12.0 and later, a new BGP Soft Reset 		Enhancement feature is introduced. Refer to 		<a href="http://www.cisco.com/en/US/products/sw/iosswrel/ps1830/products_feature_guides_list.html">BGP 		Soft Reset Enhancement</a> for more information.</p></blockquote>
<h3><a name="twenty-five">Q.    When I perform MD5 Authentication for BGP through a PIX, is there   anything special that needs to be done on the PIX? </a></h3>
<blockquote><p><a name="twenty-five"> </a><a name="twenty-five"><strong>A. </strong>Yes. When a BGP 'neighbor ... password ...' is configured, MD5 	 authentication is used on the TCP psuedo-IP header, TCP header, and data (refer 	 to </a><a href="http://www.cse.ohio-state.edu/cgi-bin/rfc/rfc2385.html" target="_blank">RFC 2385</a> <img src="http://www.cisco.com/images/exit.gif" alt="leavingcisco.com" width="18" height="18" />). TCP uses this data, which includes the TCP 	 sequence and ACK numbers, and the BGP neighbor password, to create a 128-bit 	 hash number. The hash number is included in the packet in a TCP header option 	 field. By default, the PIX offsets the sequence number by a random value per 	 TCP flow. On the sending BGP peer, TCP uses the original sequence number to 	 create the 128-bit MD5 hash number and includes this hash number in the packet. 	 When the receiving BGP peer gets the packet, TCP uses the PIX modified sequence 	 number to create a 128-bit MD5 hash number and compares it to the hash number 	 included in the packet. Because the TCP sequence value was changed by the PIX, 	 the hash is different—TCP on the BGP neighbor drops the packet and logs an MD5 	 failed message similar to this:</p>
<blockquote>
<pre>%TCP-6-BADAUTH: Invalid MD5 digest from 10.28.0.9:1778 to 10.156.50.10:179</pre>
</blockquote>
<p>Use the <strong>norandomseq</strong> keyword in order to solve this 	 problem and stop the PIX from offsetting the TCP sequence number with the 	 <strong>static (inside,DMZ-ICE) 10.0.0.0 10.0.0.0 netmask 255.0.0.0 	 norandomseq</strong> command.</p></blockquote>
<h3><a name="eight">Q.    What is an autonomous system (AS) number and how do I obtain   one?</a></h3>
<blockquote><p><a name="eight"> </a><a name="eight"><strong>A. </strong>AS numbers are globally unique numbers that are used to identify ASes, 	 and which enable an AS to exchange exterior routing information between 	 neighboring ASes. An AS is a connected group of IP networks that adhere to a 	 single and clearly defined routing policy. </a></p>
<p><a name="eight"> </a><a name="eight">There are a limited number of available AS numbers. Therefore, it is 	 important to determine which sites require unique AS numbers and which do not. 	 Sites that do not require a unique AS number should use one or more of the AS 	 numbers reserved for private use, which are in the range from 64512 to 65535. 	 Access the </a><a href="http://www.arin.net/registration/asn/index.html" target="_blank">AS 	 Number Registration Services</a> <img src="http://www.cisco.com/images/exit.gif" alt="leavingcisco.com" width="18" height="18" /> website to obtain an AS number.</p></blockquote>
<h3><a name="nine">Q.    What is the BGP path selection criteria?</a></h3>
<blockquote><p><a name="nine"> </a><a name="nine"><strong>A. </strong>BGP path selection criteria is documented in </a><a href="http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094431.shtml">BGP 	 Best Path Selection Algorithm</a>.</p></blockquote>
<h3><a name="ten">Q.    What is the difference between   <strong>always-compare-med</strong> and   <strong>deterministic-med</strong>? </a></h3>
<blockquote><p><a name="ten"> </a><a name="ten"><strong>A. </strong>A complete explanation of the differences between these commands is 	 documented in </a><a href="http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094925.shtml">How 	 the <strong>bgp deterministic-med</strong> Command Differs from the 	 <strong>bgp always-compare-med</strong> Command</a>.</p></blockquote>
<h3><a name="eleven">Q.    Do internal BGP (iBGP) sessions modify the next hop? </a></h3>
<blockquote><p><a name="eleven"> </a><a name="eleven"><strong>A. </strong>iBGP sessions preserve the next hop attribute learned from eBGP peers. 	 This is why it is important to have an internal route to the next hop. The BGP 	 route is otherwise unreachable. In order to make sure you can reach the eBGP 	 next hop, include the network that the next hop belongs to in the IGP or issue 	 the <strong>next-hop-self neighbor</strong> command to force the 	 router to advertise itself, rather than the external peer, as the next hop. 	 Refer to the </a><a href="http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.shtml#bgpnexthop">BGP 	 Next Hop Attribute</a> section of 	 <a href="http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.shtml">BGP 	 Case Studies</a> for a more detailed explanation.</p></blockquote>
<h3><a name="twelve">Q.    Do external BGP (eBGP) sessions between confederations modify the next   hop?</a></h3>
<blockquote><p><a name="twelve"> </a><a name="twelve"><strong>A. </strong>No, eBGP sessions between confederation sub-ASes do not modify the next 	 hop attribute. All iBGP rules still apply to have the whole AS behave as a 	 single entity. The metric and local preference values also remain unaltered 	 among confederation eBGP peers. Refer to the </a><a href="http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.shtml#bgpconfed">BGP 	 Confederation</a> section of 	 <a href="http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.shtml">BGP 	 Case Studies</a> for more information about confederations.</p></blockquote>
<h3><a name="thirteen">Q.    In external BGP (eBGP) sessions, which IP address is sent as the next   hop? </a></h3>
<blockquote><p><a name="thirteen"> </a><a name="thirteen"><strong>A. </strong>In eBGP peering, the next hop is the IP address of the neighbor that 	 announces the route. However, when the route is advertised on a multi-access 	 media (such as Ethernet or Frame Relay), the next hop is usually the IP address 	 of the router interface connected to that media, which originated the route. 	 Refer to the </a><a href="http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.shtml#bgpnexthop">BGP 	 Next Hop Attribute</a> of 	 <a href="http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.shtml">BGP 	 Case Studies</a> for a more detailed explanation.</p></blockquote>
<h3><a name="fourteen">Q.    Does the route reflector change the next hop attribute of a reflected   prefix? </a></h3>
<blockquote><p><a name="fourteen"> </a><a name="fourteen"><strong>A. </strong>By default, the next hop attribute is not changed when a prefix is 	 reflected by route reflector. However, you can issue the <strong>neighbor 	 next-hop-self</strong> command in order to change the attribute of the 	 next hop for prefixes reflected from an eBGP peer to any route reflector 	 client. </a></p>
<p><a name="fourteen"> </a></p></blockquote>
<h3><a name="fifteen">Q.    How can I announce a prefix conditionally to one ISP only when I lose the   connection to my primary ISP?</a></h3>
<blockquote><p><a name="fifteen"> </a><a name="fifteen"><strong>A. </strong>BGP advertises routes from its BGP table to external peers by default. 	 The BGP conditional advertisement feature provides additional control of route 	 advertisement depending on the existence of other prefixes in the BGP table. 	 Normally, routes are propagated regardless of the existence of a different 	 path. The BGP conditional advertisement feature uses the 	 <strong>non-exist-map</strong> and 	 <strong>advertise-map</strong> configuration commands to track routes 	 by the route prefix. If a route prefix is not present in the 	 <strong>non-exist-map</strong> command, the route specified by the 	 <strong>advertise-map</strong> command is announced. Refer to the </a><a href="http://www.cisco.com/en/US/docs/ios/12_1/iproute/configuration/guide/1cdbgp.html#wp1023342">Configuring 	 BGP Conditional Advertisement</a> section of 	 <a href="http://www.cisco.com/en/US/docs/ios/12_1/iproute/configuration/guide/1cdbgp.html">Configuring 	 BGP</a> for more information.</p></blockquote>
<h3><a name="sixteen">Q.    How can I configure BGP to provide load sharing and redundancy in my   network? </a></h3>
<blockquote><p><a name="sixteen"> </a><a name="sixteen"><strong>A. </strong>Use these documents for detailed configuration information:</a></p>
<p><a name="sixteen"> </a></p>
<ul><a name="sixteen"> </a></p>
<li><a name="sixteen"> </a><a href="http://www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a00800945bf.shtml">Load 		Sharing with BGP in Single and Multihomed Environments: Sample 		Configurations</a></li>
<li><a href="http://www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a0080093f2c.shtml">How 		to Use HSRP to Provide Redundancy in a Multihomed BGP 		Network</a></li>
</ul>
</blockquote>
<h3><a name="seventeen">Q.    How much memory should I have in my router to receive the complete BGP   routing table from my ISP?</a></h3>
<blockquote><p><a name="seventeen"> </a><a name="seventeen"><strong>A. </strong>The amount of memory required to store BGP routes depends on many 	 factors, such as the router, the number of alternate paths available, route 	 dampening, community, the number of maximum paths configured, BGP attributes, 	 and VPN configurations. Without knowledge of these parameters it is difficult 	 to calculate the amount of memory required to store a certain number of BGP 	 routes. Cisco typically recommends a minimum of 512 MB of RAM in the router to 	 store a complete global BGP routing table from one BGP peer. However, it is 	 important to understand ways to reduce memory consumption and achieve optimal 	 routing without the need to receive the complete Internet routing table. Refer 	 to </a><a href="http://www.cisco.com/warp/public/459/41.shtml">Achieve Optimal 	 Routing and Reduce BGP Memory Consumption</a> (<span> <a href="http://tools.cisco.com/RPF/register/register.do">registered</a> customers only</span>)          for more detailed 	 information.</p></blockquote>
<h3><a name="eighteen">Q.    What are the benefits of configuring BGP peer groups? </a></h3>
<blockquote><p><a name="eighteen"> </a><a name="eighteen"><strong>A. </strong>The major benefit of specifying a BGP peer group is that it reduces the 	 amount of system resources (CPU and memory) used in an update generation. It 	 also simplifies BGP configuration since it allows the routing table to be 	 checked only once, and updates to be replicated to all other in-sync peer group 	 members. This can significantly reduce the load, which depends on the number of 	 peer group members, the number of prefixes in the table, and the number of 	 prefixes advertised. Cisco recommends that you group together peers with 	 identical outbound announcement policies. Refer to </a><a href="http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080093fb7.shtml">BGP 	 Peer Groups</a> for more detailed information.</p></blockquote>
<h3><a name="nineteen">Q.    What is synchronization, and how does it influence BGP routes installed   in the IP routing table? </a></h3>
<blockquote><p><a name="nineteen"> </a><a name="nineteen"><strong>A. </strong>If your AS passes traffic from another AS to a third AS, BGP should not 	 advertise a route before all routers in your AS learn about the route via IGP. 	 BGP waits until IGP propagates the route within the AS and then advertises it 	 to external peers. A BGP router with synchronization enabled does not install 	 iBGP learned routes into its routing table if it is not able to validate those 	 routes in its IGP. Issue the <strong>no synchronization</strong> command under <strong>router bgp</strong> in order to disable 	 synchronization. This prevents BGP from validating iBGP routes in IGP. Refer to </a><a href="http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.shtml#synch">BGP 	 Case Studies: Synchronization</a> for a more detailed explanation.</p></blockquote>
<h3><a name="twenty">Q.    How do I know which Cisco IOS software release supports a particular BGP   feature?</a></h3>
<blockquote><p><a name="twenty"> </a><a name="twenty"><strong>A. </strong>Use the </a><a href="http://www.cisco.com/pcgi-bin/Support/CompNav/Index.pl">Cisco IOS 	 Software Advisor</a> (<span> <a href="http://tools.cisco.com/RPF/register/register.do">registered</a> customers only</span>)          to quickly find which Cisco IOS software release 	 supports your feature.</p></blockquote>
<h3><a name="twenty-one">Q.    How can I set the Multi Exit Discriminator (MED) value on prefixes   advertised to external BGP (eBGP) neighbors to match the Interior Gateway   Protocol (IGP) next hop metric? </a></h3>
<blockquote><p><a name="twenty-one"> </a><a name="twenty-one"><strong>A. </strong>The <strong>set metric-type internal route-map</strong> configuration command causes BGP to advertise a MED that corresponds to the IGP 	 metric associated with the next hop of the route. This command is available in 	 Cisco IOS Software Release 10.3 and later. Refer to </a><a href="http://www.cisco.com/en/US/docs/ios/12_1/iproute/command/reference/1rdbgp.html">BGP 	 Commands</a> for more information.</p></blockquote>
<h3><a name="twenty-two">Q.    What is the default BGP ConnectRetry timer, and is it possible to tune   the BGP ConnectRetry timer? </a></h3>
<blockquote><p><a name="twenty-two"> </a><a name="twenty-two"><strong>A. </strong>The default BGP ConnectRetry timer is 120 seconds. Only after this time 	 passes does the BGP process check to see if the passive TCP session is 	 established. If the passive TCP session is not established, then the BGP 	 process starts a new active TCP attempt to connect to the remote BGP speaker. 	 During this idle 120 seconds of the ConnectRetry timer, the remote BGP peer can 	 establish a BGP session to it. Presently, the Cisco IOS ConnectRetry timer 	 cannot be changed from its default of 120 seconds. </a></p>
<p><a name="twenty-two"> </a></p></blockquote>
<p><a name="twenty-two"> </a></p>
<h3><a name="twenty-three">Q.    What does <tt>r RIB-Failure</tt> mean in the   <strong>show ip bgp</strong> command   output?</a></h3>
<blockquote><p><a name="twenty-three"> </a></p>
<blockquote>
<pre><a name="twenty-three">R1&#62; <strong>show ip bgp</strong>
BGP table version is 5, local router ID is 200.200.200.1
Status codes: s suppressed, d damped, h history, * valid, &#62; best, i - internal,
              <strong>r RIB-failure</strong>
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
r&#62; 6.6.6.0/24       10.10.13.3               0    130      0 30 i
*&#62; 7.7.7.0/24       10.10.13.3               0    125      0 30 i</a></pre>
</blockquote>
<p><a name="twenty-three"> </a><a name="twenty-three">When BGP tries to install the </a><a href="http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094431.shtml">bestpath</a> prefix into Routing Information Base (RIB) (for example, the IP Routing table), 	 RIB might reject the BGP route due to any of these reasons:</p>
<ul>
<li>Route with better administrative distance already present in IGP. For 		example, if a static route already exists in IP Routing 		table.</li>
<li>Memory failure.</li>
<li>The number of routes in VPN routing/forwarding (VRF) exceeds the 		route-limit configured under the VRF 		instance.</li>
</ul>
<p>In such cases, the prefixes that are rejected for these reasons are 	 identified by <tt>r RIB Failure</tt> in the 	 <strong>show ip bgp</strong> command output and are not advertised to 	 the peers. This feature was first made available in Cisco IOS Software Release 	 12.2(08.05)T.</p></blockquote>
<h3><a name="twenty-four">Q.    How can I redistribute internal BGP (iBGP) learned default-route   (0.0.0.0/0) route into EIGRP/OSPF/IS-IS?</a></h3>
<blockquote><p><a name="twenty-four"> </a><a name="twenty-four"><strong>A. </strong>The redistribution of iBGP routes into Interior Gateway Protocol 	 (IGP)—Enhanced Interior Gateway Routing Protocol/Open Shortest Path 	 First/Intermediate System-to-Intermediate System (EIGRP/OSPF/IS-IS)—can cause 	 routing loops within the Autonomous System, which is not recommended. By 	 default, iBGP redistribution into IGP is disabled. Issue the <strong>bgp 	 redistribute-internal</strong> command in order to enable redistribution 	 of iBGP routes into IGP. Precautions must be taken to redistribute specific 	 routes using route-maps into IGP. A sample configuration for redistributing a 	 iBGP learned default route 0.0.0.0/0 into EIGRP is shown in this output. 	 Configurations for OSPF/IS-IS are similar. </a></p>
<p><a name="twenty-four"> </a></p>
<blockquote>
<pre><a name="twenty-four">router bgp 65345
[...]
<strong>bgp redistribute-internal</strong>
!
router eigrp 10
[...]
redistribute bgp 65345 route-map check-def
!
ip prefix-list def-route seq 5 permit 0.0.0.0/0
!
route-map check-def permit 10
match ip address prefix-list def-route</a></pre>
</blockquote>
<p><a name="twenty-four"> </a></p></blockquote>
<h3><a name="fil">Q.   How can I filter all IP routes advertised to a BGP neighbor except the   default route 0.0.0.0/0?</a></h3>
<blockquote><p><a name="fil"> </a><a name="fil"><strong>A. </strong>The specific routes can be filtered if you use inbound filter-list, 	 distribute-list, prefix-list and route-map all at the same time for the same 	 bgp neighbor. This is the order of operation:</a></p>
<ol type="1"><a name="fil"> </a></p>
<li><a name="fil"> </a><a name="fil">Filter-list </a></li>
<p><a name="fil"> </a></p>
<li><a name="fil"> </a><a name="fil">Router-map </a></li>
<p><a name="fil"> </a></p>
<li><a name="fil"> </a><a name="fil"> Distribute-list (or) prefix-list </a></li>
</ol>
</blockquote>
<h3><a name="prerr">Q.   How to resolve the error <tt>Protocol not in this   image</tt>?</a></h3>
<blockquote><p><a name="prerr"> </a><a name="prerr"><strong>A. </strong>The reason for getting the error message <tt>protocol not in 	 this image</tt> is because BGP feature is not supported in the IOS 	 version running on the router. To resolve this error upgrade the IOS to newer 	 IOS versions that supports BGP.</a></p></blockquote>
<h3><a name="tim">Q.   BGP: timer-wheel running slow by 1 ticks appears in the debug   output.</a></h3>
<blockquote><p><a name="tim"> </a><a name="tim"><strong>A. </strong>This message only shows up when a BGP debug is turned on the router. It 	 is just an informational message and not an error message. This informational 	 message relates to BGP internal timers. This message can be ignored by issuing 	 <strong>undebug all</strong> command.</a></p></blockquote>
<h3><a name="trac">Q.   Is it possible to track an interface and change the route   availability?</a></h3>
<blockquote><p><a name="trac"> </a><a name="trac"><strong>A. </strong>Yes, it is possible to track the state change of an interface and route 	 availability with the Enhanced Object tracking. Refer to </a><a href="http://www.cisco.com/en/US/docs/ios/12_2t/12_2t15/feature/guide/fthsrptk.html">Enhanced 	 Object Tracking</a> for more information.</p></blockquote>
<h3><a name="mem">Q.   How does IP RIB Update allocate memory?</a></h3>
<blockquote><p><a name="mem"> </a><a name="mem"><strong>A. </strong> IP RIB Update allocates the prefixes, and attributes are held in 	 chunks. It is not possible to free the entire chunk until every element in the 	 chunk is freed. If more routes are learned, then those free elements in the 	 chunks are used. </a></p></blockquote>
<p></span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[All About BGP]]></title>
<link>http://as5lanx.wordpress.com/?p=113</link>
<pubDate>Sat, 27 Sep 2008 08:20:44 +0000</pubDate>
<dc:creator>as5lanx</dc:creator>
<guid>http://as5lanx.pt.wordpress.com/2008/09/27/all-about-bgp/</guid>
<description><![CDATA[Dapatkah Anda bayangkan bagaimana dunia Internet sebenarnya? Marilah kita urai satu per satu. Dunia ]]></description>
<content:encoded><![CDATA[<p>Dapatkah Anda bayangkan bagaimana dunia Internet sebenarnya? Marilah kita urai satu per satu. Dunia Internet juga memiliki daratan, kota, dan penduduk seperti halnya dunia sungguhan. Pulau-pulau, daratan besar, dan benua di dunia Internet adalah ruangan-ruangan NOC dan data center dari penyedia jasa backbone Internet di seluruh dunia atau sering disebut dengan istilah Network Access Point (NAP) Provider. ISP-ISP yang berada di bawah penyedia jasa backbone Internet ini adalah kota-kota besar dan kota metropolitannya.<br />
ISP sebagai kota metropolitan isinya juga terdiri dari kota-kota kecil dan area-area lainnya. Kota-kota kecil dan area lain, yaitu server-server dan perangkat jaringan yang jumlahnya sangat banyak yang bertugas sebagai pelayan para pengguna. Point Of Presence (POP) milik ISP yang tersebar di area sekitar ISP juga merupakan kota-kota kecil di dalam ISP. Di dalam kota-kota kecil tersebut, terdapatlah penduduk yang beraktivitas di dalamnya. Penduduk dari dunia Internet ini adalah Anda para pengguna Internet, yang seluruhnya adalah juga penduduk dunia nyata.<br />
Di dalam dunia Internet komunikasi antarpenduduk juga merupakan kebutuhan vital. Bukan hanya vital, justru keperluan berkomunikasilah sumber dan cikal bakal dari terciptanya dunia Internet. Untuk dapat melayani penduduknya berkomunikasi, dibuatlah jalan-jalan penghubungnya. Jalan penghubung dunia Internet adalah media komunikasi data yang jenisnya sangat banyak.<br />
Sebuah jalan kecil dan setapak mungkin dapat dibentuk oleh sebuah line telepon yang biasa ada di rumah-rumah Anda. Jalan yang agak besar mungkin dapat dibentuk oleh koneksi leased line, ADSL, Cable, ISDN, dan banyak lagi. Jalan raya yang besar mungkin bisa Anda bangun dengan koneksi E1 2 Mbps, Fiber Optic, koneksi Fast ethernet, dan banyak lagi. Jalan udara yang tidak berkelok-kelok dapat digunakan media wireless. Semua koneksi tersebut adalah pembuka jalur komunikasi ke dunia Internet.<br />
Namun, sampai di sini cara kerja dunia Internet mulai berbeda dengan dunia nyata. Jalan-jalan yang di bentuk di dunia Internet harus terkoneksi ke kota-kota kecil, yaitu server-server remote access dan perangkat jaringan. Perangkat tersebut adanya di ISP, ibu kota dari penduduk tersebut. Dengan demikian, semua komunikasi yang terjadi antarpara penduduk di Internet harus melewati ibu kotanya dulu. Baik penduduk yang ada di satu kota maupun dengan penduduk yang ada di belahan Bumi lainnya.<br />
Jika masih dalam satu kota, ISP tidak perlu melempar sesi komunikasi penduduknya keluar benua, karena jika masih satu daerah biasanya ada jalan singkat menuju ke situs lokal. Jalan singkat inilah yang sering kita kenal dengan istilah Internet Exchange.<br />
Internet Exchange merupakan kumpulan dari seluruh ISP yang ada di sebuah daerah. Tujuannya adalah agar jalur komunikasi dalam sebuah geografis yang sama tidak perlu dilarikan ke luar benua Internet. Di Indonesia, Internet Exchange-nya adalah bernama Indonesia Internet Exchange (IIX).<br />
Jalan singkat lain juga dapat terbentuk kalau sebuah ISP memiliki jalur pribadi khusus yang menghubungkannya dengan ISP lain. Jalur pribadi ini sering disebut dengan istilah Private peering. Jalur ini bagaikan jalan tol lintas provinsi yang dapat langsung menghubungkan penduduk di dalamnya tanpa harus berkelok-kelok lagi.</p>
<p>Bagaimana jika situs yang ingin dituju ternyata berada di benua Internet lain? Mau tidak mau ISP harus melempar sesi komunikasi tersebut ke benua Internet yang terdekat ke situs tersebut. Atau paling tidak ke NAP-NAP provider yang berada di atas ISP tersebut. Kemudian NAP provider-lah yang membangun jalur komunikasi antarbenua Internet lain dan mencarikan jalan terbaik menuju ke situs tujuan.<br />
Untuk menuju ke sebuah situs tujuan tentu juga akan melewati benua-benua dan juga kota-kota lain di belahan dunia Internet lain. Begitu seterusnya sehingga dunia Internet terbentuk sedemikian besarnya saat ini. Jadi inti sebenarnya Internet adalah merupakan kumpulan dari jaringan-jaringan kecil yang dijadikan satu.<br />
Untuk melayani penggunanya untuk berkomunikasi dengan situs atau pengguna yang berada di benua lain, ISP harus memiliki sebuah komponen penting, yaitu informasi rute menuju ke lokasi yang diinginkan penggunanya. ISP tempat Anda terkoneksi mutlak harus mengetahui jalur-jalur mana saja yang dapat digunakan untuk menyambungkan komunikasi para penggunanya. Jalan-jalan yang banyak terbentang di dunia Internet mau tidak mau harus dikumpulkan oleh ISP untuk kemudian disimpan atau disebarkan lagi ke<br />
penggunanya.<br />
Proses pengumpulan dan maintenance informasi rute inilah yang terpenting dalam proses terjadinya Internet. Terjadinya proses ini merupakan tugas utama dari sebuah routing protocol. Untuk menangani tugas ini, dunia Internet mempercayakan satu nama routing protocol, yaitu BGP.<br />
Apakah BGP?<br />
Border Gateway Protocol atau yang sering disingkat BGP merupakan salah satu jenis routing protocol yang ada di dunia komunikasi data. Sebagai sebuah routing protocol, BGP memiliki kemampuan melakukan pengumpulan rute, pertukaran rute dan menentukan rute terbaik menuju ke sebuah lokasi dalam jaringan. Routing protocol juga pasti dilengkapi dengan algoritma yang pintar dalam mencari jalan terbaik. Namun yang membedakan BGP dengan routing protocol lain seperti misalnya OSPF dan IS-IS ialah, BGP termasuk dalam kategori routing protocol jenis Exterior Gateway Protocol (EGP). Apa lagi itu EGP?<br />
Sesuai dengan namanya, Exterior, routing protocol jenis ini memiliki kemampuan melakukan pertukaran rute dari dan ke luar jaringan lokal sebuah organisasi atau kelompok tertentu. Organisasi atau kelompok tertentu diluar organisasi pribadi sering disebut dengan istilah autonomous system (AS). Maksudnya rute-rute yang dimiliki oleh sebuah AS dapat juga dimiliki oleh AS lain yang berbeda kepentingan dan otoritas. Begitu juga dengan AS tersebut dapat memiliki rute-rute yang dipunya organisasi lain. Apa untungnya organisasi lain memiliki rute milik organisasi Anda dan sebaliknya?<br />
Keuntungannya adalah organisasi Anda bisa dikenal oleh organisasi-organisasi lain yang Anda kirimi rute. Setelah dikenali rute-rute menuju lokasi Anda, banyak orang yang dapat berkomunikasi dengan Anda. Selain itu, Anda juga menerima rute-rute menuju ke organisasi lain, sehingga Anda juga dapat membangun komunikasi dengan para pengguna yang tergabung di organisasi lain. Dengan demikian, komunikasi dapat semakin luas menyebar.<br />
BGP dikenal sebagai routing protocol yang sangat kompleks dan rumit karena kemampuannya yang luar biasa ini, yaitu melayani pertukaran rute antarorganisasi yang besar. Routing protocol ini memiliki tingkat skalabilitas yang tinggi karena beberapa organisasi besar dapat dilayaninya dalam melakukan pertukaran routing, sehingga luas sekali jangkauan BGP dalam melayani para pengguna jaringan.<br />
Apa yang akan terjadi jika banyak organisasi di dunia ini yang saling berkumpul dan bertukar informasi routing? Yang akan dihasilkan dari kejadian ini adalah INTERNET. Maka dari itu, tidak salah jika BGP mendapat julukan sebagai inti dari eksisnya dunia Internet.<br />
Apakah Autonomous System?<br />
Analogi Autonomous System atau sering disingkat AS adalah bagaikan sebuah perusahaan tempat Anda bekerja. Sebuah perusahaan memiliki peraturannya sendiri, memiliki struktur organisasi sendiri, memiliki produknya sendiri, memiliki gayanya sendiri dalam berbisnis dan memiliki privasinya sendiri. Semua itu, tidak perlu diketahui oleh orang lain di luar perusahaan Anda, bukan?.<br />
Namun, apa jadinya jika perusahaan tersebut menghasilkan sebuah produk yang harus dijual ke masyarakat? Tentu pertama-tama produk itu haruslah diketahui orang lain di luar perusahaan tersebut. Produk hasilnya diketahui orang lain bukan berarti seluruh isi perut perusahaan tersebut bisa diketahui oleh pihak lain, bukan? Kira-kira analogi Autonomous System dalam BGP sama seperti ini.<br />
Jaringan internal sebuah organisasi bisa terdiri dari berpuluh-puluh bahkan ratusan perangkat jaringan dan server. Semuanya bertugas melayani kepentingan organisasi tersebut, sehingga otoritas dan kontrolnya hanya boleh diatur oleh organisasi tersebut. Cisco System, sebuah perusahaan pembuat perangkat jaringan mendefinisikan Autonomous System sebagai â€œSekumpulan perangkat jaringan yang berada di bawah administrasi dan strategi routing yang samaâ€.<br />
Autonomous System biasanya ditentukan dengan sistem penomoran. Sistem penomoran AS di dunia Internet diatur oleh organisasi Internet bernama IANA. Apa dan bagaimana sistem penomoran AS number ini akan dibahas di bawah nanti?</p>
<p>Apa Analogi untuk BGP?<br />
Jika AS diumpamakan sebagai sebuah perusahaan, routing protocol BGP dapat diumpamakan sebagai divisi marketing dan promosi dalam sebuah perusahaan. Divisi marketing memiliki tugas menginformasikan dan memasarkan produk perusahaan tersebut. Divisi marketing memiliki tugas menyebarkan informasi seputar produk yang akan dijualnya. Dengan berbagai siasat dan algoritma di dalamnya, informasi tersebut disebarkan ke seluruh pihak yang menjadi target pasarnya. Tujuannya adalah agar mereka mengetahui apa produk tersebut dan di mana mereka bisa mendapatkannya.<br />
Selain itu, divisi marketing juga memiliki tugas melakukan survai pasar yang menjadi target penjualan produknya. Para pembeli dan pengecer produk juga akan memberikan informasi seputar keinginan dan kebutuhan mereka terhadap produk yang dijual perusahaan tersebut. Divisi marketing juga perlu mengetahui bagaimana kondisi, prosepek, rute perjalanan, karakteristik tertentu dari suatu daerah target penjualannya. Jika semua informasi tersebut sudah diketahui, maka akan diolah menjadi sebuah strategi marketing yang hebat.<br />
BGP memiliki tugas yang kurang lebih sama dengan divisi marketing dan promosi pada sebuah perusahaan. Tugas utama dari BGP adalah memberikan informasi tentang apa yang dimiliki oleh sebuah organisasi ke dunia di luar. Tujuannya adalah untuk memperkenalkan pada dunia luar alamat-alamat IP apa saja yang ada dalam jaringan tersebut. Setelah dikenal dari luar, server-server, perangkat jaringan, PC-PC dan perangkat komputer lainnya yang ada dalam jaringan tersebut juga dapat dijangkau dari dunia luar. Selain itu, informasi dari luar juga dikumpulkannya untuk keperluan organisasi tersebut berkomunikasi dengan dunia luar.<br />
Dengan mengenal alamat-alamat IP yang ada di jaringan lain, maka para pengguna dalam jaringan Anda juga dapat menjangkau jaringan mereka. Sehingga terbukalah halaman web Yahoo, search engine Google, toko buku Amazon, dan banyak lagi.<br />
Mengapa Menggunakan BGP?<br />
BGP merupakan satu-satunya routing protocol yang dapat digunakan untuk menghubungkan dua organisasi besar yang berbeda kepentingan. Meskipun routing protocol jenis EGP bukan hanya BGP saja, namun tampaknya BGP sudah menjadi standar internasional untuk keperluan ini. Hal ini dikarenakan BGP memiliki fitur-fitur yang luar biasa banyak dan fleksibel.<br />
Mulai dari pengaturan frekuensi routing update, sistem pembangunan hubungan dengan AS tetangga, sistem hello, policy-policy penyebaran informasi routing, dan banyak lagi fitur lain yang dapat Anda modifikasi dan utak-atik sendiri sesuai dengan selera. Maka dari itu BGP merupakan routing protocol yang dapat dikontrol sebebasbebasnya oleh pengguna. Dengan demikian, banyak sekali kebutuhan yang dapat terpenuhi dengan menggunakan BGP.<br />
BGP juga sangat tepat jika sebuah perusahaan memiliki jalur menuju internet yang berjumlah lebih dari satu. Kondisi jaringan dimana memiliki jalur keluar lebih dari satu buah ini sering disebut dengan istilah multihoming. Jaringan multihoming pada umumnya adalah jaringan berskala sedang sampai besar seperti misalnya ISP, bank, perusahaan minyak multinasional, dan banyak lagi. Biasanya jaringan ini memiliki blok IP dan nomor AS sendiri.<br />
Peranan BGP dalam jaringan multihoming ini sangat besar. Pertama, BGP akan berperan sebagai routing protocol yang melakukan pertukaran routing dengan ISP atau NAP yang berada di atas jaringan ini. Kedua, BGP dengan dipadukan oleh pengaturan policy-policynya yang sangat fleksibel dapat membuat sistem load balancing traffic yang keluar masuk. Bagaimana membuat sistem load balancing dengan menggunakan BGP akan dibahas pada artikel edisi berikutnya.<br />
Selain itu, BGP juga merupakan routing protocol yang sangat reliable kerjanya. Hal ini dikarenakan BGP menggunakan protokol TCP untuk berkomunikasi dengan tetangganya<br />
dalam melakukan pertukaran informasi. TCP merupakan protokol yang menganut sistem reliable service, di mana setiap sesi komunikasi yang dibangun berdasarkan protokol ini harus dipastikan sampai tidaknya.<br />
Pemastian ini dilakukan menggunakan sistem Acknowledge terhadap setiap sesi komunikasi yang terjadi. Dengan demikian, hampir tidak ada informasi routing dari BGP yang tidak sampai ke perangkat tujuannya. Routing protocol BGP yang sekarang banyak<br />
digunakan adalah BGP versi 4 atau lebih sering disingkat sebagai BGP-4.<br />
Bagaimana Karakteristik BGP?<br />
Kecanggihan dan kerumitan BGP sebenarnya dapat diperjelas intinya dengan beberapa karakteristik kunci. Berikut ini adalah karakteristik routing protokol BGP yang<br />
menandakan ciri khasnya:<br />
â€¢ BGP adalah Path Vector routing protocol yang dalam proses menentukan rute-rute terbaiknya selalu mengacu kepada path yang terbaik dan terpilih yang didapatnya dari router BGP yang lainnya.<br />
â€¢ Routing table akan dikirim secara penuh pada awal dari sesi BGP, update selanjutnya hanya bersifat incremental atau menambahi dan mengurangi routing yang sudah ada saja.<br />
â€¢ Router BGP membangun dan menjaga koneksi antar-peer menggunakan port TCP nomor 179.<br />
â€¢ Koneksi antar-peer dijaga dengan menggunakan sinyal keepalive secara periodik.<br />
â€¢ Kegagalan menemukan sinyal keepalive, routing update, atau sinyal-sinyal notifikasi lainnya pada sebuah router BGP dapat memicu perubahan status BGP peer dengan router lain, sehingga mungkin saja akan memicu update-update baru ke router yang lain.<br />
â€¢ Metrik yang digunakan BGP untuk menentukan rute terbaik sangat kompleks dan dapat dimodifikasi dengan sangat fleksibel. Ini merupakan sumber kekuatan BGP yang sebenarnya. Metrik-metrik tersebut sering disebut dengan istilah Attribute.<br />
â€¢ Penggunaan sistem pengalamatan hirarki dan kemampuannya untuk melakukan manipulasi aliran traffic membuat routing protokol BGP sangat skalabel untuk perkembangan jaringan dimasa mendatang.<br />
â€¢ BGP memiliki routing table sendiri yang biasanya memuat informasi prefix-prefix routing yang diterimanya dari router BGP lain. Prefixprefix ini juga disertai dengan informasi atributnya yang dicantumkan secara spesifik di dalamnya.<br />
â€¢ BGP memungkinkan Anda memanipulasi traffic menggunakan attribute-attributenya yang cukup banyak. Attribute ini memiliki tingkat prioritas untuk dijadikan sebagai<br />
acuan.<br />
Kapan Saatnya Tidak Menggunakan BGP?<br />
Seperti dijelaskan di atas, BGP merupakan routing protocol yang kompleks dan sulit untuk di-maintain. Dengan demikian, penggunaannya diperlukan keahlian khusus dan juga perangkat router berkemampuan proses yang tinggi. Untuk itu, perencanaan yang baik sangat diperlukan untuk menggunakan BGP. Ada kalanya Anda tidak perlu menggunakan routing protocol ini dalam berhubungan dengan AS lain. Jangan gunakan BGP untuk jaringan dengan situasi seperti berikut ini:<br />
â€¢ Hanya ada satu buah koneksi yang menuju ke Internet atau ke AS lain. Jaringan ini sering disebut dengan istilah singlehoming.<br />
â€¢ Policy routing untuk ke Internet dan pemilihan jalur terbaik tidak terlalu diperlukan dalam sebuah AS.<br />
â€¢ Perangkat router yang akan digunakan untuk menjalankan BGP tidak memiliki cukup memory dan tenaga processing untuk menangani update informasi dalam jumlah besar dan konstan.<br />
â€¢ Keterbatasan pengetahuan dan kemampuan para administrator jaringannya dalam hal policy routing dan karakteristik BGP lainnya.<br />
â€¢ Bandwidth yang kecil yang menghubungkan AS yang satu dengan lainnya.<br />
Inti Internet yang Rumit<br />
Terjadinya sebuah dunia bernama Internet memang sangat rumit. Bagaimana tidak pasalnya semua manusia yang ada di dunia ini ingin dapat dilayani permintaan komunikasinya, tentu sangat rumit, bukan? Kerumitannya ini terlihat juga pada routing protocol yang bertugas mengatur dan menciptakan komunikasi tersebut, yaitu BGP.<br />
BGP memang sangat rumit, namun juga sangat bertenaga dalam melayani kebutuhan penduduk dunia akan internet. Karena kerumitan dan keunikannya inilah BGP begitu menarik untuk dipelajari. Namun untuk mempelajari lebih dalam lagi mungkin perlu training khusus dan pengalaman bertahun-tahun. Anda dapat mengetahui bagaimana dunia internet yang sebenarnya dari mempelajari BGP. Pada edisi selanjutnya akan dibahas bagaimana cara kerja BGP, atribut-atribut BGP, dan pernak-pernik lainnya. Selamat belajar!</p>
<p>http://www.pcmedia.co.id</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[BGP Keyword]]></title>
<link>http://paulwolee.wordpress.com/?p=6</link>
<pubDate>Mon, 22 Sep 2008 13:29:05 +0000</pubDate>
<dc:creator>paulwolee</dc:creator>
<guid>http://paulwolee.pt.wordpress.com/2008/09/22/bgp-keyword/</guid>
<description><![CDATA[There are three most important keywords which we should have in mind while setting up BGP neighbor ]]></description>
<content:encoded><![CDATA[<p>There are three most important keywords which we should have in mind while setting up BGP neighbor relationship. Even sometimes when we have successful BGP relationship, we are not able to see routes in the routing table. Following are the three important keywords.</p>
<p>1)ebgp-multihop :- In EBGP, neighbor relationships are only formed if we have directly connected networks. We would require to use ebgp-multihop  keyword with neighbor statement so that neighbors which are not directly connected can form relationship with each other. We need to specify a number with ebgp-multihop keyword, number can be between 1-255. This number represents how many hop counts is the router away.</p>
<p>2)update-source. We need to specify the interface which will be used to update neighbor table incase routers are not directly connected. Without update-source we will not be able to form BGP neighbor relationships. update-source keyword will update the interface which will be used to form neighbor relationship. see configuration example below for better understanding.</p>
<p>3) next-hop-self:- When ebgp relation replicates , next hop always changes.IBGP  routers only connected with other ibgp routers in same AS will not be able to talk with routers outside the AS, if they are not directly connected with each other. We would require a next-hop-self keyword in the ibgp router which is directly connected with ebgp neighbor so that other router in same AS (IBGP) can talk with ebgp routers. Refer to configuration examples below:-</p>
<p>Lets assume that we have three routers and we have to setup a ebgp relationship in between them.  Router A ( AS :- 34 Serial0 192.168.1.1 , loopback0 1.1.1.1) , RouterB ( AS 34, loopback0 2.2.2.2 , Serial0 192.168.1.2 , Serial1 172.16.1.1), RouterC ( AS 400 , loopback0 3.3.3.3, Serial0 172.16.1.2)</p>
<p>Lets start configuring Router A</p>
<p>router BGP 34 –&#62; As soon as we type 34 BGP process will start in the background<br />
neighbor 192.168.1.2 remote-as 34  –&#62; Bgp will know that this is IBGP looking at  AS<br />
 </p>
<p>Router B</p>
<p>router BGP 34<br />
neighbor 192.168.1.1 remote-as 34<br />
neighbor 172.16.1.2 remote-as 400  –&#62; neighbor relationship with ebgp peer.<br />
neighbor 3.3.3.3 remote-as 400<br />
neighbor 3.3.3.3 ebgp-multihop 255  –&#62;  255 is number of hops that neighbor is away. we can use any number from 1-255, it can be more specific by using 1 or 2 but my personal fav is 255 as it avoids confusion.<br />
neighbor 3.3.3.3 update-source loopback 0 –&#62; Here is the idea, when its sourcing the packets its sourcing it from serial interface, we need to inform the otherside that source interface is not serial interface, it is looback interface so that it cann match ip ip’s with the right interface and form neighbor relationship.</p>
<p>we would require to do similar configuration on router c</p>
<p>router bgp 400<br />
neighbor 172.16.1.1 remote-as 34<br />
neighbor 2.2.2.2 remote-as 34<br />
neighbor 2.2.2.2 ebgp-multihop 255<br />
neighbor 2.2.2.2 update-source loopback 0</p>
<p>Now after forming the neighbro relationships we’ll use network commands to add neighbors in routing table. Network command in BGP is bit different then Network command in other routing protocols. we ‘ll  need to define mask keywork with network command in order to advertise clasless network where as if it is using a default mask we can ignore the same.</p>
<p>Example</p>
<p>Router C</p>
<p>router bgp 400<br />
neighbor 172.16.1.0 mask 255.255.255.0<br />
note:- i cannot use network 172.16.0.0 command without mask keyword as it will treat this as  class B network. For any customised subnetting scheme we ‘ll need to specify subnet mask with mask keyword in network command.</p>
<p>Even after configuring above, Router A will not be able to talk with Router C. If we will use show ip bgp command on Router A. we’ll see that it has a valid route for Router C but it will not be able to ping router c. This is because next hop will be 3.3.3.3 which is not directly connected with Router A. . First thing which will come in our mind is that rule of synchronisation has taken in to effect but even after disabling synchronisation between router a and router B, Router C will not be reachable. we would need a special command on Router B so that all IBGP peers of AS 34 can talk with AS 400</p>
<p>To troubleshoot this we can use “debug ip bgp updates” but before using this debug we should use ” clear ip bgp *” command. We’ll see that it will show us that there is no valid path for networks in Router C. Next hop should be Router B but in the updates it will show next hp as router c. to avoid the we will use next-hop self keyword in Router B.</p>
<p>Router B</p>
<p>router bgp 34</p>
<p>neighbor 192.168.1.1 next-hop-self</p>
<p>When Router B is sending an update to Router A it is sending the update without changging its next hop so router A will receive next hop as Router C which is not directly connected. To avoid this we will use next-hop-self command in Router B so that router A should receve valid route.</p>
<p><a href="http://ciscotips.wordpress.com/2006/09/18/bgp-quick-tips/">http://ciscotips.wordpress.com/2006/09/18/bgp-quick-tips/</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[BGP...un altro buco nella sicurezza di Internet]]></title>
<link>http://installatore.wordpress.com/?p=40</link>
<pubDate>Tue, 16 Sep 2008 12:56:13 +0000</pubDate>
<dc:creator>installatore</dc:creator>
<guid>http://installatore.pt.wordpress.com/2008/09/16/bgpun-altro-buco-nella-sicurezza-di-internet/</guid>
<description><![CDATA[Al DefCon,due esperti di networking (Alex Pilosovand Anton &#8220;Tony&#8221; Kapela) hanno dimostra]]></description>
<content:encoded><![CDATA[<p>Al DefCon,due esperti di networking (Alex Pilosovand Anton "Tony" Kapela) hanno dimostrato come sia possibile sfruttare la troppa credibilità ,che il protocollo bgp dà alle informazioni interscambiate tra i router dei vari ISP,  esponendo il fianco a possibili attacchi man-in-the-middle (MiM).</p>
<p><strong>Funzionamento del BGP</strong></p>
<p>Questo protocollo di routing non fà altro che tramite una serie di algoritmi calcolare la "best" path verso una determinata sottorete.Una volta calcolata,questa viene "spreadata" a tutti i router vicini definiti "neighbour".BGP inoltre riterrà una route come la più favorità quanto più sia vicina alla rete di destinazione.Ecco un esempio....</p>
<p><span style="font-family:Courier New;">Network          Next Hop           Metric LocPrf Weight Path<span style="font-family:Courier New;">  *&#62;  151.1.0.0/16      5.198.4.2             0    100      0  100 ?</p>
<p></span></span></p>
<p> </p>
<p><span style="font-family:Courier New;">  *&#62;  151.1.3.0/24     5.198.4.3             0    100      0  100 ?</span><br />
Qui sopra vediamo riportato l'output di una entry BGP,ritornando al discorso cominciato sopra se per esempio noi dobbiamo raggiungere l'indirizzo 151.1.3.34 la best path sarà la seconda perchè è più "vicina" rispetto alla prima in quanto lnella seconda entry viene annunciata una sottorete più completa rispetto alla prima e quindi più simile all'indirizzo ip che dobbiamo raggiungere.</p>
<p><strong>Dove stà l'inghippo....</strong></p>
<p>Visto che BGP prenderà come vere ogni aggiornamento sulle route e eleggerà come best path quella più vicina all'ip di destinazione....un male intenzionato potrebbe "spreadare" un falso update BGP per dirottare il traffico verso un determinato indirizzo ip verso un altro e verrebbe sempre considerato vero dai router e verrà annunciato a tutti i "neighbour".</p>
<p>Un evento del genere era già capitato per sbaglio a You Tube quando la Telecom Pakistana ha cominciato a "spreadare" update BGP errati sulla route verso you tube questo ha causato l'irraggiungibilità del sito per diverse ore.Potete leggerne di più qui <a href="http://news.bbc.co.uk/1/hi/technology/7262071.stm">http://news.bbc.co.uk/1/hi/technology/7262071.stm</a></p>
<p>Purtroppo la facilità con cui si può creare un router BGP e quindi poter spargere falsi update è molto semplice come è dimostrato dall'articolo qui sotto dove viene creato utilizzando un semplice Mac Mini. <a href="http://www.fubra.com/blog/2007/10/mac-mini-bgp-routers-part-2.html">http://www.fubra.com/blog/2007/10/mac-mini-bgp-routers-part-2.html</a></p>
<p>Riporto qui di seguito il file di presentazione power point utilizzato dai due esperti per il DefCon.</p>
<p><a href="http://installatore.wordpress.com/files/2008/09/edited-iphd-2.ppt">http://installatore.wordpress.com/files/2008/09/edited-iphd-2.ppt</a></p>
<p>Ovviamente per ovviare a questa mancanza nel protocollo ,che è il più usato per il collegamento tra i vari ISP,si è studiato una soluzione chiamata S-BGP (Secure BGP) che consiste in tutta una serie di collegamenti cifrati tramite IPsec e certificati per rendere sicuro l'interscambio di informazioni tra i vari Enterprise router.Questo sicuramente eliminerebbe il problema ,ma comporterebbe un notevole esborso in termini di denaro per sostituire tutti i router ormai obsoleti che a causa della limitata potenza di calcolo oltrechè alla memoria ristretta nonchè all'altissimo numero di collegamenti che reggono,che non reggerebbero di certo il nuovo protocollo.</p>
<p>Come conclusione citando Douglas Maughan( cybersecurity research program manager for the DHS's Science and Technology Directorate)</p>
<p>The only thing that can force them (to fix BGP) is if their customers ... start to demand security solutions</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[BGP-Peer, Memisahkan Routing dan Bandwidth Management ]]></title>
<link>http://kutchlux.wordpress.com/?p=612</link>
<pubDate>Tue, 16 Sep 2008 09:32:29 +0000</pubDate>
<dc:creator>kutchlux</dc:creator>
<guid>http://kutchlux.pt.wordpress.com/2008/09/16/bgp-peer-memisahkan-routing-dan-bandwidth-management/</guid>
<description><![CDATA[Dalam artikel ini, akan dibahas cara untuk melakukan BGP-Peer ke BGP Router Mikrotik Indonesia untuk]]></description>
<content:encoded><![CDATA[<p style="text-align:justify;"><img class="alignleft" src="http://www.cisco.com/en/US/i/100001-200000/150001-160000/155001-156000/155752.jpg" alt="" width="160" height="173" />Dalam artikel ini, akan dibahas cara untuk melakukan BGP-Peer ke BGP Router Mikrotik Indonesia untuk melakukan pemisahan gateway untuk koneksi internet internasional dan OpenIXP (NICE). Setelah pemisahan koneksi ini dilakukan, selanjutnya akan dibuat queue untuk tiap klien, yang bisa membatasi penggunaan untuk bandwidth internasional dan OpenIXP (NICE).</p>
<p><a href="http://kutchlux.com/blog/?p=63">klik disini</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Routing BGP single default route]]></title>
<link>http://giat501.wordpress.com/?p=340</link>
<pubDate>Fri, 12 Sep 2008 10:22:35 +0000</pubDate>
<dc:creator>giat501</dc:creator>
<guid>http://giat501.pt.wordpress.com/2008/09/12/routing-bgp-single-default-route/</guid>
<description><![CDATA[Konfigurasi BGP dengan single default route merupakan settingan routing untuk mengenal routing netwo]]></description>
<content:encoded><![CDATA[<p style="text-align:justify;">Konfigurasi <a href="http://giat501.wordpress.com/2008/07/12/bgp-border-gateway-protocol/" target="_blank"><span style="color:#0000ff;">BGP</span></a> dengan single default route merupakan settingan routing untuk mengenal routing network yang berada diluar routing tabel yang ada. Misalnya terdapat suatu interkoneksi dengan ISP(internet service provider) dengan router tetangga/neighbor hal ini akan membuat routing pada ISP tidak akan sampai ke router yang kita miliki(konfigurasi). Untuk ini kita membutuhkan konfigurasi router BGP yakni <span style="color:#0000ff;"><em><strong>Default-originate</strong></em></span>, settingan tersebut akan membuat routing pada ISP dapat sampai ke router kita.Sebagai contoh di bawah ini<br />
akan menjelaskan konfigurasi router BGP dengan Default-originate.</p>
<p style="text-align:justify;"><a href="http://giat501.wordpress.com/files/2008/09/default-originate11.jpg"><img class="aligncenter size-full wp-image-341" title="default-originate11" src="http://giat501.wordpress.com/files/2008/09/default-originate11.jpg" alt="" width="679" height="271" /></a> Penjelasan pada gambar dimana pada kedua router saling terhubung dengan memakai nomor AS sama AS-1. Router A terkoneksi ke Router B dengan network 10.1.1.0 kedua router tersebut dapat saling berkomunikasi tanpa ada halangan. Router B terkoneksi dengan ISP atau Internet dengan network address 10.1.2.0/30 hal ini akan membuat router A tidak bisa mengenal network tersebut karena berada diluar routing tabel router A, untuk itu diperlukan konfigurasi default-route agar network luar dapat dikenal. Berbeda settingan default-router untuk router BGP, kali ini BGP akan memakai settingan sendiri yakni <strong>default-originate</strong>.</p>
<p style="text-align:justify;">Default-originate akan menerangkan network diluar tabel routing yang kita miliki. Sama halnya dengan settigan routing default-route dipakai untuk routing internal.</p>
<p style="text-align:justify;"><strong>Router A</strong></p>
<p style="padding-left:30px;"><span style="color:#0000ff;">router bgp 1</span></p>
<p><span style="color:#0000ff;"> </span></p>
<p style="padding-left:30px;"><span style="color:#0000ff;">neighbor 10.1.1.2 remote-as 1</span></p>
<p><span style="color:#0000ff;"> </span></p>
<p style="padding-left:30px;"><span style="color:#0000ff;">no sync</span></p>
<p><strong>Router B</strong></p>
<p style="padding-left:30px;"><span style="color:#0000ff;">router bgp 1</span></p>
<p><span style="color:#0000ff;"> </span></p>
<p style="padding-left:30px;"><span style="color:#0000ff;">neighbor 10.1.1.1 remote-as 1</span></p>
<p><span style="color:#0000ff;"> </span></p>
<p style="padding-left:30px;"><span style="color:#0000ff;">neighbor 10.1.1.1 default-originate route-map exists</span><span style="color:#0000ff;"><br />
</span><span style="color:#0000ff;"> !</span></p>
<p><span style="color:#0000ff;"> </span></p>
<p style="padding-left:30px;"><span style="color:#0000ff;">access-list 1 permit 10.1.2.0 0.0.0.3</span></p>
<p><span style="color:#0000ff;"> </span></p>
<p style="padding-left:30px;"><span style="color:#0000ff;">!</span></p>
<p><span style="color:#0000ff;"> </span></p>
<p style="padding-left:30px;"><span style="color:#0000ff;">route-map exists permit 10</span></p>
<p><span style="color:#0000ff;"> </span></p>
<p style="padding-left:30px;"><span style="color:#0000ff;">match ip address 1</span></p>
<p style="text-align:justify;">Konfigurasi diatas merupakan settingan pada router BGP untuk mendapatkan tabel routing ISP yang akan diperkenalkan pada Router A. Konfigurasi router B akan mengenal network internet kedalam tabel routing BGP router B sehingga router A dapat mengenal network tersebut. Setelah konfigurasi dilakukan coba periksa hasilnya pada tabel routing masing – masing router baik router A dan B dengan command show ip route untuk routing tabel dan show ip route bgp untuk tabel routing bgp. Apabila pada tabel routing tiap–tiap router menunjukan network address ISP/Internet tersebut berarti konfigurasi yang dilakukan berhasil kalo tidak coba lakukan verifikasi ulang terhadap konfigurasi masing -  masing router.</p>
<p style="text-align:justify;"><strong>routerA#show ip bgp</strong></p>
<p style="padding-left:30px;"><span style="color:#0000ff;">BGP table version is 3, local router ID is 172.17.1.1</span></p>
<p><span style="color:#0000ff;"> </span></p>
<p style="padding-left:30px;"><span style="color:#0000ff;">Status codes: s suppressed, d damped, h history, * valid, &#62; best, i - internal</span></p>
<p><span style="color:#0000ff;"> </span></p>
<p style="padding-left:30px;"><span style="color:#0000ff;">Origin codes: i - IGP, e - EGP, ? - incomplete</span></p>
<p><span style="color:#0000ff;"> </span></p>
<p style="padding-left:30px;"><span style="color:#0000ff;">Network          Next Hop            Metric LocPrf Weight Path</span></p>
<p><span style="color:#0000ff;"> </span></p>
<p style="padding-left:30px;"><span style="color:#0000ff;">*&#62;i0.0.0.0          10.1.1.2                      100      0 i</span></p>
<p><span style="color:#0000ff;"> </span></p>
<p style="padding-left:30px;"><span style="color:#0000ff;">*&#62;i10.1.2.0/30      10.1.1.2                 0    100      0 i</span></p>
<p style="text-align:justify;"><strong>routerA#show ip route</strong></p>
<p style="padding-left:30px;"><span style="color:#0000ff;">Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP</span></p>
<p><span style="color:#0000ff;"> </span></p>
<p style="padding-left:30px;"><span style="color:#0000ff;">D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area</span></p>
<p><span style="color:#0000ff;"> </span></p>
<p style="padding-left:30px;"><span style="color:#0000ff;">N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2</span></p>
<p><span style="color:#0000ff;"> </span></p>
<p style="padding-left:30px;"><span style="color:#0000ff;">E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP</span></p>
<p><span style="color:#0000ff;"> </span></p>
<p style="padding-left:30px;"><span style="color:#0000ff;">i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default</span></p>
<p><span style="color:#0000ff;"> </span></p>
<p style="text-align:justify;padding-left:30px;"><span style="color:#0000ff;">U - per-user static route, o - ODR, P - periodic downloaded static route</span></p>
<p><span style="color:#0000ff;"> </span></p>
<p style="padding-left:30px;"><span style="color:#0000ff;">T - traffic engineered route</span></p>
<p><span style="color:#0000ff;"> </span></p>
<p style="padding-left:30px;"><span style="color:#0000ff;">Gateway of last resort is 10.1.1.2 to network 0.0.0.0</span></p>
<p><span style="color:#0000ff;"> </span></p>
<p style="padding-left:30px;"><span style="color:#0000ff;">10.0.0.0/30 is subnetted, 2 subnets</span></p>
<p><span style="color:#0000ff;"> </span></p>
<p style="padding-left:30px;"><span style="color:#0000ff;">B       10.1.2.0 [200/0] via 10.1.1.2</span></p>
<p><span style="color:#0000ff;"> </span></p>
<p style="padding-left:30px;"><span style="color:#0000ff;">C       10.1.1.0 is directly connected, Serial0</span></p>
<p><span style="color:#0000ff;"> </span></p>
<p style="padding-left:30px;"><span style="color:#0000ff;">B*   0.0.0.0/0 [200/0] via 10.1.1.2</span></p>
<p style="text-align:justify;">Terlihat tabel routing router A network – network yang telah diperkenalkan oleh router B. Terdapat network 10.1.2.0 merupakan network ISP/Internet yang telah default-originate kan router B. Network 10.1.1.0 network terkoneksi langsung oleh kedua router. Apabila ada masalah jangan disimpan dalam hati, tanyakan sama orang yang lebih mengerti . <em><span style="color:#0000ff;">do the best job and you’ll be happy</span></em></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[The Internet's Biggest Security Hole: exploiting the internet routing protocol BGP (Border Gateway Protocol)]]></title>
<link>http://mauriziostorani.wordpress.com/?p=455</link>
<pubDate>Fri, 05 Sep 2008 08:40:38 +0000</pubDate>
<dc:creator>Maurizio Storani</dc:creator>
<guid>http://mauriziostorani.pt.wordpress.com/2008/09/05/the-internets-biggest-security-hole-exploits-the-internet-routing-protocol-bgp-border-gateway-protocol/</guid>
<description><![CDATA[[...] Two security researchers have demonstrated a new technique to stealthily intercept internet tr]]></description>
<content:encoded><![CDATA[<p><img class="alignleft" style="margin:3px 8px;" src="http://www.blogiseverything.com/files/pics/largest_drain_hole03.jpg" alt="" width="240" height="179" />[<a href="http://blog.wired.com/27bstroke6/2008/08/revealed-the-in.html" target="_blank">...</a>] <a href="http://blog.wired.com/27bstroke6/2008/08/revealed-the-in.html" target="_blank">Two security researchers have demonstrated a new technique to stealthily</a> intercept internet traffic on a scale previously presumed to be unavailable to anyone outside of intelligence agencies like the National Security Agency.</p>
<p>The tactic exploits the internet routing protocol BGP (Border Gateway Protocol) to let an attacker surreptitiously monitor unencrypted internet traffic anywhere in the world, and even modify it before it reaches its destination.</p>
<p>The demonstration is only the latest attack to highlight fundamental security weaknesses in some of the internet's core protocols. Those protocols were largely developed in the 1970s with the assumption that every node on the then-nascent network would be trustworthy.  The world was reminded of the quaintness of that assumption in July, when researcher Dan Kaminsky disclosed a serious vulnerability in the DNS system. Experts say the new demonstration targets a potentially larger weakness.[<a href="http://blog.wired.com/27bstroke6/2008/08/revealed-the-in.html" target="_blank">...</a>] (<a href="http://blog.wired.com/27bstroke6/2008/08/revealed-the-in.html" target="_blank">more</a>)</p>
<h3 style="text-align:center;">O'Reilly TV: Dan Kaminsky on the DNS Bug of 2008</h3>
<p style="text-align:center;"><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/B0dHDD9fFM4'></param><param name='wmode' value='transparent'></param><embed src='http://www.youtube.com/v/B0dHDD9fFM4&rel=0' type='application/x-shockwave-flash' wmode='transparent' width='425' height='350'></embed></object></span></p>
<p><!-- AddThis Button BEGIN --> <a title="Bookmark and Share" href="http://www.addthis.com/bookmark.php?wt=nw&#38;logo=http://mauriziostorani.wordpress.com/files/2008/07/logo_for_add.jpg&#38;pub=flamel&#38;url=http://mauriziostorani.wordpress.com/2008/09/05/the-internets-biggest-security-hole-exploits-the-internet-routing-protocol-bgp-border-gateway-protocol&#38;title=The Internet's Biggest Security Hole: exploiting the internet routing protocol BGP (Border Gateway Protocol)" target="_blank"><img class="alignleft" src="http://s9.addthis.com/button1-bm.gif" border="0" alt="Bookmark and Share" width="125" height="16" /></a> <!-- AddThis Button END --></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[On Inferring Autonomous System Relationships in the Internet]]></title>
<link>http://berthalemu.wordpress.com/?p=21</link>
<pubDate>Thu, 04 Sep 2008 06:45:36 +0000</pubDate>
<dc:creator>berthalemu</dc:creator>
<guid>http://berthalemu.pt.wordpress.com/2008/09/03/on-inferring-autonomous-system-relationships-in-the-internet/</guid>
<description><![CDATA[This paper aimed to infer AS relationships in the Internet, classifying them as customer-provider, p]]></description>
<content:encoded><![CDATA[<p>This paper aimed to infer AS relationships in the Internet, classifying them as customer-provider, peering, or sibling (mutual transit and backup).  BGP allows each AS to choose its own policy for selecting the best, route, exporting and importing routes, which are oftentimes influenced by commercial contractual relationships. A subtlety missed by research efforts before this paper is that since BGP is policy-based, connectivity doesn't imply reachability. The likelihood of policy conflicts is high, but that situation is difficult to remedy when policies are held secret and without available documentation of inter-AS relationships.</p>
<p>The authors represent relationships via an annotated AS graph, with ASs as nodes and edges labeled with the relationship class. Directed edges connect providers and consumers. Routes in the graph are labeled by the first non-sibling-to-sibling edge in its AS path. Each AS determines its export policies based on its relationships with its neighbors. BGP export policies state that when exporting to a customer or sibling, an AS can export (1) its routes, (2) its consumer routes, and (3) its provider and peer routes. When exporting to a provider or peer, however, ASs usually do not support (3). These constraints are encoded into the authors' selective export rule in their graph. The authors prove that export policies can be inferred from routing table entries by inspecting AS paths. When the selective export rule is used, an AS path can be proven to be valley-free: provider-to-consumer and peer-to-peer edges can be followed by only provider-to-consumer or sibling-to-sibling edges. The authors further show that an AS path is partitioned either as a (1) max uphill path -&#62; peer-to-peer edge -&#62; max downhill path, or (2) max uphill path -&#62; max downhill path. Using the notion that the AS with the highest degree is the top provider of an AS path, the authors can infer consecutive pairs before the top provider are customer-provider or siblings, while those afterwards are provider-to-customer or siblings. To determine peering relationships, a couple more heuristics are used (e.g. a top provider would be in a peering relationship with its largest neighbor and that a pair of peering ASs do not differ much in size).</p>
<p>This paper is a keeper because it shows the implications of BGP being policy-based on the connectivity of the Internet, as well as enhancing the previous paper about what could happen between ASs and what actually happens between them in practice. I'm wondering how meaningful it is that the authors discovered 90.5% of the relationships were provider-consumer. What would people expect the percentage to be? I'm also interested to see the authors' future work on building tools that would utilize the knowledge gained from inferring AS relationships.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Interdomain Internet Routing]]></title>
<link>http://berthalemu.wordpress.com/?p=18</link>
<pubDate>Thu, 04 Sep 2008 06:08:53 +0000</pubDate>
<dc:creator>berthalemu</dc:creator>
<guid>http://berthalemu.pt.wordpress.com/2008/09/03/interdomain-internet-routing/</guid>
<description><![CDATA[This paper describes the implications of having the Internet service provided by companies who are c]]></description>
<content:encoded><![CDATA[<p>This paper describes the implications of having the Internet service provided by companies who are competing, while simultaneously needing to cooperate. The Border Gateway Protocol (BGP) is a wide area routing protocol that exchanges reachability information on the boundaries of ISPs, each of which is an autonomous system (AS) that chooses how route packets to the rest of the Internet. The geographic area that ISPs cover partitions them into one of three tiers: (3) local, (2) regional, and (1) global.  Interior Gateway Protocols (IGP) within each AS are more concerned with optimizing a path metric than facilitating a scalable routing policy like BGP.</p>
<p>Relationships between each AS determine their communication. In a provider-consumer transit relationship, an AS provides access to the destinations in its routing tables. In a peering relationship, ASs provide mutual access to each other's routing tables, as they are interested in each other's transit customers; this results in a direct link for customers across ISPs and has better end-to-end performance. Peering relationships can be tricky, though, if there are asymmetric traffic ratio, since both ASs want an unpaid deal to be satisfactory.</p>
<p>One of the key ideas in this paper is that ISPs want to provide service they can make money from. The implicit interdomain routing implies that ISPs charge customers for the entries in their routing tables. Each ISP filters its exported routes because it doesn't want to offer transit that it isn't making money on: it wants to advertise routes to its customers to as many other ASs since more traffic carried for a customer results in more money. On the other hand, an ISP doesn't want to advertise to peerers that could use it to reach a destination without generating it money. Choosing which paths to destinations a router should import into its routing table is another financially-motivated decision, resulting in the prioritized list: customer &#62; peer &#62; provider, which is implemented in BGP via the LOCAL PREF attribute. The BGP's design goals include that (1) the routing infrastructure should scale with the number of connected networks, (2) each AS should be able to implement a variety of routing policies, and (3) ASs should be able to make local routing decisions.</p>
<p>To start a BGP session, router connects to BGP over TCP and they exchange routing tables with active routes. Within the session, the router can send UPDATE (to announce route changes or to withdraw routes) or KEEPALIVE ("I'm still here!") messages, which both serve to show that the router is still functioning. Routers in an AS have eBGP sessions with neighboring ASs, then have iBGP sessions with other routers within the AS, ensuring that eBGP learned routes are forwarding-loop-free and external routes learned for an AS must be the same regardless of which eBGP router in the AS was used. Route announcements set several attributes that affect path selection: next hop, AS PATH (list of ASs gone through), and MED (choose between multiple exit paths). All this leads to the priority ordering of routes via their attributes: LOCAL PREF, ASPATH, MED, eBGP &#62;iBGP, IGP path, Router ID.</p>
<p>I was fascinated by how much financial gain factors into routing decisions, dashing my idealist views and reminding me again how research agendas can be altered by business agendas. Still, the paper had a very thorough explanation of how the relationships between ASs influence their policies. One thing I'm a little confused about is why all this finagling of routing paths didn't cause some uproar of "my rights are being violated!" similar to the net neutrality hubbub.  I also wonder what the observable performance impact is for the layperson.</p>
<p>And I just realized that every time I mentioned multiple Autonomous Systems, I was really just writing "ass." Awesome.  I think I'll keep it.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[The last few weeks]]></title>
<link>http://rbcciequest.wordpress.com/?p=197</link>
<pubDate>Wed, 03 Sep 2008 15:08:37 +0000</pubDate>
<dc:creator>Richard @ Configureterminal.com</dc:creator>
<guid>http://rbcciequest.pt.wordpress.com/2008/09/03/the-last-few-weeks/</guid>
<description><![CDATA[Weeks 29 to 34 à “No excuses now”




Weeks 29 to 34 Study Time (estimated):
Study Hours = 26 i]]></description>
<content:encoded><![CDATA[<p><a name="OLE_LINK2"></a><a name="OLE_LINK1"><span><span style="font-size:11pt;font-family:Georgia;">Weeks 29 to 34 </span></span></a><span><span><span style="font-size:11pt;font-family:Wingdings;"><span>à</span></span></span></span><span><span><span style="font-size:11pt;font-family:Georgia;"> “No excuses now”</span></span></span></p>
<table class="MsoTableGrid" style="border:1px dotted #800000;background:#f3f3f3;border-collapse:collapse;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="width:257.4pt;background-color:transparent;border:maroon 1pt dashed;padding:0 5.4pt;" width="343" valign="top"><span><span><strong><em><span style="font-size:11pt;color:#800000;font-family:Georgia;"><br />
Weeks 29 to 34 Study Time (estimated):</span></em></strong></span></span><span><span><span style="font-size:11pt;font-family:Georgia;"><br />
</span></span></span><span><span><span style="font-size:10pt;font-family:Georgia;">Study Hours = 26 inc.</span></span></span><span><span><span style="font-size:11pt;font-family:Georgia;"><br />
</span></span></span><span><span><span style="font-size:10pt;font-family:Georgia;">Lab Hours = 3</span></span></span><span><span><span style="font-size:11pt;font-family:Georgia;"><span><span><strong><em><span style="font-size:8pt;color:#800000;font-family:Georgia;">Total study time so far:</span></em></strong></span></span><span><span><span style="font-size:8pt;font-family:Georgia;"><br />
Total Study Hours = 355<span>  </span>inc.<br />
Total Lab Hours = 23.5</span></span></span></p>
<div><span><span></span></span></div>
<p></span></span></span><span><span><span style="font-size:11pt;font-family:Georgia;"><strong><em><span style="color:#800000;">What I have studied during the last 4 weeks:</span></em></strong><br />
“Bridging and LAN Switching”<br />
“TCP/IP”<br />
“IP Routing” inc. RIP, EIGRP, + OSPF</p>
<p><strong><em><span style="color:#800000;">Recent test scores:</span></em></strong><br />
None (CCIE QuickFire Workbook only – about 85% correct first time)</p>
<p></span></span></span></td>
<p> </tr>
</tbody>
</table>
<p><span style="font-size:11pt;font-family:Georgia;"><br />
After a few weeks of not being able to put the number of hours I would like to into studying I can now see the light at the end of the tunnel. <span> </span>I am hoping that everything should return to ‘normal’ from now on – I have just returned from the last of the trips-away scheduled for during my first few weeks at Cisco (2-day training course) and will now be at home in the evenings for the immediate future.<span>  </span>Within the limited number of study hours I have managed to do over the last few weeks I have used some of the time to start and finish documenting (inc. labbing) all of the methods of route filtering for RIP that I can think of/find, and also to start doing the same thing for EIGRP – the idea being that I will complete the task for each routing protocol on the CCIE R&#38;S blueprint.<br />
I recognised a while back that I was in desperate need of some way of ‘mixing-up’ my learning, and so, I decided to spend some time working through creating some ‘pretty’ images that depict various configuration practices – allowing me to mix theory with some CLI time</span><span style="font-size:11pt;font-family:Wingdings;"><span>J</span></span></p>
<div><span style="font-size:11pt;font-family:Georgia;"><br />
I have <em>traffic blackholing/droping</em>, <em>advert filtering</em>, and <em>neighbor adjacency prevention</em> on my todo list in addition to the route filtering I am working on now.<br />
Here is what I’ve put-together for RIP Route Filtering:</span></div>
<p><span style="font-size:11pt;font-family:Georgia;"><a href="http://rbcciequest.wordpress.com/files/2008/09/route_filtering-rip.png" target="_blank"><img class="alignnone size-medium wp-image-202" src="http://rbcciequest.wordpress.com/files/2008/09/route_filtering-rip.png?w=31" alt="" width="31" height="300" /></a><br />
<span style="font-size:9pt;font-family:Georgia;">Please note.<span>  </span>It’s a large image/file that needs some zooming to be readable – it might be worthwhile downloading it first.<br />
Please please please leave a comment if I have missed any methods/made any mistakes</span><span style="font-size:9pt;font-family:Wingdings;"><span>J</span></span></p>
<div><span style="font-size:11pt;font-family:Georgia;"><br />
I plan to complete the EIGRP image, work through OSPF, and then finish with BGP.</span></div>
<p></span><span style="font-size:11pt;font-family:Georgia;">Leanne continues to be a star – I don’t mention her enough on this blog - without her support (inc. a kick up the **** every now and again) I would really struggle to stay focused on the prize at stake.<span>  </span>It was a very personal goal of mine in the past but now I’m also looking around at Cisco and realising that I have so much catching up to-do! – the amount the people around me know not only about technologies/protocols but the Cisco hardware itself is quite astonishing!<span>  </span>And R&#38;S is just “the basics” in many people’s eyes!</p>
<p>Lastly, I thought I would share some pics from last week - my first visit to San Francisco, and my first GSM:</p>
<p><img class="alignnone size-medium wp-image-203" src="http://rbcciequest.wordpress.com/files/2008/09/gsm_intro.jpg?w=300" alt="" width="300" height="225" /><span style="font-size:9pt;font-family:Georgia;"><br />
This is just before Rick Justice’s Hollywood style entrance (John Chambers closed the show)</span><span style="font-size:11pt;font-family:Georgia;"></p>
<p><img class="alignnone size-medium wp-image-204" src="http://rbcciequest.wordpress.com/files/2008/09/bay_bridge.jpg?w=300" alt="" width="300" height="225" /></span><span style="font-size:9pt;font-family:Georgia;"><br />
A view of the Bay Bridge from the restaurant hosting my team’s get-together dinner – the sheer size of it is a sight to behold - the island to the left isn't the end of it!</span><span style="font-size:11pt;font-family:Georgia;"></p>
<p><img class="alignnone size-medium wp-image-205" src="http://rbcciequest.wordpress.com/files/2008/09/night_skyline_hotel.jpg?w=300" alt="" width="300" height="225" /></span><span style="font-size:9pt;font-family:Georgia;"><br />
San Francisco @ Night – taken from the lift/elevator of the hotel I was staying in (nobody else was in the lift at the time!)</span></p>
<p></span></p>
<p><span style="font-size:11pt;font-family:Georgia;">Oh, and it was my daughters first day at school today!<span>  </span>Wow, I can't believe how quickly she has grown-up!</span></p>
]]></content:encoded>
</item>

</channel>
</rss>
