ONTAP Hardware
ONTAP Hardware
i seem to have something wrong or i have missed out a step which i dont know .. we have a set of fas2040 on prod and dr site ... i have configured the network as below .. i can ping the outside world but i cant ping the mainvif from outside .. nor can i access the filer by any means .. the only way is via the rlm ..
hostname XXXXX
vif create multi vif1 -b ip e0a e0b
vif create multi vif2 -b ip e0c e0d
vif create single mainvif vif1 vif2
ifconfig mainvif `hostname`-mainvif mediatype auto netmask 255.255.255.192 partner mainvif
ifconfig mainvif alias 169.41.6.147 netmask 255.255.255.192
route add default 169.41.6.128 1
routed on
options dns.domainname XXXXXX.com
options dns.enable on
options nis.enable off
savecore
XXXXX> ping 169.41.6.128
169.41.6.128 is alive
XXXXX> ping 169.52.85.61
169.52.85.61 is alive
Solved! See The Solution
The obvious checks – both ports of each multivif are connected to the same switch (or switch stack) and switch ports are properly configured for static link aggregation; all four ports on switches are configured in the same VLAN.
Addresses look very strange. 169.41.6.128 in a network with a mask 255.255.255.192 means host bits are all zero, which is not possible for a valid address.
There could also be routing issues. Please show output of “netstat -rn”.
The obvious checks – both ports of each multivif are connected to the same switch (or switch stack) and switch ports are properly configured for static link aggregation; all four ports on switches are configured in the same VLAN.
Addresses look very strange. 169.41.6.128 in a network with a mask 255.255.255.192 means host bits are all zero, which is not possible for a valid address.
There could also be routing issues. Please show output of “netstat -rn”.
the dflt gateway and subnet mask wasnt given to us correctly ...the df gateway as .129 and smask was 224 ... btw i am a newbie on network .. can you please help me how did you determine that the address was not valid from the sb mask and the gateway
Convert netmask and IP address to base 2 representation. Part of IP address that corresponds to 1s in mask is network. Part of IP address that corresponds to 0s in mask is host. Host cannot be all 0 or all 1.
It is highly unusual to have non-contiguous network part in address (if it is officially supported at all), so netmask is often written simply as number of bits in the beginning, like network 192.168.1.0/24 meaning netmask 255.255.255.0 (24 bits of 1s).
ifconfig mainvif `hostname`-mainvif mediatype auto netmask 255.255.255.192 partner mainvif
ifconfig mainvif alias 169.41.6.147 netmask 255.255.255.192
What IP is in the /etc/hosts file for the hostname?
Why are you specifying an alias?
man ifconfig:
"
alias Establishes an additional network
address for this network interface.
This is sometimes useful when
changing network numbers and one
wishes to accept packets addressed
to the old network interface. It
is required when creating IP vir-
tual host addresses.
May not be applied to a network
interface which is part of a vif."