LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

LVS-Tun not working correctl. No listening sockets?

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: LVS-Tun not working correctl. No listening sockets?
From: Andy Shinn <andys@xxxxxxxxx>
Date: Thu, 04 Nov 2004 20:51:03 -0800
Hello,

I just setup a 2.6.9 kernel and followed Joseph Mack's mini-HOWTO. I pretty much got everything compiled and running correctly, no errors. But here is the problem I am having. When I add the service and server to forward to using ipvsadm I don't get anything listed in netstat -na as listening on that host and port. For example:

ipvsadm -A -t 192.168.1.2:25
ipvsadm -a -t 192.168.1.2:25 -r 192.168.2.5 -i

I was under the impression that this would create a listening host:port under netstat. Is this true?

The only modules loaded are ip_vs and ip_vs_wlc. Are there more modules I need to load?

Also, my realserver is on a different network (192.168.2.0). They are both routed and able to talk to each other. Should this be possible with my realserver tunl0 device setup with:

ifconfig tunl0 192.168.1.2 netmask 255.255.255.255 broadcast 192.168.1.2 up

192.168.1.1 is the real IP of the director. When I try to telnet 192.168.1.2 25 i get a connection timeout fairly quickly.

Any advice would be appreciated. I have the feeling I am missing one crucial step somewhere.

Thanks!

-Andy

<Prev in Thread] Current Thread [Next in Thread>