LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: lvs setup via tunelling problem

To: Djamil ESSAISSI <djamil@xxxxxxxxxxxxxxxx>
Subject: Re: lvs setup via tunelling problem
Cc: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Julian Anastasov <ja@xxxxxx>
Date: Sat, 13 Oct 2001 00:13:11 +0000 (GMT)
        Hello,

On Fri, 12 Oct 2001, Djamil ESSAISSI wrote:

> Well i checked ,double checked ...
> The hiding doesnt apply to my setup 'cause i have the director in one
> net and the RS in another ... i did a mistake ... the .77 is in the same
> net as 212.43.221.128/27.

        For the director may be I don't understand how 77 is in
the 128..159 range. Again, check with tcpdump each step. From my
first mail you can see for what IP addresses you have to tcpdump:

director# tcpdump -ln -i INDEV host CIP
director# tcpdump -ln -i OUTDEV host RIP
real server# tcpdump -ln -i IN_ETH host DIP
real server# tcpdump -ln -i tunl0 host CIP
real server# tcpdump -ln -i OUT_DEV host CIP

> now i'm sure my problem is about routing ...
> so:
> the "demo" machine is gone ...now i'm using "212.43.218.152" as the director 
> ...
> i'm not sure if the vip has to be in the Director's net or not, or does it 
> make it more complicated,...
>
> so :
>
>
> on the Director :     eth0:0 == VIP.
>
> on the Real   :       tunl0 == VIP.
>
> this i'm sure of!
>
> now the routing :
>
> what i understood was:
> i'm almost sure i'm screwing up here !
>
> Director:    it's route to VIP is eth0:0
> Real    :    it's route to VIP is tunl0

        You don't need any routes pointing to tunl0. Use the examples
that do not add any IPs to tunl0. You only receive traffic from tunl0.

> ipvsadm on the director :
>
> ipvsadm -A -t 212.43.218.77:22
> ipvsadm -a -t 212.43.218.77:22 -r 212.73.232.232:22
>
>
> My VIP                == 212.43.218.77

        Where is the problem, can you ping the VIP from the client?

> My Dir                == 12.43.218.152
> My NewReal    == 212.73.232.232

Regards

--
Julian Anastasov <ja@xxxxxx>



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