Using the set ip next hop <ip address> [ip address] command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2005 06:43 PM - edited 03-03-2019 11:14 AM
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
- Labels:
-
Routing Protocols
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2005 08:21 PM
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
The router will NOT alternate packets between the various next-hops.
Hope that helps,
Paresh.
