More BGP next-hop-self

From the below you can see the next hop for 192.168.0.0 network is 10.0.0.2 which is outsite of 65000 AS, and router jazz doesn’t have a route to it.  BGP will not put 192.168.0.0 into routing table because it doesn’t know how to reach next hop, you can see this below:

BGP-Next Hp Self 2

BGP-Next Hp Self 3

BGP-Next Hp Self 4

By adding the next-hop-self command on the router owen it will change the next-hop attribute for external networks that will be advertised to the router Jazz:

owen(config-router)#neighbour 10.0.1.2 next-hop-self

BGP-Next Hp Self 4.5

This changes the next hop attribute from 10.0.0.2 to be 10.0.1.1 on the router owen

BGP-Next Hp Self 5

from Jazz you can now ping (192.168.0.1) on Jules.

BGP-Next Hp Self 6

Job done!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: