cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
857
Views
0
Helpful
7
Replies

BGP - Routing

asifmohamamed
Level 1
Level 1

I have configured a Two service provider BGP configuration in single router.

Configuration as given as below...

G_Ware#sh running-config | s route

router bgp 64515
 no synchronization
 bgp log-neighbor-changes
 network 10.103.0.0 mask 255.255.240.0
 neighbor 10.0.0.109 remote-as 10201------------------------------------SP 1
 neighbor 10.0.0.109 update-source GigabitEthernet0----------------SP 1
 neighbor 192.168.136.177 remote-as 9583-----------------------------SP 2
 neighbor 192.168.136.177 update-source FastEthernet8.162-----SP2
 no auto-summary

G_Ware#Sh ip route

Gateway of last resort is 192.168.136.177 to network 0.0.0.0

B*    0.0.0.0/0 [20/0] via 192.168.136.177, 2d01h
      10.0.0.0/8 is variably subnetted, 80 subnets, 5 masks
B        10.0.0.2/32 [20/0] via 10.0.0.109, 2d01h
B        10.0.0.28/30 [20/0] via 192.168.136.177, 06:58:42
C        10.0.0.108/30 is directly connected, GigabitEthernet0
L        10.0.0.110/32 is directly connected, GigabitEthernet0
B        10.0.0.120/30 [20/0] via 192.168.136.177, 06:58:42

B        10.180.80.0/20 [20/0] via 192.168.136.177, 2d01h
B        10.180.160.0/20 [20/0] via 192.168.136.177, 2d01h
B        10.182.0.0/20 [20/0] via 192.168.136.177, 2d01h
B        10.182.32.0/20 [20/0] via 192.168.136.177, 2d01h
B        10.184.0.0/20 [20/0] via 10.0.0.109, 2d01h-----------------My Router Learns SP2 Networks through SP1(instead of learning through SP2)
B        10.184.32.0/20 [20/0] via 192.168.136.177, 06:58:09
B        10.186.48.0/20 [20/0] via 192.168.136.177, 2d01h

How to restrict above issue and also i require my router wants to learn SP1 network via SP1 and SP2 network via SP2.

I have attached configuration of Router along with ip route status

Thanks in advance

Asif

7 Replies 7

Jon Marshall
Hall of Fame
Hall of Fame

What does a "sh ip bgp 10.184.0.0 255.255.240.0" show ?

If that subnet belongs to ISP2 then the route advertised from ISP2 should have a shorter AS path.

Jon

Find a below output after check with sh ip bgp 10.103.0.0 255.255.240.0 command....

G_Ware#sh ip bgp 10.103.0.0 255.255.240.0
BGP routing table entry for 10.103.0.0/20, version 21
Paths: (1 available, best #1, table default)
  Advertised to update-groups:
     2
  Local
    0.0.0.0 from 0.0.0.0 (192.168.136.178)
      Origin IGP, metric 0, localpref 100, weight 32768, valid, sourced, loca
l, best

I don't understand what you have posted.

The output is for your 10.103.0.0 255.255.240.0 subnet but I thought you were asking about the subnet you highlighted in your original post ie. 10.184.0.0 255.255.240.0.

Jon

Sorry, by mistake I have posted output for 10.103.0.0 255.255.240.0

Kindly find a output 10.184.0.0 255.255.240.0

G_Ware#sh ip bgp 10.184.0.0 255.255.240.0
BGP routing table entry for 10.184.0.0/20, version 69
Paths: (1 available, best #1, table default)
  Advertised to update-groups:
     2
  10201 65500
    10.0.0.109 from 10.0.0.109 (202.148.199.122)
      Origin IGP, localpref 100, valid, external, best

Thanks

Asif

Is this an MPLS network ?

Jon

SP 1- MPLS VPN

SP 2- MPLS

According to your output you are not receiving an advertisement from ISP2 for that subnet.

Are you sure you are advertising that subnet to both ISPs at the remote site ?

What do you mean by just MPLS ?

Jon

Review Cisco Networking for a $25 gift card