Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
You may experience some slow load times, errors, and slight inconsistencies. We ask for your patience as we finalize the launch. Thank you.

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

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

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

  • WAN Routing and Switching
1 REPLY
Purple

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

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.

624
Views
0
Helpful
1
Replies