Group: comp.os.linux.networking
From: David Schwartz
Date: Wednesday, March 19, 2008 6:21 AM
Subject: Re: Redundancy using double interface & gateway

On Mar 19, 2:27 am, David Schwartz wrote:

> Simply set two routes on PC1. They should both be to the address
> assigned to the device. The first one should have a gateway of PC2/
> eth0 address and the other should have a gateway of PC2/eth1 address.
>
> This is the quick/kludgy way. There are more complex but more elegant
> ways to do it. For example, you could assign both PC1 and PC2
> 'internal' addresses not assigned with any interface, add two routes
> to PC2's 'internal' address to PC1, and then route IP3 to PC2's
> internal address.

Pascal is right, this won't work.

> You can also use a routing protocol (such as OSPF) and have PC2
> advertise its route to IP3 through both interfaces.

This is right.

DS

Safety Articles | Usenet Groups | Usenet News | Bluegrass