1

Problem I have a Linux machine (Slackware) with two network interface cards and i want to use one interface for network traffic and other for storage traffic . As this is Slackware i dont know this this could be the solution or not but i am trying this : ip route add IP1 dev eth0, ip route add IP2 dev eth1 For more reference please take a look at itenter image description here

  • Is the SAN directly connected to eth1? Are eth0 and eth1 connected to the same network? Do they have addresses in the same network? – Hauke Laging Apr 4 '14 at 6:36
  • @HaukeLaging SAN is directly connected to eth1 via iSCSI .Yes they have addresses in the same network .The only objective to do this is that I dont want any network traffic collision . – Ankit Apr 4 '14 at 6:41
  • If the SAN is directly connected to eth1 then you can change the addresses of eth1 and the SAN so that they are outside the eth0 subnet, can't you? – Hauke Laging Apr 4 '14 at 6:46
  • @HaukeLaging Actually I want SAN to be in the same network because I am only using a 8TB LUN of SAN mounted on Slackware . – Ankit Apr 4 '14 at 6:52
0

That is a bit complicated due to Linux being a "weak end system" design. Avoid it if you can.

Have a look at this question on Serverfault.

If the ARP problems are solved (the traffic from the SAN to eth1) then all you still need should be a routing entry for the SAN:

# with then SAN address being 1.2.3.4 and the eth1 address 1.2.3.5
ip route add 1.2.3.4/32 dev eth1 src 1.2.3.5

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.