[LARTC] Sugestion please loadballance

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi 

I'm new to this list and like to ask what to do.

I have a linux box (a) in a data center connected to the internet with a
2Mbit line
and a linux box (b) at our office connected with 4 ADSL connections
1500/256Kbit lines.

I like to route traffic through the linuxbox (a) loadbalanced over 4
lines to the linuxbox (b).
On this box(b) is running julians equalize patch very nice.


On the linuxbox (a) I run

/sbin/ipvsadm -C
/sbin/ipvsadm -A -t ip(a):80 -s wlc
/sbin/ipvsadm -a -t ip(a):80 -r ip(b)1 -i
/sbin/ipvsadm -a -t ip(a):80 -r ip(b)2 -i
/sbin/ipvsadm -a -t ip(a):80 -r ip(b)3 -i
/sbin/ipvsadm -a -t ip(a):80 -r ip(b)4 -i

where :
ip(a) = 217.xxx.xxx.xxx  (datacenter)
ip(b)1 = 86.xxx.xxx.1    (adsl 1 office)
ip(b)2 = 86.xxx.xxx.2    (adsl 2 office)
ip(b)3 = 86.xxx.xxx.3    (adsl 3 office)
ip(b)4 = 86.xxx.xxx.4    (adsl 4 office)


I don't have any firewall rule running.
/proc/sys/net/ipv4/ip_forward = 1

If I do a http request on ip(a) the I can see that ipvsadm is working
and redirect traffic to ip(b)x but 0 byte's get out 

What do I have to do to get this done or what i'm doing wrong.



Thank for ready.

Sjaak





 




[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux