<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Basic BGP neighborship question in Routing</title>
    <link>https://community.cisco.com/t5/routing/basic-bgp-neighborship-question/m-p/4539476#M361587</link>
    <description>&lt;P&gt;Hello guys,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I&amp;nbsp; am new to BGP and i would appreciate if someone can give me a hint on what is wrong with my config&lt;BR /&gt;Here is the topology&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;R1(BGP Router AS1)&amp;nbsp; &amp;nbsp; -----&amp;nbsp; &amp;nbsp;R2&amp;nbsp; ------ R3(BGP Router AS2)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i wanted to make R1 and R3&amp;nbsp; BGP neighbors. All routers are connected with Ethernet links&lt;BR /&gt;According to the topology they are not directly connected since they have R2 between them (R2 does not have any routing protocols activated).&lt;BR /&gt;R1 has a static route to R3 network via R2&amp;nbsp; and R3 has a static route to R1 network via R2.&amp;nbsp;&lt;BR /&gt;Ping is working between R1 and R3.&lt;BR /&gt;After going through the most basic config for BGP , when typing the &lt;STRONG&gt;neighbor&lt;/STRONG&gt; command in both routers they fail to become neighbors ,actually they dont even try. I took a packet capture&amp;nbsp; on R3 and R1 and i do not see any of them initiating&amp;nbsp; &amp;nbsp;BGP sessions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The config&amp;nbsp; on&lt;/P&gt;
&lt;PRE&gt;R1:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;router bgp 1&lt;BR /&gt;&lt;BR /&gt;address-family ipv4 unicast&lt;BR /&gt;&lt;BR /&gt;bgp router-id&amp;nbsp; (R1's router id)&lt;BR /&gt;&lt;BR /&gt;neighbor&amp;nbsp; (R3's ip address)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;R3:&lt;BR /&gt;&lt;BR /&gt;router bgp 3&lt;BR /&gt;&lt;BR /&gt;address-family ipv4 unicast&lt;BR /&gt;&lt;BR /&gt;bgp router-id&amp;nbsp; (R3's router id)&lt;BR /&gt;&lt;BR /&gt;neighbor&amp;nbsp; (R1's ip address)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;
&lt;P&gt;Can someone explain what am i doing wrong?&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jan 2022 17:42:51 GMT</pubDate>
    <dc:creator>historicalswimming</dc:creator>
    <dc:date>2022-01-27T17:42:51Z</dc:date>
    <item>
      <title>Basic BGP neighborship question</title>
      <link>https://community.cisco.com/t5/routing/basic-bgp-neighborship-question/m-p/4539476#M361587</link>
      <description>&lt;P&gt;Hello guys,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I&amp;nbsp; am new to BGP and i would appreciate if someone can give me a hint on what is wrong with my config&lt;BR /&gt;Here is the topology&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;R1(BGP Router AS1)&amp;nbsp; &amp;nbsp; -----&amp;nbsp; &amp;nbsp;R2&amp;nbsp; ------ R3(BGP Router AS2)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i wanted to make R1 and R3&amp;nbsp; BGP neighbors. All routers are connected with Ethernet links&lt;BR /&gt;According to the topology they are not directly connected since they have R2 between them (R2 does not have any routing protocols activated).&lt;BR /&gt;R1 has a static route to R3 network via R2&amp;nbsp; and R3 has a static route to R1 network via R2.&amp;nbsp;&lt;BR /&gt;Ping is working between R1 and R3.&lt;BR /&gt;After going through the most basic config for BGP , when typing the &lt;STRONG&gt;neighbor&lt;/STRONG&gt; command in both routers they fail to become neighbors ,actually they dont even try. I took a packet capture&amp;nbsp; on R3 and R1 and i do not see any of them initiating&amp;nbsp; &amp;nbsp;BGP sessions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The config&amp;nbsp; on&lt;/P&gt;
&lt;PRE&gt;R1:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;router bgp 1&lt;BR /&gt;&lt;BR /&gt;address-family ipv4 unicast&lt;BR /&gt;&lt;BR /&gt;bgp router-id&amp;nbsp; (R1's router id)&lt;BR /&gt;&lt;BR /&gt;neighbor&amp;nbsp; (R3's ip address)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;R3:&lt;BR /&gt;&lt;BR /&gt;router bgp 3&lt;BR /&gt;&lt;BR /&gt;address-family ipv4 unicast&lt;BR /&gt;&lt;BR /&gt;bgp router-id&amp;nbsp; (R3's router id)&lt;BR /&gt;&lt;BR /&gt;neighbor&amp;nbsp; (R1's ip address)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;
&lt;P&gt;Can someone explain what am i doing wrong?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 17:42:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing/basic-bgp-neighborship-question/m-p/4539476#M361587</guid>
      <dc:creator>historicalswimming</dc:creator>
      <dc:date>2022-01-27T17:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Basic BGP neighborship question</title>
      <link>https://community.cisco.com/t5/routing/basic-bgp-neighborship-question/m-p/4539497#M361589</link>
      <description>&lt;P&gt;R1&lt;/P&gt;
&lt;PRE&gt;router bgp 1&lt;BR /&gt;neighbor R2 remote-as 3&lt;BR /&gt;neighbors R2 ebgp-multihop&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;ip route R2 serial or ethernet &amp;lt;-need this static route&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;R2&lt;/P&gt;
&lt;PRE&gt;router bgp 3&lt;BR /&gt;neighbor R1 remote-as 1&lt;BR /&gt;neighbor R1 ebgp--multihop&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;ip route R1 serial or thereat &amp;lt;-need this static route&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 17:46:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing/basic-bgp-neighborship-question/m-p/4539497#M361589</guid>
      <dc:creator>MHM Cisco World</dc:creator>
      <dc:date>2022-01-27T17:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Basic BGP neighborship question</title>
      <link>https://community.cisco.com/t5/routing/basic-bgp-neighborship-question/m-p/4539500#M361590</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you need to add ebgp multihop:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;R1:&lt;/P&gt;
&lt;PRE&gt;router bgp 1&lt;BR /&gt;&lt;BR /&gt;address-family ipv4 unicast&lt;BR /&gt;&lt;BR /&gt;bgp router-id (R1's router id)&lt;BR /&gt;&lt;BR /&gt;neighbor (R3's ip address)&lt;STRONG&gt; ebgp-multihop 3&lt;/STRONG&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;R3:&lt;/P&gt;
&lt;PRE&gt;router bgp 3&lt;BR /&gt;&lt;BR /&gt;address-family ipv4 unicast&lt;BR /&gt;&lt;BR /&gt;bgp router-id (R3's router id)&lt;BR /&gt;&lt;BR /&gt;neighbor (R1's ip address) &lt;STRONG&gt;ebgp-multihop 3&lt;/STRONG&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 27 Jan 2022 17:56:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing/basic-bgp-neighborship-question/m-p/4539500#M361590</guid>
      <dc:creator>Georg Pauwen</dc:creator>
      <dc:date>2022-01-27T17:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Basic BGP neighborship question</title>
      <link>https://community.cisco.com/t5/routing/basic-bgp-neighborship-question/m-p/4539511#M361592</link>
      <description>&lt;P&gt;&lt;SPAN&gt;When i get to type&amp;nbsp; this command&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;neighbor (R3's ip address)&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;ebgp-multihop 3&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;this is the console message&amp;nbsp; "% Specify remote-as or peer-group commands first"&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so i tried to do it like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;neighbor R3-ipaddress&amp;nbsp; R3-AS ebgp-multihop 3&amp;nbsp; and&amp;nbsp; then it give&amp;nbsp; me&amp;nbsp; an "Invalid input detected at '^' marker&amp;nbsp; where the&amp;nbsp; ebgp starts&lt;BR /&gt;valid"&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 17:58:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing/basic-bgp-neighborship-question/m-p/4539511#M361592</guid>
      <dc:creator>historicalswimming</dc:creator>
      <dc:date>2022-01-27T17:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Basic BGP neighborship question</title>
      <link>https://community.cisco.com/t5/routing/basic-bgp-neighborship-question/m-p/4539514#M361593</link>
      <description>&lt;P&gt;Before you try the multi hop command you need to define the remote AS for the peer&lt;/P&gt;
&lt;P&gt;neighbor R3 remote-as 3&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 17:23:18 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing/basic-bgp-neighborship-question/m-p/4539514#M361593</guid>
      <dc:creator>Richard Burts</dc:creator>
      <dc:date>2022-01-26T17:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Basic BGP neighborship question</title>
      <link>https://community.cisco.com/t5/routing/basic-bgp-neighborship-question/m-p/4539518#M361594</link>
      <description>&lt;P&gt;correct the AS number.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 17:25:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing/basic-bgp-neighborship-question/m-p/4539518#M361594</guid>
      <dc:creator>MHM Cisco World</dc:creator>
      <dc:date>2022-01-26T17:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Basic BGP neighborship question</title>
      <link>https://community.cisco.com/t5/routing/basic-bgp-neighborship-question/m-p/4539528#M361595</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;R1:&lt;/P&gt;
&lt;PRE&gt;router bgp 1&lt;BR /&gt;address-family ipv4 unicast&lt;BR /&gt;bgp router-id (R1's router id)&lt;BR /&gt;neighbor (R3's ip address) remote-as 3&lt;BR /&gt;neighbor (R3's ip address) ebgp-multihop 3&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;R3:&lt;/P&gt;
&lt;PRE&gt;router bgp 3&lt;BR /&gt;address-family ipv4 unicast&lt;BR /&gt;bgp router-id (R3's router id)&lt;BR /&gt;neighbor (R1's ip address) remote-as 1&lt;BR /&gt;neighbor (R1's ip address) ebgp-multihop 3&lt;/PRE&gt;</description>
      <pubDate>Thu, 27 Jan 2022 18:05:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing/basic-bgp-neighborship-question/m-p/4539528#M361595</guid>
      <dc:creator>Georg Pauwen</dc:creator>
      <dc:date>2022-01-27T18:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Basic BGP neighborship question</title>
      <link>https://community.cisco.com/t5/routing/basic-bgp-neighborship-question/m-p/4539540#M361598</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;does this actually work ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;BR /&gt;R1&lt;BR /&gt;router bgp 1&lt;BR /&gt;neighbor R2 remote-as 3&lt;BR /&gt;neighbors R2 ebgp-multihop&lt;/PRE&gt;
&lt;P&gt;ip route R2 serial or ethernet &amp;lt;-need this static route&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;R2&lt;BR /&gt;router bgp 3&lt;BR /&gt;neighbor R1 remote-as 1&lt;BR /&gt;neighbor R1 ebgp--multihop&lt;/PRE&gt;
&lt;P&gt;ip route R1 serial or thereat &amp;lt;-need this static route&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was under the impression that there was no BGP configured on R2:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--&amp;gt;&amp;nbsp;(R2 does not have any routing protocols activated).&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 17:47:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing/basic-bgp-neighborship-question/m-p/4539540#M361598</guid>
      <dc:creator>Georg Pauwen</dc:creator>
      <dc:date>2022-01-27T17:47:20Z</dc:date>
    </item>
  </channel>
</rss>

