cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
487
Views
0
Helpful
2
Replies

BGP Path Selection

ilovebgp4
Level 1
Level 1

hi!Dear all

I have a BGP router learned a route through two way:one through eBGP,one through iBGP.For I preferred the iBGP path so I use route-map to set the eBGP route's origin to incomplete(the ORIGIN attribute has a higher priority in the decision process than IBGP/EBGP),but when I "show ip bgp",the router still preferred the incomplete route.What's reason?

Sugarbush#sh ip bgp 192.168.192.0 255.255.248.0

BGP routing table entry for 192.168.192.0/21, version 50

Paths: (2 available, best #1, table Default-IP-Routing-Table)

Advertised to non peer-group peers:

192.168.1.237 192.168.1.250

100, (aggregated by 100 172.16.0.21)

192.168.1.254 from 192.168.1.254 (172.16.0.21)

Origin incomplete, metric 0, localpref 100, valid, external, atomic-aggregate, best

100, (aggregated by 100 192.168.50.254)

192.168.1.245 (inaccessible) from 192.168.1.237 (192.168.255.253)

Origin IGP, metric 0, localpref 100, valid, internal, atomic-aggregate

Thanks a lot for your help!

2 Replies 2

Martin Parry
Level 3
Level 3

Ebgp has an administrative distance of 20 Ibgp has an admin distance of 200. The Ebgp path will be preferred.

ilovebgp4
Level 1
Level 1

Sorry,I found the problem.For not set the "next-hop-self" in the iBGP Peer,so the route learned from iBGP Peer's next hop is inaccessible.

Thanks for your help!

BTW:I found some configration code in "TCP/IP Volumn II"(by jeff dolyer) is not so integrated.