LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Connecting to VIP from director

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Connecting to VIP from director
From: Magnus Nordseth <magnun@xxxxxxxxxxxx>
Date: Fri, 26 Sep 2003 19:28:40 +0200
I cannot connect to a VIP from my director. If I try to get a webpage
hosted on a VIP I get an entry in the access_log on the director. The linux
kernel probably assumes that serving the connection from localhost is a
good idea. 

Anyone know how to get around it?

Output of ipvsadm and ip addr follows:

IP Virtual Server version 1.0.9 (size=131072)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  129.241.56.68:80 rr persistent 1500
  -> 129.241.56.154:80            Route   1      1          43        
  -> 129.241.56.153:80            Route   1      0          69        
TCP  129.241.56.69:80 rr persistent 1500
  -> 129.241.56.154:80            Route   1      17         1052      
  -> 129.241.56.152:80            Route   1      27         1248      
  -> 129.241.56.153:80            Route   1      81         611       
TCP  129.241.56.94:443 rr persistent 1500
  -> 129.241.56.157:443           Route   1      0          73        
  -> 129.241.56.156:443           Route   1      2          208       
  -> 129.241.56.155:443           Route   1      2          155       
  -> 129.241.56.158:443           Route   1      3          207       


illac:~# ip addr
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
    link/ether 00:b0:d0:b0:f5:96 brd ff:ff:ff:ff:ff:ff
    inet 129.241.56.61/24 brd 129.241.56.255 scope global eth0
    inet 129.241.56.60/32 scope global eth0
    inet 129.241.56.69/32 scope global eth0
    inet 129.241.56.68/32 scope global eth0
    inet 129.241.56.94/32 scope global eth0
    inet 129.241.56.95/32 scope global eth0
    inet 129.241.56.96/32 scope global eth0
    inet 129.241.56.97/32 scope global eth0


-- 
Magnus Nordseth

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