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  [ 6 posts ] 
Author Message
PostPosted: Thu May 24, 2012 10:22 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Tue Aug 05, 2008 6:36 am
Posts: 2426
Location: Perth, Australia
Certs: CCNP, CCNA Voice, SMB Select, Linux+
I have a question and I think I know the answer although I have been told I am wrong. I don't mind being told I am wrong but can someone help me out with my thought process?

I have this kind of network:
Code:
[Internal subnets] - BGP router - upstream L3 device - Telco BGP router - MPLS cloud | [remote subnets] (the remote site has a mirror of this config too)


The BGP peering using ebgp multi hop. The TCP BGP session advertises the remote subnets to our BGP router with a next hop of the Telco router. However how will routing work here from our perspective and the perspective of the intermediary L3 device?
The BGP session is brought up with a static route and ebgp multihop to allow the not directly connected session to open.

It is my understanding that for routing to work correctly, I need to change the advertised next hop address (to us) of that of the upstream L3 device. So our BGP router will see routes as (remote subnet/24) next hop upstream L3 device, rather than the Telco BGP router. My reason for this is that if you have a next hop of the BGP router, how will our route know how to route the packet? It would need to do a second route table lookup... The packet would be formulated with a next hop IP of the remote subnet (it has to be right?) but the next hop MAC would be the upstream L3 device... I can't see it any other way. (please help me see?)

Therefore, the upstream L3 device NEEDS to know how to reach the remote subnet. If it does not, it should drop the packet. If it has a default route upstream, then return traffic would be looped back upstream.

_________________
"Right actions in the future are the best apologies for bad actions in the past."


Top
 Profile  
 
PostPosted: Fri May 25, 2012 12:28 am 
Offline
Ultimate Member
Ultimate Member
User avatar

Joined: Wed Nov 17, 2010 5:53 pm
Posts: 622
Location: Stockholm, Sweden
Certs: CCNP, CCIP, CCNA Security
Not knowing the exact value of your bgp multihop i cant be sure, but if its just 2 i would say that the remote L3 device and BGP router is the same. Ie a loopback interface on the L3 device.


Top
 Profile  
 
PostPosted: Fri May 25, 2012 1:11 am 
Offline
Post Whore
Post Whore
User avatar

Joined: Tue Aug 05, 2008 6:36 am
Posts: 2426
Location: Perth, Australia
Certs: CCNP, CCNA Voice, SMB Select, Linux+
matgar wrote:
Not knowing the exact value of your bgp multihop i cant be sure, but if its just 2 i would say that the remote L3 device and BGP router is the same. Ie a loopback interface on the L3 device.


In my case it is two however the L3 device (NTE) and the upstream BGP neighbour are in fact different devices. The NTE is a layer 3 switch and the BGP peer is the providers edge router. I am just talking about physical interfaces at the moment, not using loopbacks.

I knocked up a quick network diagram to illustrate the question.

I highlight these two points:
- It's my understanding the next hop MUST be within a directly connected subnet for Ethernet, so we need to use a route-map to change that fact advertised from the PE.
- Regardless, the IP packet will have a destination IP of the remote site. The intermediary device needs to know how to reach those subnets.

My guess is that an IGP is needed between the Telco and their intermediary device (Layer 3 switch)... ?


Attachments:
Telcoweb.jpg
Telcoweb.jpg [ 138.57 KiB | Viewed 174 times ]

_________________
"Right actions in the future are the best apologies for bad actions in the past."
Top
 Profile  
 
PostPosted: Fri May 25, 2012 2:37 am 
Offline
CCIE #38070
CCIE #38070
User avatar

Joined: Wed Jun 18, 2008 7:49 am
Posts: 12471
Location: London, UK
Certs: CCIE ,CC-NP/IP, JNCIP-SP, JNCIS-ENT, BC-/SPNE/NP
Indeed, the intermediary device needs to know how to get to these subnets. It does not matter if the next hop is not locally connected, but if not then the device you are going through still needs to know about these routes. Remember that packet will be sent towards the next-hop, when it hits the intermediary device, the destination IP is still the other site, NOT the next-hop IP.

In your diagram, if the NTE has a default back to your own router, then you will send traffic to the next-hop, only for the NTE to send traffic back to you. Repeat until TTL expired

_________________
www.mellowd.co.uk/ccie/


Top
 Profile  
 
PostPosted: Fri May 25, 2012 3:10 am 
Offline
Post Whore
Post Whore
User avatar

Joined: Tue Aug 05, 2008 6:36 am
Posts: 2426
Location: Perth, Australia
Certs: CCNP, CCNA Voice, SMB Select, Linux+
mellowd wrote:
Indeed, the intermediary device needs to know how to get to these subnets. It does not matter if the next hop is not locally connected, but if not then the device you are going through still needs to know about these routes. Remember that packet will be sent towards the next-hop, when it hits the intermediary device, the destination IP is still the other site, NOT the next-hop IP.

In your diagram, if the NTE has a default back to your own router, then you will send traffic to the next-hop, only for the NTE to send traffic back to you. Repeat until TTL expired


Thanks. I have just labbed it and confirmed what you say.

I expect the telco will use an IGP or else there is no point in using BGP. At the moment I am still wrong. Who cares it's beer oclock :)

Cheers Darren,

Tony

_________________
"Right actions in the future are the best apologies for bad actions in the past."


Top
 Profile  
 
PostPosted: Fri May 25, 2012 4:02 am 
Offline
CCIE #38070
CCIE #38070
User avatar

Joined: Wed Jun 18, 2008 7:49 am
Posts: 12471
Location: London, UK
Certs: CCIE ,CC-NP/IP, JNCIP-SP, JNCIS-ENT, BC-/SPNE/NP
You could use some kind of tunnel to hide your IP packets inside another

_________________
www.mellowd.co.uk/ccie/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot], burnyd, killabee and 15 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