Adding different gateway to the second NIC
Hi,
I have a Linux server running as a proxy and mail server.We have a leased line and an ADSL connection. The leased line is used to receive mails only and the ADSl for internet browsing.I've two network cards in the server. so right now I've configured my default gw as 192.168.0.254 which is the that of the leased line.So I'm able to receive mails now.
Now I want my Internet gateway to be the ADSL router whose IP is 192.168.0.253. How can I configure the gateway for eth1 as 192.168.0.253(ADSL) keeping my default gw as 192.168.0.254.
I hope it is done with 'route add' command. But if possible give me the exact syntax.
waiting for your reply,
Thanking you in advance
Jomy
Last edited by jomy; 12-25-2004 at 12:31 AM.
|