LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] LVS Routing Problems

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] LVS Routing Problems
From: Bgs <bgs@xxxxxx>
Date: Mon, 21 Apr 2008 14:07:22 +0200
Example (I used it a lot in production level env): connmark the traffic 
coming from you director and mark it on output. The you can use fwmark 
to set up a routing table for the director. This way you can keep your 
normal default gateway on your realservers. You can also have multiple 
directors if you want using this method. Works like a charm :)

Regards
Bgs


Madan KN wrote:
> Hi,
> Thanks for reminding this, Can you please suggest me how will we achieve
> this.
> 
> Since all my traffic getting routed through Director. I want only LVS Port
> 8080 being routed through
> Director.
> 
> Others using my default router hardware.
> 
> Thanks In Advance,
> Madan KN
> 
> On Sun, Apr 20, 2008 at 4:46 AM, bgs <bgs@xxxxxx> wrote:
> 
>>  Hi,
>>
>> If you don't want to route all non-lvs traffic through your director
>> (creating double traffic on you LAN and adding a spof), you can also mark
>> the traffic and use routing rules.
>>
>>
>> Regards
>> Bgs
>>
>>
>> On Sat, 19 Apr 2008 23:17:23 +0530, "Madan KN" <madan.kn@xxxxxxxxx> wrote:
>>> Hi Jason/Joseph,
>>>
>>> Thanks folks, It works :)
>>>
>>> Thank you again.
>>>
>>> Madan KN
>>>
>>> On Sat, Apr 19, 2008 at 5:14 PM, Joseph Mack NA3T <jmack@xxxxxxxx>
>> wrote:
>>>> On Sat, 19 Apr 2008, Madan KN wrote:
>>>>
>>>>> IP Virtual Server version 1.2.1 (size=4096)
>>>>> Prot LocalAddress:Port Scheduler Flags
>>>>>  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
>>>>> TCP  192.168.1.10:8080 rr
>>>>>  -> 192.168.1.62:8080            Masq    1      0          0
>>>>>  -> 192.168.1.60:8080            Masq    1      0          0
>>>>>  -> 192.168.1.58:8080            Masq    1      0          0
>>>>
>>>>
>> http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.LVS-NAT.html#one_network
>>>> Joe
>>>>
>>>> --
>>>> Joseph Mack NA3T EME(B,D), FM05lw North Carolina
>>>> jmack (at) wm7d (dot) net - azimuthal equidistant map
>>>> generator at http://www.wm7d.net/azproj.shtml
>>>> Homepage http://www.austintek.com/ It's GNU/Linux!
>>>>
>>>> _______________________________________________
>>>> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
>>>> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
>>>> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>>>>
>>> _______________________________________________
>>> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
>>> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
>>> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>>
>> _______________________________________________
>> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
>> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
>> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>>
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
> 


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