I have two internet connections (2 PSI) shorewall use for load balancing, and
this works well, if I need to upload a large file and I want my two connections
simultaneously use the Internet, what do I configure shorewall? and may obtain
the sum of the bandwidth of the two ISP:
ISP1 =6Mbps
ISP2 =6Mbps
ISP-Total= 12 Mbps
DITG done with testing, sending 2 streams to different IP addresses and note
that each stream flows through a different ISP, but there is enough packet loss
(50%) apparently shorewall limits the bandwidth of a single link but actually
goes by two links.
The configuration used is as follows:
Providers
root@voyage:/# cat /etc/shorewall/providers
#
# Shorewall version 4 - Providers File
#
# For information about entries in this file, type "man shorewall-providers"
#
# For additional information, see http://shorewall.net/MultiISP.html
#
############################################################################################
#NAME NUMBER MARK DUPLICATE INTERFACE GATEWAY OPTIONS
COPY
SHO1 1 1 main ath0 192.168.2.2 track,balance eth0
SHO2 2 2 main ath1 192.168.1.2 track,balance eth0
interface
###############################################################################
#ZONE INTERFACE BROADCAST OPTIONS
#Definimos las interfaces q tienen salida a internet
net ath0 detect
net ath1 detect
#Definimos el area local de nuestra red
loc eth0 detect
masq
#INTERFACE SOURCE ADDRESS PROTO PORT(S) IPSEC
MARK USER/
# GROUP
ath0 eth0 192.168.2.1
ath1 eth0 192.168.1.1
eth0 ath0 10.1.6.2
eth0 ath1 10.1.6.2
Also modify the value / proc/sys/net/ipv4/route/gc_timeout = 0, so do not hold
the routing cache
I hope someone can help me with this problem, I took several weeks working on
this.
regards
Geovana
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users