Hello Group,
This is my first post ....!
I am trying to get LVS-Tun to work across multiple
networks :--
I have a server on the web that I am using as a Director I
have set this up and this seems to be fine.
The Director has two IP's say 212.20.20.1 on eth0 (DIP) and
212.20.20.2 on eth0:1 (VIP)
I have an ADSL connection with a fixed IP for example sake
192.55.55.81
I also winroute running on a win98 box that dials the ADSL
This machine has a port mapped any IP on port 80 to be
forwared to the Realserver IP 100.100.100.101 (RIP).
I have setup a tunnel on the realserver (VIP) 212.20.20.2
Director :-
ipvsadm command shows the following :-
IP Virtual Server version 1.0.6
(size=4096)
Prot LocalAddress:Port Scheduler
Flags
-> RemoteAddress:Port Forward Weight
ActiveConn InActConn
TCP 212.100.100.2 :80 rr
-> 192.55.55.81:80 Tunnel 1 0 0
ifconfig from Director
eth0 Link encap:Ethernet HWaddr 00:02:B3:23:44:9C
inet addr:212.20.20.1 Bcast:212.20.20.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:814186 errors:0 dropped:0 overruns:0
frame:0
TX packets:1264531 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:100
Interrupt:10 Base address:0xef00
eth0:1 Link encap:Ethernet HWaddr 00:02:B3:23:44:9C
inet addr:212.20.20.2 Bcast:212.20.20.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:10 Base address:0xef00
eth1 Link encap:Ethernet HWaddr 00:02:B3:23:44:9D
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:100
Interrupt:10 Base address:0xee80
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:1112 errors:0 dropped:0 overruns:0
frame:0
TX packets:1112 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:0
Realserver :-
ifconfig of realserver
eth0 Link encap:Ethernet HWaddr 00:50:56:59:1E:12
inet addr:100.100.100.101 Bcast:100.100.100.255
Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MTU:1500
Metric:1
RX packets:1666 errors:0 dropped:0 overruns:0
frame:0
TX packets:361 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:100
RX bytes:205386 (200.5 Kb) TX bytes:164325
(160.4 Kb)
Interrupt:10 Base address:0x10a0
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:0
RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)
tunl0 Link encap:IPIP Tunnel HWaddr
inet addr:212.20.20.2 Mask:255.255.255.255
UP RUNNING NOARP MTU:1480 Metric:1
RX packets:32 errors:0 dropped:0 overruns:0
frame:0
TX packets:0 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:0
RX bytes:2579 (2.5 Kb) TX bytes:0 (0.0 b)
When connecting the browser times out !
The Director shows an InActConn connection.
Any help would be greatly appreciated.....
Please note that the above IPs are fictional for the
purpose of this enquiry......
Additionaly I have managed to get LVS to work when the
Director and the Realserver are on the same network!
Kind Regards,
SG
______________________________________________________________
Get Your Free E-mail at http://www.prontomail.com
|