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

policy-based route

martin_lx1980
Level 1
Level 1

If I configure two next-hop addresses like below:

set ip next-hop <addressA> <addressB>

If addressA and addressB both are reachable, Which process would happen?

1.load-balance between addressA and addressB

2.Always route packets to addressA,Unless addressA is not reachable.

1 Reply 1

Istvan_Rabai
Level 7
Level 7

Hi Martin,

If you specify more than one ip address, then IOS will route the packet through the proper connected interface which is the first up interface in the given sequence.

Id est:

IOS will try to forward packet to (addressA) first.

If (addressA) has no appropriate connected interface that is currently in up up state, then the packet will be routed to next hop B (addressB), through the proper connected interface if it is in up up state.

Cheers:

Istvan