LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

close(i think) but no cigar

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: close(i think) but no cigar
From: "Randy Paries" <randy.paries@xxxxxxxxxxx>
Date: Tue, 23 Mar 2004 11:34:30 -0600
Hello
I have three boxes 
1 director
2 real servers
 
The details are below. I am missing something. It looks like the director is
sending to another machine
The two servers are running apache 2 with virtualHosts set up for
192.168.0.203 and 192.168.0.204
 
I am not sure if at this point i have a director or realserver conffig
problem
Thanks for any help/direction
Randy
 
=============Details====================================================
 
each box has 2 nics (one 100 and one gig)
 
director  
eth0      66.208.187.25
eth0:1    66.208.187.27
eth1      192.168.0.205
 
realserver1
eth0      192.168.0.203 
GATEWAY   192.168.0.205
eth1      66.208.187.30
different gateway
 
realserver2
eth0      192.168.0.204
GATEWAY   192.168.0.205
eth1      66.208.187.31
different gateway

======================================================================
[director]ipvsadm -L -n 
IP Virtual Server version 1.0.10 (size=65536)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  66.208.187.25:80 rr
  -> 192.168.0.203:80             Masq    1      0          0         
  -> 192.168.0.204:80             Masq    1      0          0         

=======================================================================
So when i do a 
telnet 66.208.187.25 80
Connecting To 66.208.187.25...Could not open connection to the host, on port
80: Connect failed
 
here is the tcpdump
tcpdump -n -i any port 80
tcpdump: WARNING: Promiscuous mode not supported on the "any" device
tcpdump: listening on any
11:28:51.167453 24.214.88.68.62558 > 66.208.187.25.http: 
S 1324762040:1324762040(0) win 64240 <mss 1460,nop,nop,sackOK> (DF)

11:28:51.167518 24.214.88.68.62558 > 192.168.0.204.http: 
S 1324762040:1324762040(0) win 64240 <mss 1460,nop,nop,sackOK> (DF)

11:28:55.435669 24.214.88.68.62562 > 66.208.187.25.http: 
S 1324762040:1324762040(0) win 64240 <mss 1460,nop,nop,sackOK> (DF)

11:28:55.435813 24.214.88.68.62562 > 192.168.0.203.http:
 S 1324762040:1324762040(0) win 64240 <mss 1460,nop,nop,sackOK> (DF)


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