[Ilugc] routing with 3 interface!

  • From: raja.mallik@xxxxxxxxxxx (Raja Mallik)
  • Date: Tue Jun 28 13:58:11 2005

Hi All, 

I have three network interface on my board. I am try to use

1) eth0 --internal network connected to my PC..
2) eth1 --external network connected to LAN with 192.168.0.0/24 and
gateway 192.168.1.1 
3) eth2 --external network connected to LAN with 192.168.200.0/24 and
gateway 192.168.200.1

Incoming traffic through eth0 should use either eth1 or eth2 as gatway
to net.

I want to setup the route table in my board in such a way that if any of
the link eth1 and eth2 is down, traffic should be able to switch between
eth1, eth2 depending upon which is up or down!

I have port "ip" command utility to my board, but not sure how to use
this to configure route table!

Let me know your views!  

Regards
Raja

Other related posts: