The linux bonding driver should allow for it - the active-backup mode
should work as you describe (with the exception that the two links
appear to be active at the same time, if it makes any difference).
It is also more versatile than that, allowing for more sophisticated
redundancy modes.

Take a look at
http://www.kernel.org/pub/linux/kernel/people/marcelo/linux-2.4/Document
ation/networking/bonding.txt and see if it matches your needs.

Gil Bahat,
3rd year EECS student,
Tel Aviv University.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Constantine Shulyupin
Sent: Wednesday, January 16, 2008 4:12 PM
To: IGLU List
Subject: managing two interfaces

Hi,

I have a computer connected with two interfaces to same network. Each
one backups another.
When eth0 is down, eth1 have to work.
When eth1 is down, eth0 have to work.
The most sutable solution I've found is to monitor RUNNING status of
interfaces and change the routing table from my program.
Could you please suggests already implemented solution for the problem?

-- 
Constantine Shulyupin
Freelance Embedded Linux Engineer
054-4234440
http://www.linuxdriver.co.il/

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

================================================================To unsubscribe, 
send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to