cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
696
Views
5
Helpful
6
Replies

routing between bgp ASNs

Hello everyone, 

I have the network diagram as follows. 

As r-1 advertise its loopback 0  into BGP, i need this prefix to be reachable from r-5 and r-6. Same for r-2.

now, i would like that ASN 1.2 to see only those 2 prefixes coming from ASN 1.1.

 

Now i know that BGP needs full connectivity but i also would like not to extend IGP  boundaries more.

Can you guys explain me a feasible way to achieve this?

I can ping r1 loopback from r4 only from the directly connected interfaces to r3.

 

Thank you in advance guys.

1.jpg

1 Accepted Solution

Accepted Solutions

 

The routes are there, can you post a traceroute from r-5 using loopback as source IP to r-1 or r-2 ? 

 

Jon

View solution in original post

6 Replies 6

Jon Marshall
Hall of Fame
Hall of Fame

 

Can you post a

sh ip bgp

from r-4 and r-5. 

 

Jon

     Network          Next Hop            Metric LocPrf Weight Path
 *>   1.1.1.1/32       20.1.1.3                               0 65537 i
 *m                    192.168.1.191                          0 65537 i
 *>   1.1.1.2/32       20.1.1.3                               0 65537 i
 *m                    192.168.1.191                          0 65537 i
 r>i  1.1.1.5/32       1.1.1.5                  0    100      0 i
 r>i  1.1.1.6/32       1.1.1.6                  0    100      0 i
r4#

 

     Network          Next Hop            Metric LocPrf Weight Path
 *>i  1.1.1.1/32       1.1.1.4                  0    100      0 65537 i
 *>i  1.1.1.2/32       1.1.1.4                  0    100      0 65537 i
 *>   1.1.1.5/32       0.0.0.0                  0         32768 i
r5#

 

The routes are there, can you post a traceroute from r-5 using loopback as source IP to r-1 or r-2 ? 

 

Jon

jon indeed you are a legend. 

you opened my eyes and made me realize my stupidity, and that the traffic i was generating was sourced from outgoing interface of r5 not from loopback as desired. and ofc those routes are not advertised into bgp,  silly me....

god bless you.

 

 

No problem, glad you got it sorted. 

 

Jon

paul.driver
Level 1
Level 1

Hello

From R3
Possibly advertise a default route into opsf for both r1-2 and then advertise OSPF or just OSPF specific routes into bgp towards r4-5-6

  • Example:
    ip prefix-list 10 permit 1.1.1.1/32

    ip prefix-list10  permit 1.1.1.2/32

    route-map OSPF_PF

    match ip address prefix-list 10

    router ospf 1

    default-information originate always

    router bgp 65537

    redistribute ospf 1 match internal external 
    or

    redistribute ospf 1 route-map OSPF_PF match internal  external 
Review Cisco Networking for a $25 gift card