Re: Two Ifaces on same subnet setup (problems).

From: Carlos Morgado (chbm@hal.chbm.nu)
Date: Tue Jan 18 2000 - 17:56:18 EST


On Tue, Jan 18, 2000 at 04:57:05PM +0100, Florian-Daniel Otel wrote:
>
>

>
> Problem: Traffic generating from any of the two addresses
> the system and destined to hosts on the attached subnet exits
> through only one of the interfaces namely the one corresponding to
> the first route listed in the routing table. While this is reasonable
> it is not the desired behaviour. I would like that traffic with
> different source addresses exits through the corresponding interface,
> NOT through the same one find by the route lookup. Or, alternatively,
> how can I achieve load balancing between the interfaces in this setup ?
>

What you need is source based routing. Lookup
Documentation/networking/policy-routing.txt

-- 
Carlos Morgado - chbm(at)chbm(dot)nu - http://chbm.nu/ -- gpgkey: 0x1FC57F0A 
http://wwwkeys.pgp.net/ FP:0A27 35D3 C448 3641 0573 6876 2A37 4BB2 1FC5 7F0A
I am Homer of Borg! Prepare to be... OOooo! donuts! 

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:19 EST