LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

bad config ?

To: linux-virtualserver@xxxxxxxxxxxx
Subject: bad config ?
From: Jerome BENOIST <jbenoist@xxxxxxxxxx>
Date: Fri, 30 Apr 1999 11:48:30 +0200
My config don't work ???

Load Balancer :
ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
          UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          Collisions:0 

eth0      Link encap:Ethernet  HWaddr 00:60:08:6E:38:EF  
          inet addr:195.134.208.27  Bcast:195.134.208.255 
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:693 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          Collisions:0 
          Interrupt:9 Base address:0xff00 

eth1      Link encap:Ethernet  HWaddr 00:10:4B:BC:30:55  
          inet addr:195.134.208.28  Bcast:195.134.208.255 
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:136 errors:0 dropped:0 overruns:0 frame:0
          TX packets:630 errors:0 dropped:0 overruns:0 carrier:0
          Collisions:0 
          Interrupt:9 Base address:0xf880 

/proc/net/ip_pfvs 
ippfvs (LinuxDirector) version 0.9pre1 (Tunneling, WRR, size=4096)
IP Port Forwarding & Virtual Server Table
Protocol Local Addr:Port ==> 
                        Remote Addr           Weight ActiveConns
TotalConns
                        ...
UDP      195.134.208.28:80 ==>
                        195.134.208.51        1      0          
0         
                        195.134.208.50        1      0          
0         
TCP      195.134.208.28:80 ==>
                        195.134.208.51        1      2          
2         
                        195.134.208.50        1      2          
2         

Real Server 1 :
ifconfig

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
          UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 

tunl0     Link encap:IPIP Tunnel  HWaddr   
          inet addr:195.134.208.28  Mask:255.255.255.0
          UP RUNNING NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 

eth0      Link encap:Ethernet  HWaddr 00:10:5A:3E:17:ED  
          inet addr:195.134.208.50  Bcast:195.134.208.255 
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1589 errors:0 dropped:0 overruns:0 frame:0
          TX packets:825 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 
          Interrupt:10 Base address:0xfc80 


Real Server 2 :
ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
          UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 

eth0      Link encap:Ethernet  HWaddr 00:10:5A:3E:17:F5  
          inet addr:195.134.208.51  Bcast:195.134.208.255 
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1387 errors:0 dropped:0 overruns:0 frame:0
          TX packets:470 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 
          Interrupt:12 Base address:0x1280 

tunl0     Link encap:IPIP Tunnel  HWaddr   
          inet addr:195.134.208.28  Mask:255.255.255.0
          UP RUNNING NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 

The kernel of loadbalancer send message :
Apr 30 11:39:47 loadb kernel: eth1: Packet targetted at myself!

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