Paul Monaghan wrote:
>
> Okay, perhaps what I am trying to do can't work for what ever reason but
> here it is. I've setup ipvs rules as follows:
>
> TCP 209.226.95.146:8080 wlc
> -> 10.0.0.1:8001 Local 1 1 0
> -> 10.0.0.1:8000 Local 1 0 0
For the LocalNode feature, the load balancer just let the packets
pass to the upper layer (up to service daemon) to process the request.
So, the port number of the local service must be equal to that of
the virtual service, otherwise it won't work. Maybe I should add
some code to check whether the port number of local service is
equal to that of virtual service, if not, reject it to avoid such
an error.
Wensong
>
> The 10.0.0.1 interface is on the same machine as 209.226.95.146. For what
> ever reason the 10.0.0.1 interface isn't forwarding packets back to the
> 209 interface. Here is a ipchains -L:
>
> Chain forward (policy MASQ):
> target prot opt source destination ports
> MASQ all ------ 10.0.0.0/24 anywhere n/a
>
> [paulm@spider ~]$ cat /proc/sys/net/ipv4/ip_forward
> 1
>
> Can anyone see anything I have forgot?
>
> Paul
> ---
> PM1819 | paulm@xxxxxxxxxx
> http://www.spider.org
>
|