2 Nics - Same Subnet..Route backup traffic through one of them

Posted by Matthewhall58 on Server Fault See other posts from Server Fault or by Matthewhall58
Published on 2013-10-25T20:34:48Z Indexed on 2013/10/25 21:57 UTC
Read the original article Hit count: 201

Filed under:
|
|
|
|

I have a windows server and a centos linux server.

I want the nightly backup file (targz) that copies to the windows machine to use a different nic so that the main nic is not burdenend with moving the large file.

Each server has 2 Nics in it.

the network is 10.173.10.0 mask 255.255.255.192

Centos Linux Box:

  • Eth0 is configured with 10.173.10.80 mask 255.255.255.192 gw 10.173.10.65
  • Eth 1 is configured with 10.173.10.71 mask 255.255.255.192 gw 10.173.10.65

Windows Box

  • Eth 0 is 10.173.10.72 mask 255.255.255.192 gw 10.173.10.65
  • Eth 1 is 10.173.10.70 mask 255.255.255.192 gw 10.173.10.65

I can ping each machine from each machine.

On the linux machine I use the command

route add -host 10.173.10.70 dev eth1

but then when i ping 10.173.10.70 it is unreachable..... WHY?

© Server Fault or respective owner

Related posts about ip

Related posts about ping