[ previous ] [ next ] [ threads ]
 
 From:  Sylvain MEDEOT <symedeot at yahoo dot fr>
 To:  Guy Boisvert <boisvert dot guy at videotron dot ca>
 Cc:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] Re: OT: Load balancing across 2 WANs
 Date:  Sat, 16 Dec 2006 11:00:14 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> Austin Montford wrote:
>> The only thing I can think of is to put a router in front of the
>> m0n0wall running ospf with equal cost routes.  I wonder if m0n0wall will
>> eventually support ospf?
>>
>>   
> ... or BGP if facing internet directly.  Or simply load balance by
> alternate outgoing connections based on sessions.
> 
> 
> Guy Boisvert
> IngTegration inc.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch
> For additional commands, e-mail: m0n0wall dash help at lists dot m0n0 dot ch
> 
> 
> ----------------------------------------------------------
> Message exempt de virus ou polluriels connus (MailScanner)

Hi,

I had the same problem. I am running two monowall, one on each wan.
They are both connected to a router (based on debian) with one dedicated
interface to each monowall. Then,I use iproute to load balance between
the two links.

It works perfectly.

interface to wan1 (192.168.9.17) :
ip route add 192.168.9.16/29 dev eth1 src 192.168.9.18 table uplink1
route add default via 192.168.9.17 table uplink1
ip rule add from 192.168.9.18 table uplink1

interface to wan 2 (192.168.9.2) :
ip route add 192.168.9.0/30 dev eth2 src 192.168.9.2 table uplink2
ip route add default via 192.168.9.1 table uplink2
ip rule add from 192.168.9.2 table uplink2

ip route add default scope global nexthop via 192.168.9.17 dev eth1
weight 2 nexthop via 192.168.9.1 dev eth2 weight 1

You can use weight to put priorities on each link.

Hope it helps,

Sylvain
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFg8OuG2qHcr4CDdkRAmUbAJ9xW+TLnFkncP56C8h3z7W9/bovAQCfcUJO
iyTd5U9QFZmKFouwO4Jog6g=
=ZVHg
-----END PGP SIGNATURE-----

	

	
		
___________________________________________________________________________ 



http://fr.answers.yahoo.com