Subscribe

default gateway, wrong interface?

[ Edited ]

Hello,

We have 2 x FAS2240 running ONTAP 8.1. Filer1 cannot reach autosupport, while filer2 reports correctly. Networking appears functionally equivalent between the 2, except for:

 

admnetappmgt1> netstat -rn
Routing tables

Internet:
Destination      Gateway            Flags     Refs     Use  Interface           
default          10.192.51.1        UGS         4    91380  admntap1_iscsi 

 and:

admnetappmgt2> netstat -rn
Routing tables

Internet:
Destination      Gateway            Flags     Refs     Use  Interface           
default          10.192.51.1        UGS         7  8058092  e0M

 I'm guessing the assigned interface shown could be the culprit. How can I fix that (without downtime)?

 

Jon

Re: default gateway, wrong interface?

Data ONTAP does not provide any way to associate gateway with specific interface; I assume it takes whatever interface is the first one. So the only way to fix it seems to be

  1. delete default route
  2. unconfigure e0M
  3. add default route and check that it is now associated with interface you want
  4. configure e0M again

But keep in mind that you have no control of what happens after reboot.

 

The only reason to have e0M is when you need dedicated management network. Having e0M address on the same network as data network makes very little sense and only creates problems as you found.

 

Re: default gateway, wrong interface?

Could you provide the interface configuration settings? Showing which interfaces have what IPs, etc.