Ok, so say I have a friend with an SVM setup like this (IPs have been changed to protect the innocent). There are two different default gateways because the management LIF is on a different network than the data LIFs so that, theoretically, you could still reach the management LIF if there was an issue on the data network.
Logical Status Network Current Current Is
Vserver Interface Admin/Oper Address/Mask Node Port Home
----------- ---------- ---------- ------------------ ------------- ------- ----
svm01
svm01_data01 up/up 1.3.10.60/24 cluster01-01 a0a true
svm01_data02 up/up 1.3.10.68/24 cluster01-02 a0a true
svm01_mgmt01 up/up 1.7.4.196/25 cluster01-02 e0M true
2 entries were displayed.
cluster01::> net route show -vserver svm01
(network route show)
Vserver Destination Gateway Metric
------------------- --------------- --------------- ------
svm01
0.0.0.0/0 1.3.10.1 20
0.0.0.0/0 1.7.4.129 60
2 entries were displayed.```
So, if the DNS server for this SVM is say 192.50.10.100, which interface would it use?
Since there are no matching bits, in my understanding (and from my interpretation of what you are saying), it will choose the route based on the metrics of the competing default routes. In this case, since the "1.3.10.1" gateway has a lower metric, it will use the data LIFs that are on that gateway to get to 192.50.10.100 (so, svm01_data01 or svm01_data02).
Am I understanding this correctly, or am I missing something?
@coarse cairn, you do make a good point about the asymmetric routing... that could be contributing here.