LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: LVS-DR: private network for realserver

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: LVS-DR: private network for realserver
From: Guy Coates <gmpc@xxxxxxxxxxxx>
Date: Thu, 4 Nov 2004 11:52:25 +0000 (GMT)
>
> have you set the default gw for the realserver to some device on the
> 172.17.22.0/32 network that isn't on the director?
>

The default route on the realserver and director is 172.17.22.1, which is
the correct gw for the outside world.

/sbin/route -n

10.4.1.0        0.0.0.0         255.255.255.0   U     0      0        0 eth1
172.17.22.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         172.17.22.1     0.0.0.0         UG    0      0        0 eth0


I've also tried adding a host route for the VIP on the realserver to lo
and/or eth1,

/sbin/route add -host 172.17.22.216 lo

but that doesn't make the realserver pick up the packets from the
director either.

Cheers,

Guy


-- 
Dr. Guy Coates,  Informatics System Group
The Wellcome Trust Sanger Institute, Hinxton, Cambridge, CB10 1SA, UK
Tel: +44 (0)1223 834244 ex 7199




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