2 nic's in 1 subnet for iscsi

Hello all, I'm attempting to setup multipath iscsi to an equallogic ps4100 series san on opensuse 12.1 but I've run into a little issue, networking only working on one of the interfaces in the iscsi network. When both the interfaces in the iscsi network and configured and up I can only ping devices in the network over a single interface, say eth1 (ping -I eth1 172.16.0.2 ), and when i attempt to ping via eth2 ( ping -I eth2 172.16.0.2) it fails w/100% package loss. If I ifdown eth1, i'm then able to ping via eth2 (ping -I eth2 172.16.0.2). I've read/reviewed the SLES11 Storage Admin Guide, various Equallogic docs, and the great and might google, and haven't really come up with much. I think I may need to setup policy routing for this but I haven't had a chance to try it yet, so I figured in the meantime I'd reach out to the community. OpenSUSE 12.1: eth0 = 192.168.0.2 eth1 = 172.16.0.10 (iscsi net) eth2 = 172.16.0.11 (iscsi net) The SAN group_ip is 172.16.0.2 port 3260. Thanks! -- To unsubscribe, e-mail: opensuse-networking+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-networking+owner@opensuse.org

On Wednesday 27 February 2013 03:58:26 pm Darin Perusich wrote:
Hello all,
I'm attempting to setup multipath iscsi to an equallogic ps4100 series san on opensuse 12.1 but I've run into a little issue, networking only working on one of the interfaces in the iscsi network. When both the interfaces in the iscsi network and configured and up I can only ping devices in the network over a single interface, say eth1 (ping -I eth1 172.16.0.2 ), and when i attempt to ping via eth2 ( ping -I eth2 172.16.0.2) it fails w/100% package loss. If I ifdown eth1, i'm then able to ping via eth2 (ping -I eth2 172.16.0.2).
I've read/reviewed the SLES11 Storage Admin Guide, various Equallogic docs, and the great and might google, and haven't really come up with much. I think I may need to setup policy routing for this but I haven't had a chance to try it yet, so I figured in the meantime I'd reach out to the community.
OpenSUSE 12.1: eth0 = 192.168.0.2 eth1 = 172.16.0.10 (iscsi net) eth2 = 172.16.0.11 (iscsi net)
The SAN group_ip is 172.16.0.2 port 3260.
If you like to route one subnet over two or more cards you need to disable at least rp_filter echo 0 > /proc/sys/net/ipv4/all/rp_filter maybe you also need some routing rules -> http://www.lartc.org/howto/ regards, Tami -- To unsubscribe, e-mail: opensuse-networking+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-networking+owner@opensuse.org

On Wed, Feb 27, 2013 at 11:25 AM, Tami <tami@disconnected.de> wrote:
On Wednesday 27 February 2013 03:58:26 pm Darin Perusich wrote:
Hello all,
I'm attempting to setup multipath iscsi to an equallogic ps4100 series san on opensuse 12.1 but I've run into a little issue, networking only working on one of the interfaces in the iscsi network. When both the interfaces in the iscsi network and configured and up I can only ping devices in the network over a single interface, say eth1 (ping -I eth1 172.16.0.2 ), and when i attempt to ping via eth2 ( ping -I eth2 172.16.0.2) it fails w/100% package loss. If I ifdown eth1, i'm then able to ping via eth2 (ping -I eth2 172.16.0.2).
I've read/reviewed the SLES11 Storage Admin Guide, various Equallogic docs, and the great and might google, and haven't really come up with much. I think I may need to setup policy routing for this but I haven't had a chance to try it yet, so I figured in the meantime I'd reach out to the community.
OpenSUSE 12.1: eth0 = 192.168.0.2 eth1 = 172.16.0.10 (iscsi net) eth2 = 172.16.0.11 (iscsi net)
The SAN group_ip is 172.16.0.2 port 3260.
If you like to route one subnet over two or more cards you need to disable at least rp_filter
echo 0 > /proc/sys/net/ipv4/all/rp_filter
maybe you also need some routing rules -> http://www.lartc.org/howto/
Setting net.ipv4.conf.all.rp_filter=0 has resolved this...thanks! -- To unsubscribe, e-mail: opensuse-networking+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-networking+owner@opensuse.org
participants (2)
-
Darin Perusich
-
Tami