March 28, 2024, 03:31:47 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Assiging Two Gateway(Router) address in Linux machine  (Read 3570 times)

Offline anil_garg5

  • Linux Learner
  • ***
  • Posts: 71
Assiging Two Gateway(Router) address in Linux machine
« on: August 05, 2004, 02:12:34 PM »
Hi All,

Can anybody help me to assign the two Gateway address in Redhat Linux 8 system. I hv two NIC. With one default gateway address, it work fine.
This is basically squid proxy server.


I tried this..
I defined one ISP router as gateway with neat command.

for second route, i do this.............

route add -net 192.168.10.0 netmask 255.255.255.0 gw 200.192.172.99 eth0
Both gateway are available in router table. i tried
 netstat -nr

I tried it with Two LAN card..but all in vain.
Pls do the needful....
Any help is highly appreciable,


Thanks in Advance,
Bye
Anil