[Ilugc] routing with 3 interface!

  • From: apsivam@xxxxxxxxx (Sivanandhan, P.)
  • Date: Tue Jun 28 14:11:28 2005

On 28 Jun 2005 13:55:46 +0530, Raja Mallik <raja.mallik@xxxxxxxxxxx> wrote:

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!


may be this will help you
http://www.linuxjournal.com/article/7291
please update your response here once you tried this.

-- 
Cheers,
Sivam
[Jai Hind]
www.emmeskay.com

Other related posts: