LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Basic question - netstat

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Basic question - netstat
From: john bender <fafaforza@xxxxxxxxx>
Date: Sun, 7 Aug 2005 08:39:26 -0700 (PDT)
Should I see a socket on the virtual server
(loadbalancer) listening on the public IP and port 80
(for http)?

I am currently not seeing it under netstat -na, but
LVS is running and not giving me any errors:

(10.50.50.243 is my "public" IP -- testing on a local
net)

-----------
ipvsadm -C
ipvsadm -A -t 10.50.50.243:80 -s wlc
ipvsadm -a -t 10.50.50.243:80 -r 10.16.16.2:80 -m
ipvsadm -a -t 10.50.50.243:80 -r 10.16.16.3:80 -m

-----------
# ipvsadm
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight
ActiveConn InActConn
TCP  10.50.50.243:http wlc
  -> 10.16.16.3:http              Masq    1      0    
     0         
  -> 10.16.16.2:http              Masq    1      0    
     0         

-----------
# netstat -na
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign
Address         State      
tcp        0      0 0.0.0.0:22              0.0.0.0:* 
             LISTEN      



Thanks.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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