Hello
Everybody,
I'm going mad here with something I cannot figure
out.
I'm trying to simply take 1 server I have and make an LVS using
iptun to another server, coz the servers are on different networks.
On
both servers I have redhat 7.3 with re-compiled kernel 2.4.18 including the
pacthes needed, and also the hidden patch. ipvsadm runs fine on both machines
but I still cannot get what I need.
Here is what I did:
on
director: I have 2 nics, each one with 1 adsl line, so both nics have live
internet ips (pls note these ips are fixed ips, they never change) I want
to have 1 of the dsls to iptun to my real server, so I did
the following:
ipvsadm -A -t ip_eth0_director:80 -s wlc
-p ipvsadm -a -t ip_etho_director:80 -r ip_eth0_real -i -w
3
and for sure I did echo 1 >
/proc/sys/net/ipv4/ip_forward
on real server: modprobe
ipip ifconfig tunl0 0.0.0.0 up ifconfig tunl0 ip_eth0_director netmask
255.255.255.255 broadcast ip_eth0_director up
echo 1 >
/proc/sys/net/ipv4/conf/all/hidden echo 1 >
/proc/sys/net/ipv4/conf/tunl0/hidden
I setup http.conf on real server to
use the Virtual IP (pls note the virtual ip is the ip on eth0 on my
director)
http is not working. I could see on tcpdump that the packets
arriving on port80 on my director are being redirect to the correct ip on the
real server, but I still get no sites working.
Pls pls pls help me
figuring out what I'm missing here and how to make this work.
Thanks
everybody.
|