LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Couldn't set Direct Routing.

To: Skliarouk Peter <skliaroukp@xxxxxxxxxxx>
Subject: Re: Couldn't set Direct Routing.
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Wensong Zhang <wensong@xxxxxxxxxxxx>
Date: Sun, 26 Sep 1999 23:01:23 +0800

Skliarouk Peter wrote:
> 
> Hi!
> 
> Help me please! Whole deployment of the LVS in my company is at risk.
> 
> 2 computers: LVS server (2.2.12-0.8.3) and real server (2.2.10)
> script on LVS (192.168.1.11):
> 
> VSweb=192.168.1.13
> RSweb1=192.168.1.10
> ifconfig eth0:0 $VSweb netmask 255.255.255.255 broadcast $VSweb up
> route add -host $VSweb dev eth0:0
> ipvsadm -A -t $VSweb:80 -s wlc
> ipvsadm -a -t $VSweb:80 -r $RSweb1 -g
> 
> on real server (192.168.1.10):
> 
> VSwww=192.168.1.13
> ifconfig lo:0 $VSwww netmask 255.255.255.255 broadcast $VSwww up
> route add -host $VSwww dev lo:0
> 
> checked hundreds times and it still doesn't works:
> # ipvsadm
> IP Virtual Server version 0.8.3 (size=4096)
> Protocol LocalAddress:Port Scheduler Flags
>       -> RemoteAddress:Port    Forward Weight ActiveConn InActConn
> TCP 192.168.1.13:80 wlc
>       -> 192.168.1.10:80       Route   1      0          1
> #
> 
> And no connection established...
> 

I guess that you are running the kernel 2.2.xx on your real server.
It is probably about the ARP problem of kernel 2.2.xx. You can
apply the arp patch posted on the mailing list, and rebuild the
kernel of you real server. Then, configure
  ifconfig tunl0 $VSwww netmask 255.255.255.255 broadcast $VSwww up

Wensong

> Thank you in advance!
> 
> --
> Bye,                   | Those who do not understand Unix are
> Penn (43062358)        | condemned to reinvent it, poorly.
> 
> ----------------------------------------------------------------------
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe, e-mail: lvs-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx
> For additional commands, e-mail: lvs-users-help@xxxxxxxxxxxxxxxxxxxxxx



----------------------------------------------------------------------
LinuxVirtualServer.org 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>