Add route to 1 IP Address through second network card
Hi,
I am sorry but i know virtually nothing on the networking side of Linux. I have a server with 2 network cards. eth0 is used for all traffic and everything is working fine on this side. Eth1 is used for traffic to and from 1 ip address. Lets say the ip address of eth1 is 123.123.123.10 and its gateway is 123.123.123.1. I need to pass all traffic to 123.123.123.20 through eth1. What command would i use? Thanks for any help. |
something like
route add -host 123.123.123.20 gw 123.123.123.1 should do it |
All times are GMT -5. The time now is 09:56 PM. |