11-01-2008 03:44 AM - edited 03-04-2019 12:09 AM
hi,
Suppose B and C are IBGP routers. On B we set the BGP neighbor next-hop-self.
The only advatage I see of this command is to avoid having a static route, on C, to the exterior EBGP link.
Are there any other benefits?
Solved! Go to Solution.
11-01-2008 08:24 AM
Hello Wassim,
in a IP only network the only advantage can be that of being able to satisfy the BGP next hop reachability check (first check in the hierarchy of criteria used to choice the BGP best path)without adding a route as explained by Jon and Amit.
In a MPLS network there are some scenarios were implementing inter-AS MPLS VPN where the next-hop-self is required to be able to forward MPLS VPN packets at the AS boundary routers. In practice the BGP next-hop-self in that cases allow to "join" two MPLS label paths at the boundary.
Hope to help
Giuseppe
11-01-2008 06:09 AM
Wassim
This is the main reason to use the next-hop-self. Because if B is peering via EBGP with another router then unless you use the next-hop-self B will advertise the route to C with the next hop of the external BGP router. C probably won't know how to get there unless as you say you add it as a route to C.
Jon
11-01-2008 06:18 AM
Jon,
Sorry, I think I didnt see you post before replying. Its just a wrong timing.
-amit singh
11-01-2008 06:19 AM
Amit
No need to apologize, always good to have your input.
Jon
11-01-2008 06:16 AM
Yes its kindaa true. Any EBGP route learned inside the BGP AS, carries the EBGP neigbor ID as the next hop. Your all the router in the BGP AS has to have a route to reach that next-hop IP otherwise the routes learned wont show up in BGP table. You can have the reachability to that neigbor either via static route or using some routing protocol. BGP " next-hop-self " command advertises your router ID which is peering with the EBGP router as the next-hop for all the external AS routes learned and will be the easiest way to exit out from the AS as all the IBGP routers will have peering to your EBGP router.
-amit singh
11-01-2008 08:24 AM
Hello Wassim,
in a IP only network the only advantage can be that of being able to satisfy the BGP next hop reachability check (first check in the hierarchy of criteria used to choice the BGP best path)without adding a route as explained by Jon and Amit.
In a MPLS network there are some scenarios were implementing inter-AS MPLS VPN where the next-hop-self is required to be able to forward MPLS VPN packets at the AS boundary routers. In practice the BGP next-hop-self in that cases allow to "join" two MPLS label paths at the boundary.
Hope to help
Giuseppe
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: