LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: LVS-Tun not working correctl. No listening sockets?

To: "'LinuxVirtualServer.org users mailing list.'" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: LVS-Tun not working correctl. No listening sockets?
From: "Kris" <kris@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 5 Nov 2004 14:58:17 +1000
I have working IPVS-TUN and it does not list listening host:port in netstat.

Kris 

-----Original Message-----
From: lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Andy Shinn
Sent: Friday, 5 November 2004 2:51 PM
To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: LVS-Tun not working correctl. No listening sockets?

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

_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx Send
requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users

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