Is HA for me?...2 nic?s+2 def.gw = 1 problem...

Lars Marowsky-Bree lmb@suse.de
Tue, 19 Mar 2002 10:28:32 +0100


On 2002-03-19T10:10:17,
   Tommy Augustsson <tommy.augustsson@dotcom.se> said:

> If a client from a nother net sends packets to eth1 then the server should
> use the eth1 to answer... so the communications is only over the eth1.
> 
> If a client from a nother net sends packets to eth0 then the server should
> use the eth0 to answer... so the communications is only over the eth0.
> 
> I hope that you understand the funktions I?m seeking for.

What you need is policy routing; depending on the source address used you want
to decide where to send the packet. I suggest you look at the advanced routing
stuff in 2.2 / 2.4, which is controlled via the "ip" command.

Sincerely,
    Lars Marowsky-Brée <lmb@suse.de>

-- 
Perfection is our goal, excellence will be tolerated. -- J. Yahl