Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

How to BGP works

Hi

I've got two data centre sites. Each site has is connected by the same ISP, and BGP is is setup between the ISP and eash site:

The diagram looks like this:

ISP--Site1

|

Site2

The problem I have is when I do a traceroute from the external router in site1 (router1) to the external router in site2(2), the traceroute shows one hop, as though they are directly connected.

How is that possible, shouldn't the traceorute show the route through the ISP's router aswell.

note:

router1=yyy.yyy.yyy.1

router2=xxx.xxx.xxx.2

ISP router=

In my router I have the following config:

router bgp dddd

no synchronization

bgp log-neighbor-changes

network vvv.vvv.vvv.0 mask 255.255.255.252

network xxx.xxx.xxx.0 mask 255.255.255.224

network zzz.zzz.zzz.96 mask 255.255.255.224

neighbor vvv.vvv.vvv.1 remote-as nnnn

neighbor vvv.vvv.vvv.1 soft-reconfiguration inbound

neighbor vvv.vvv.vvv.1 route-map isp-to-se in

neighbor vvv.vvv.vvv.1 route-map se-to-isp out

neighbor xxx.xxx.xxx.2 remote-as dddd

neighbor xxx.xxx.xxx.2 soft-reconfiguration inbound

ip prefix-list se-src seq 10 permit xxx.xxx.xxx.0/27

ip prefix-list se-src seq 11 permit zzz.zzz.zzz.96/27

route-map se-to-isp permit 10

match ip address prefix-list se-src

set metric 300

!

route-map isp-to-se permit 10

set metric 20

!

Does the above play some part in hiding the actual traceroute? How does BGP play a part in this?

Thanks

Dan

1 REPLY
Cisco Employee

Re: How to BGP works

Dan,

This is in no mean related to BGP. Your SP is probably providing you with a L2VPN service of some sort, which explains your two routers seeing themselves as directly connected.

Hope this helps,

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
116
Views
0
Helpful
1
Replies
CreatePlease to create content