networking-forum.com
Community BlogCommunity Wiki * Register  * Search  * Login
View unanswered postsView active topics

All times are UTC - 6 hours [ DST ]



Post new topic Reply to topic  [ 24 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: BGP Protocol
PostPosted: Mon Jul 23, 2012 2:45 am 
Offline
Junior Member
Junior Member

Joined: Fri Mar 30, 2012 1:49 am
Posts: 91
Certs: CCNA
i have a simple topology like following :

Image

using that topology i would like to learn about BGP routing protocol, i have configured all routers using BGP routing protocol, and everything fine until i check the routing table on R7, which theres no route to go to R1, as below :

R7
10.0.0.0/30 is subnetted, 3 subnets
C 10.4.4.0 is directly connected, Serial1/0
B 10.3.3.0 [200/0] via 10.4.4.1, 00:56:49
B 10.2.2.0 [200/0] via 10.4.4.1, 00:56:49

my first thought its because the neighbor of R7, the R3 doesnt get routing to the R1, but when i check it, it have, and can ping to R1 from R3

R3
10.0.0.0/30 is subnetted, 4 subnets
C 10.4.4.0 is directly connected, Serial1/1
C 10.3.3.0 is directly connected, Serial1/0
C 10.2.2.0 is directly connected, Serial1/2
B 10.1.1.0 [200/0] via 10.3.3.1, 01:09:05

any suggestion ??


Top
 Profile  
 
 Post subject: Re: BGP Protocol
PostPosted: Mon Jul 23, 2012 3:05 am 
Offline
CCIE #38070
CCIE #38070
User avatar

Joined: Wed Jun 18, 2008 7:49 am
Posts: 12486
Location: London, UK
Certs: CCIE ,CC-NP/IP, JNCIP-SP, JNCIS-ENT, BC-/SPNE/NP
BGP does not advertise a route to an iBGP peer if it learned that route from another iBGP peer

_________________
www.mellowd.co.uk/ccie/


Top
 Profile  
 
 Post subject: Re: BGP Protocol
PostPosted: Mon Jul 23, 2012 3:13 am 
Offline
Junior Member
Junior Member

Joined: Fri Mar 30, 2012 1:49 am
Posts: 91
Certs: CCNA
if it so, what should i do to make R3 advertise that route to R7, could i use default route ??


Top
 Profile  
 
 Post subject: Re: BGP Protocol
PostPosted: Mon Jul 23, 2012 3:14 am 
Offline
CCIE #38070
CCIE #38070
User avatar

Joined: Wed Jun 18, 2008 7:49 am
Posts: 12486
Location: London, UK
Certs: CCIE ,CC-NP/IP, JNCIP-SP, JNCIS-ENT, BC-/SPNE/NP
The easiest way is to make R2 peer with R7 as well. iBGP neighbours do not need to be directly connected.

The more complicated way is to make R3 a route reflector, or split the AS into confederations

_________________
www.mellowd.co.uk/ccie/


Top
 Profile  
 
 Post subject: Re: BGP Protocol
PostPosted: Mon Jul 23, 2012 4:50 am 
Offline
Junior Member
Junior Member

Joined: Fri Mar 30, 2012 1:49 am
Posts: 91
Certs: CCNA
i dont get it, should i put R7 and R2 in other AS that R3 ?? how about if i use "neighbor [ipaddress] ebgp-multihop [number of hops]" commands, would it work??


Top
 Profile  
 
 Post subject: Re: BGP Protocol
PostPosted: Mon Jul 23, 2012 4:56 am 
Offline
CCIE #38070
CCIE #38070
User avatar

Joined: Wed Jun 18, 2008 7:49 am
Posts: 12486
Location: London, UK
Certs: CCIE ,CC-NP/IP, JNCIP-SP, JNCIS-ENT, BC-/SPNE/NP
What? I never once said you need to use eBGP. So it makes no sense that R3 would be in a different AS or the ebgp multihop command. Don't just pull commands out of a hat and assume what will and won't work.

I said make R7 and R2 iBGP peers. R2 can peer with both R7 and R3 via iBGP

_________________
www.mellowd.co.uk/ccie/


Top
 Profile  
 
 Post subject: Re: BGP Protocol
PostPosted: Mon Jul 23, 2012 10:45 am 
Offline
Post Whore
Post Whore
User avatar

Joined: Mon Nov 16, 2009 8:10 pm
Posts: 2633
Location: San Diego, CA
Certs: CCNP, BCNE, Network+, Security+
Quote:
Don't just pull commands out of a hat and assume what will and won't work.


*grins sheepishly*

_________________
Regards,

Steven King
San Diego Cisco User Group - http://www.sdcug.com
"The only time something is impossible is when you think it is." - Kevin Corbin, CCIE #11577


Top
 Profile  
 
 Post subject: Re: BGP Protocol
PostPosted: Tue Jul 24, 2012 3:10 am 
Offline
Junior Member
Junior Member

Joined: Fri Mar 30, 2012 1:49 am
Posts: 91
Certs: CCNA
hi guys, i have tried to find the meaning and the way to making the R7 and R2 iBGP Peers, but i couldnt find the aswer till now, could u give me some simple explanation

thanks


Top
 Profile  
 
 Post subject: Re: BGP Protocol
PostPosted: Tue Jul 24, 2012 3:13 am 
Online
Ultimate Member
Ultimate Member
User avatar

Joined: Thu Jan 13, 2011 5:10 pm
Posts: 991
Location: Leeds, UK
Certs: CCIE R&S #38338, CCNP, CCIP
Theres nothing to it really, set up a new neighbourship between the two devices...

_________________
---
David
CCIE R&S #38338, CCIP, CCNP

http://networkbroadcast.co.uk - My Blog
http://twitter.com/davidrothera


Top
 Profile  
 
 Post subject: Re: BGP Protocol
PostPosted: Tue Jul 24, 2012 4:07 am 
Offline
Junior Member
Junior Member

Joined: Fri Mar 30, 2012 1:49 am
Posts: 91
Certs: CCNA
i have added a neighbor command on both Router, but still the 10.1.1.0 route still not added into R7 routing table,

any suggestion about make a iBGP peers ?


Top
 Profile  
 
 Post subject: Re: BGP Protocol
PostPosted: Tue Jul 24, 2012 4:13 am 
Online
Ultimate Member
Ultimate Member
User avatar

Joined: Thu Jan 13, 2011 5:10 pm
Posts: 991
Location: Leeds, UK
Certs: CCIE R&S #38338, CCNP, CCIP
You have added the neighbours but is the connectio between them actually up? Paste the output of 'show ip bgp summary'

_________________
---
David
CCIE R&S #38338, CCIP, CCNP

http://networkbroadcast.co.uk - My Blog
http://twitter.com/davidrothera


Top
 Profile  
 
 Post subject: Re: BGP Protocol
PostPosted: Tue Jul 24, 2012 4:47 am 
Offline
Junior Member
Junior Member

Joined: Fri Mar 30, 2012 1:49 am
Posts: 91
Certs: CCNA
heres the show ip bgp summary on R2

*Jul 24 15:42:32.962: %BGP-5-ADJCHANGE: neighbor 10.4.4.2 Up
R2(config-router)#do sh ip bgp summary
BGP router identifier 10.3.3.1, local AS number 1001
BGP table version is 5, main routing table version 5
4 network entries using 480 bytes of memory
5 path entries using 260 bytes of memory
3/2 BGP path/bestpath attribute entries using 372 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
Bitfield cache entries: current 2 (at peak 2) using 64 bytes of memory
BGP using 1176 total bytes of memory
BGP activity 4/0 prefixes, 5/0 paths, scan interval 60 secs

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.1.1.1 4 1000 129 133 5 0 0 02:06:01 0
10.3.3.2 4 1001 133 131 5 0 0 02:06:12 3
10.4.4.2 4 1001 4 5 5 0 0 00:00:10 0

and heres on R7

BGP router identifier 10.4.4.2, local AS number 1001
BGP table version is 167, main routing table version 167
4 network entries using 480 bytes of memory
5 path entries using 260 bytes of memory
2/1 BGP path/bestpath attribute entries using 248 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 988 total bytes of memory
BGP activity 5/1 prefixes, 7/2 paths, scan interval 60 secs

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.3.3.1 4 1001 6 5 167 0 0 00:01:20 2
10.4.4.1 4 1001 135 132 167 0 0 02:09:13 3


Top
 Profile  
 
 Post subject: Re: BGP Protocol
PostPosted: Tue Jul 24, 2012 4:52 am 
Offline
CCIE #38070
CCIE #38070
User avatar

Joined: Wed Jun 18, 2008 7:49 am
Posts: 12486
Location: London, UK
Certs: CCIE ,CC-NP/IP, JNCIP-SP, JNCIS-ENT, BC-/SPNE/NP
Use code tags. And do a show ip bgp on all and paste here

_________________
www.mellowd.co.uk/ccie/


Top
 Profile  
 
 Post subject: Re: BGP Protocol
PostPosted: Tue Jul 24, 2012 4:55 am 
Offline
Junior Member
Junior Member

Joined: Fri Mar 30, 2012 1:49 am
Posts: 91
Certs: CCNA
R7
Code:
BGP table version is 229, local router ID is 10.4.4.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
* i10.1.1.0/30      10.3.3.1                 0    100      0 i
*>i10.2.2.0/30      10.4.4.1                 0    100      0 i
* i10.3.3.0/30      10.3.3.1                 0    100      0 i
*>i                 10.4.4.1                 0    100      0 i
r>i10.4.4.0/30      10.4.4.1                 0    100      0 i


R2
Code:
BGP table version is 5, local router ID is 10.3.3.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*> 10.1.1.0/30      0.0.0.0                  0         32768 i
*>i10.2.2.0/30      10.3.3.2                 0    100      0 i
* i10.3.3.0/30      10.3.3.2                 0    100      0 i
*>                  0.0.0.0                  0         32768 i
*>i10.4.4.0/30      10.3.3.2                 0    100      0 i


R3
Code:
BGP table version is 7, local router ID is 10.4.4.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*>i10.1.1.0/30      10.3.3.1                 0    100      0 i
*> 10.2.2.0/30      0.0.0.0                  0         32768 i
*> 10.3.3.0/30      0.0.0.0                  0         32768 i
* i                 10.3.3.1                 0    100      0 i
*> 10.4.4.0/30      0.0.0.0                  0         32768 i


Last edited by Blackmail88 on Tue Jul 24, 2012 5:24 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: BGP Protocol
PostPosted: Tue Jul 24, 2012 4:56 am 
Offline
CCIE #38070
CCIE #38070
User avatar

Joined: Wed Jun 18, 2008 7:49 am
Posts: 12486
Location: London, UK
Certs: CCIE ,CC-NP/IP, JNCIP-SP, JNCIS-ENT, BC-/SPNE/NP
code tags...

_________________
www.mellowd.co.uk/ccie/


Top
 Profile  
 
 Post subject: Re: BGP Protocol
PostPosted: Tue Jul 24, 2012 5:03 am 
Offline
Junior Member
Junior Member

Joined: Fri Mar 30, 2012 1:49 am
Posts: 91
Certs: CCNA
what is code tags ??


Top
 Profile  
 
 Post subject: Re: BGP Protocol
PostPosted: Tue Jul 24, 2012 5:14 am 
Online
Ultimate Member
Ultimate Member
User avatar

Joined: Thu Jan 13, 2011 5:10 pm
Posts: 991
Location: Leeds, UK
Certs: CCIE R&S #38338, CCNP, CCIP
Before you paste some Cisco output put [code ] and then after the output put [/code ] (remove the spaces though from my example)

_________________
---
David
CCIE R&S #38338, CCIP, CCNP

http://networkbroadcast.co.uk - My Blog
http://twitter.com/davidrothera


Top
 Profile  
 
 Post subject: Re: BGP Protocol
PostPosted: Tue Jul 24, 2012 7:37 am 
Offline
Post Whore
Post Whore
User avatar

Joined: Tue Aug 21, 2007 2:15 pm
Posts: 8459
Location: Frederick MD
Certs: Instanity
so what is causing the rib failure on R7 for network 10.4.4.0/30 ?

post
show ip bgp rib-failure
on R7

_________________
"If you're good at anticipating the human mind. It leaves nothing to chance."
-Jigsaw


Top
 Profile  
 
 Post subject: Re: BGP Protocol
PostPosted: Tue Jul 24, 2012 7:50 am 
Online
Post Whore
Post Whore
User avatar

Joined: Thu Apr 29, 2010 6:12 pm
Posts: 2209
Location: Texas
Certs: CCNP, CCDP, CCIP
ristau5741 wrote:
so what is causing the rib failure on R7 for network 10.4.4.0/30 ?

post
show ip bgp rib-failure
on R7

My guess would be the rib-failure is from the 4.2.2.0 subnet being a locally connected subnet on R7. The connected route has a better AD than the BGP route so it shows as a rib-failure in BGP.

Have you double checked that R7 is reachable from R1? Is there a route present in the routing table for that specific subnet?

_________________
http://blog.movingonesandzeros.net/


Top
 Profile  
 
 Post subject: Re: BGP Protocol
PostPosted: Tue Jul 24, 2012 8:32 am 
Offline
New Member
New Member

Joined: Thu Nov 03, 2011 11:17 am
Posts: 35
Certs: A+, MCSE, MCDBA, CCNA, CCNP in progress
Blackmail88 wrote:
hi guys, i have tried to find the meaning and the way to making the R7 and R2 iBGP Peers, but i couldnt find the aswer till now, could u give me some simple explanation

thanks


R2 and R7 will need routes between them to become iBGP peers, are you running an IGP in AS 1001?

_________________
"Where I excel is ridiculous, sickening, work ethic. You know, while the other guy’s sleeping? I’m working. While the other guy’s eatin’? I’m working. While the other guy’s making love, I mean, I’m making love, too. But I’m working really hard at it."


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 24 posts ]  Go to page 1, 2  Next

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: davidrothera, Digitowel, johnkarlhill, that1guy15 and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group