ONTAP Discussions

snapmirror multipath route problem?

buim
2,172 Views

I am trying to setup snapmirror multipath but can't seem to get it working.  When the primary network is down, the dest filer can't connect to the source filer.

source ip -  10.191.1.1

dest ip - 10.195.1.1

dest sec ip - 10.195.2.1

snapmirror.conf

960b=multi (10.191.1,1,10.195.1.1) (10.191.1.1,10.195.2.1)
960b:snapsource                                      3040b:snapdest restart=always 0-59/2 * * *

Destination      Gateway            Flags     Refs     Use  I          nterface
default          10.195.1.254     UGS        82      75940394       vif1
10.195.2/24    link#8                  UC          0        0                 vif2
10.195.2.254   0:d0:0:e3:63:fc    UHL         8        0                 vif2
10.195.2.255   ff:ff:ff:ff:ff:ff            UHL      0        943879            vif2

when dest primary nic is up.

traceroute to 10.191.1.1(10.191.1.1), 30 hops max, 40 byte packets
1  10.195.1.254 (10.195.1.254)  0.000 ms  0.000 ms  0.000 ms

...

...
  6  source(10.191.1.1)  6.000 ms  5.000 ms  6.000 ms

when dest primary nic is down.

usbcpfas3040b*> traceroute 10.191.196.135
traceroute to 10.191.196.135 (10.191.196.135), 30 hops max, 40 byte packets
1 traceroute: sendto: Network is down

ping: wrote 10.191.196.135 64 chars, error=Network is down

I think the problem is when the dest primary nic is down (10.195.1.1), the dest filer still tries to use the default g/w (10.195.1.254) to get to the source.  If I add a permanent route in the routing table on the dest filer to use 10.191.2.254 it will work.  But this means the dest filer will will use 10.191.2.254 all the time to get to the source.  This is not want it I want.  I like the dest filer to use the default gateway (10.191.1.254) when the primary nic (10.191.1.1) is up.  Use gateway 10.191.2.254 when the primary nic is down.

Any suggestions?

cheers,

Marcu

1 REPLY 1

scottgelb
2,172 Views

I would have 2 ips on the source and haven't seen the same source ip used like this before.  It is also easier if the 2 ips are separate networks, but if on the same subnet you will need to do a route add with a metric of 0 if on the same subnet.

Public