cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
250
Views
0
Helpful
1
Replies

BGP question

jlcisco11
Level 1
Level 1


R3---R1----R2--------R4 
R3 is also connected to R4 and 

R1 and R2 are in AS100
R3 AS300
R4 AS400

I'm advertising a subnet 10.4.10.0/24 and 10.4.20.0/24 in R4,  I can see this subnet in R2> learn from R4 and I see it in R3 learn from R4. I expect to see two learned routes in R1, one from R3 and one from R2 but I only see one route in R1 for the subnet 10.4.10.0/24 from R3, can someone explain what could be missing here?


R1#sh ip bgp 10.4.10.0
BGP routing table entry for 10.4.10.0/24, version 4
Paths: (1 available, best #1, table default)
  Not advertised to any peer
  Refresh Epoch 1
  300 400
    10.1.3.2 from 10.1.3.2 (10.3.4.1)
      Origin IGP, localpref 100, valid, external, best
      rx pathid: 0, tx pathid: 0x0

R1- config
router bgp 100
 bgp log-neighbor-changes
 network 10.1.10.0 mask 255.255.255.0
 network 10.1.20.0 mask 255.255.255.0
 neighbor 2.2.2.2 remote-as 100
 neighbor 2.2.2.2 ebgp-multihop 2
 neighbor 2.2.2.2 update-source Loopback0
 neighbor 10.1.3.2 remote-as 300

R2 -Config
router bgp 100
 bgp log-neighbor-changes
 network 10.2.10.0 mask 255.255.255.0
 network 10.2.20.0 mask 255.255.255.0
 neighbor 1.1.1.1 remote-as 100
 neighbor 1.1.1.1 ebgp-multihop 2
 neighbor 1.1.1.1 update-source Loopback0
 neighbor 4.4.4.4 remote-as 400
 neighbor 4.4.4.4 ebgp-multihop 2
 neighbor 4.4.4.4 update-source Loopback0

 

R3-config
router bgp 300
 bgp log-neighbor-changes
 neighbor 10.1.3.1 remote-as 100
 neighbor 10.3.4.2 remote-as 400

R4#  sh run | sec router bgp
router bgp 400
 bgp log-neighbor-changes
 network 10.4.10.0 mask 255.255.255.0
 network 10.4.20.0 mask 255.255.255.0
 neighbor 2.2.2.2 remote-as 100
 neighbor 2.2.2.2 ebgp-multihop 2
 neighbor 2.2.2.2 update-source Loopback0
 neighbor 10.3.4.1 remote-as 300
R4#

1 Reply 1

Hello

R1 and R2 are Ibgp peers so they dont advertised there routes between each other they only advertise there routes to Ebgp peers and only if these routes have a valid IGP path.

 

Can you post:
sh ip bgp x.x.x.x
sh ip bgp neigbours x.x.x.x advetrised-routes | in y.y.y.y

 

res

Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul