ONTAP Discussions

mutiple routes with same destination and metric

ACHOU_SIMG
4,091 Views

ONTAP 9.1RC1 on 6-node cluster

 

HI,

 

I just notice on my cluster, an SVM has the following routes:

 

ntap01::> network route show
Vserver             Destination     Gateway         Metric
------------------- --------------- --------------- ------
vs1
                    0.0.0.0/0       172.25.0.1      20
                    0.0.0.0/0       192.168.87.1    20

 

The SVM has LIFs on these two subnets (one for data and the other for backup traffic). I am wondering the above routes pose any risks espeicially they both have same metric value. Is it smart enough to know that if the LIF is on 172.25.0.0 subnet, use the 1st route for outgoing traffic and if the LIF is on 192.168.87.0 subnet, use the 2nd route?

 

Thanks,

 

1 REPLY 1

Sahana
3,965 Views

Hi,

 

ONTAP uses source-address based routing in which the subnet matching the source is preferred route.

use subnet route of 20.20.20.0/24 to reach 
 destination 20.20.20.1.
If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
Public