ONTAP Hardware

Network Configuration Checker and route add

sg_infomatik
4,146 Views

Hi, I have a FAS2240-2 on which the network configuration checker complains about /etc/rc and /etc/hosts mismatch. I looks like this:

My /etc/rc and /etc/hosts look like this:

chgsto01> rdfile /etc/rc

hostname chgsto01

ifgrp create lacp ifgrp01g -b ip e0a e0b e0c e0d

vlan create ifgrp01g 1724 1725 1726

ifconfig ifgrp01g-1724 `hostname`-ifgrp01g-1724 netmask 255.255.255.240 mtusize 1500 #NFS Network

ifconfig ifgrp01g-1724 alias `hostname`-ifgrp01g-1724-alias netmask 255.255.255.240 #NFS Network alias

ifconfig ifgrp01g-1725 `hostname`-ifgrp01g-1725 netmask 255.255.255.240 mtusize 1500 #ISCSI Network

ifconfig ifgrp01g-1726 `hostname`-ifgrp01g-1726 netmask 255.255.255.240 mtusize 1500 #CIFS Network

ifconfig e0M `hostname`-e0M netmask 255.255.255.0 mtusize 1500 #MGMT Network

route add default 172.27.133.1 10

route add net 172.27.224.0/19 172.27.241.81 1

routed off

savecore

chgsto01> rdfile /etc/hosts

127.0.0.1 localhost localhost-stack

127.0.10.1 localhost-10 localhost-bsd

127.0.20.1 localhost-20 localhost-sk

172.27.241.94 chgsto01 chgsto01-ifgrp01g-1726 #CIFS Network

172.27.241.62 chgsto01-ifgrp01g-1724 #NFS Network

172.27.241.61 chgsto01-ifgrp01g-1724-alias #NFS Network alias

172.27.241.78 chgsto01-ifgrp01g-1725 #ISCSI Network

172.27.133.5      chgsto01-e0M #MGMT Network

chgsto01>

In my opinion all interfaces are described in the /etc/hosts file and the route 172.27.224.0/19 goes out of the interface chgsto01-ifgrp01g-1726 to the gateway 172.27.241.81. Do I have to specify the route differently (i.e. route add net 172.27.224.0/19 172.27.241.94 1) pointing to the local interface? This way I depend on the router to proxy the ARP requests of the FAS2240-2.

Any hint is appreciated.

2 REPLIES 2

247itsupport
4,146 Views

Hi Peter,

Were you ever able to resolve the mismatch as we are experiencing the exact same error?

Thanks,

Mark

henri_mahe
4,146 Views

For peter :

not the dot 0

route add net 172.27.224/19 172.27.241.81 1

For Mark :

not the dot 0

route add net 172.20.240/24 10.5.24.250 1

Public