Addon: System setup

To: "lvs-users@xxxxxxxxxxxxxxxxxxxxxx" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Addon: System setup
From: Ratz <ratz@xxxxxx>
Date: Tue, 05 Oct 1999 18:39:49 +0200
Hi LVS-Users

Perhaps I should post my setup:

- Kernel 2.2.12 with ipvs-Patch 0.9.0
- A setup script
- ip_forwarding

This is an excerpt of my script lb.log:

991005174630 Checking /etc/lb.conf for errors
991005174631 ipchains -A input -s 0/0 -d xxx.yyy.197.64/27 -i eth0 -j
991005174631 ipchains -A input -s 0/0 -d xxx.yyy.199.64/27 -i eth1 -j
991005174631 ifconfig eth1:0 xxx.yyy.197.72 netmask
broadcast xxx.yyy.197.72 up
991005174631 route add -host xxx.yyy.197.72 dev eth1:0
991005174631 /sbin/ipvsadm -A -t xxx.yyy.197.72:80 -s wrr
991005174631 /sbin/ipvsadm -a -t xxx.yyy.197.72:80 -r xxx.yyy.197.66:80
-g -w 1
991005174631 /sbin/ipvsadm -a -t xxx.yyy.197.72:80 -r xxx.yyy.197.67:80
-g -w 1
991005174631 Started new process with PID=4133
991005174634 All Webservers are up
991005174636 Shutting down ...
991005174636 Killed process with PID=4133

netstat -rn:

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt
xxx.yyy.197.72 UH        0 0          0
eth1 UH        0 0          0
xxx.yyy.197.64 U         0 0          0
xxx.yyy.199.64 U         0 0          0
eth0   U         0 0          0
eth4   U         0 0          0
eth5         xxx.yyy.197.65         UG        0 0          0

(Note: eth4, eth5 are heartbeat interfaces for HA and xxx.yyy.197.65 is
megate3, the firewall! the xxx.yyy.199.64/27-net will be used to
loadbalance another customer.)

ifconfig -a | grep in

eth0      Link encap:Ethernet  HWaddr 00:50:DA:21:B8:37  
          inet addr:xxx.yyy.199.75  Bcast: 
eth1      Link encap:Ethernet  HWaddr 00:50:DA:21:B9:20  
          inet addr:xxx.yyy.197.75  Bcast: 
eth1:0    Link encap:Ethernet  HWaddr 00:50:DA:21:B9:20  
          inet addr:xxx.yyy.197.72  Bcast: 
eth2      Link encap:Ethernet  HWaddr 00:50:DA:21:B5:63  
eth3      Link encap:Ethernet  HWaddr 00:50:DA:21:B7:E0  
eth4      Link encap:Ethernet  HWaddr 00:50:DA:21:B8:35  
          inet addr:  Bcast: 
eth5      Link encap:Ethernet  HWaddr 00:50:DA:21:B5:3C  
          inet addr:  Bcast: 
lo        Link encap:Local Loopback  
          inet addr:  Mask:

ipvsadm -L

IP Virtual Server version 0.9.0 (size=65536)
Protocol LocalAddress:Port Scheduler Flags
      -> RemoteAddress:Port    Forward Weight ActiveConn InActConn
TCP wrr 
      ->     Route   1      0          0         
      ->     Route   1      0          0         

So, this looks ok, but I get this tcpdump-output I mailed. The problem
is, that there are no replies to any http request from xxx.yyy.197.65
(firewall). Does someone of you with deeper TCP/IP-experience know what
is going on? It is really urgent. 

Roberto Nibali

---------------------------------------------------------------------- mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
To unsubscribe, e-mail: lvs-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: lvs-users-help@xxxxxxxxxxxxxxxxxxxxxx

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