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: Horms <horms@xxxxxxxxxxxx>
Date: Fri, 5 Nov 2004 15:25:10 +0900
On Thu, Nov 04, 2004 at 08:51:03PM -0800, Andy Shinn wrote:
> 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?

No, that is not true. It never has been and never will be.
LVS acts like a router, forwarding packets. It does not
terminate connections and thus does not need to listen on
a ip:port.

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

That should be sufficient.

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