LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: lvs_dr default gateway problem

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: lvs_dr default gateway problem
From: "Justin Albstmeijer" <justin@xxxxxxxxx>
Date: Tue, 11 Nov 2003 22:09:18 +0100 (CET)
>> did you include a line like
>>
>> # ip route add default from ${RIP} via ${DIP} table main
>
> No, not with the "simple" configuration. (I have no director here at
> home.. I will try it tomorrow at work)
>
> Why do you think this will work?
>
> As far as I understand, when using a local client app , it will first look
> for a route before even try to send something to eth0.
>
> The line you mention will route me to de DIP? that's not the gateway to
> the outside.. but ok will five it a try.
>

I think you are right.. even adding (192.168.200.66 does not exist on my
network) :

ip route add default from 192.168.200.2 via 192.168.200.66 table main
or
route add default gw 192.168.200.66

makes the packets go through eth0, so the marking can take plase..

Thnx

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