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

Using the set ip next hop <ip address> [ip address] command

alalli
Level 2
Level 2

Hi All,

I am trying to figure out how this command works if i use more than one IP address.

If I use two IP addresses, will the packets all go the the first one in the list except if the first one is down...

or

Will the packets alternate between the first next-hop address and the second one?

My book says that if more than one next-hop address is used, then the first available next-hop router is used.

I think this would mean that it would pick IP address 1 until that one became unavailable, and then failover to IP address 2.

regards,

a

1 Reply 1

pkhatri
Level 11
Level 11

Hi,

With multiple next hop IPs specified, the router will route the packets to the first listed next-hop that it has a route to. Note that the next-hop address has to be directly connected, unless you specify the recursive keyword using 'set ip next-hop recursive ' command.

The router will NOT alternate packets between the various next-hops.

Hope that helps,

Paresh.

Review Cisco Networking products for a $25 gift card