lvs-users
|
To: | lvs-users@xxxxxxxxxxxxxxxxxxxxxx |
---|---|
Subject: | Re: LVS-DR with Gateway+Director combo |
From: | Oliver Weichhold <oliver@xxxxxxxxxxxxx> |
Date: | Tue, 07 Mar 2006 20:17:54 +0100 |
Quoting Joseph Mack NA3T <jmack@xxxxxxxx>: On Tue, 7 Mar 2006, Oliver Weichhold wrote:<snip> ifconfig eth1:0 192.168.231.10 netmask 255.255.255.0 broadcast 192.168.231.255 up iptables -t nat -A PREROUTING --dst 192.168.230.33 -p tcp --dport 80 -j DNAT --to-destination 192.168.231.10 iptables -t nat -A POSTROUTING -p tcp --dst 192.168.231.10 --dport 80 -j SNAT --to-source 192.168.230.33 iptables -t nat -A OUTPUT --dst 192.168.230.33 -p tcp --dport 80 -j DNAT --to-destination 192.168.231.10http://www.austintek.com/LVS/LVS-HOWTO/mini-HOWTO/LVS-mini-HOWTO.html#filter_rulesIs this caused by the absense of the patch you've mentioned?can't tell. Did you read the docs for settting up forward-shared?Furthermore, I've realized that I'm going to be limited to one gateway for the forseeable future so I have to NAT anyway.what's the connection between the number of gateways and the forwarding method?Either through ipvs or through iptables. Does it matter who performs the NAT or am I completely wrong?the director does the NAT for you. Read the HOWTO In the examples which I've seen the VIP was always in the same subnet as the RIPs. But this is not the case here. I want to expose a web server on the external IP (192.168.230.33) of the Router/Director and load balance using the server(s) on subnet 192.168.231.0 with 192.168.231.2 being one of those servers. In order to achieve that I do have to forward the requests from 192.168.230.33 to 192.168.231.10 (VIP). And this is what my question was related to. But I'm beginning to realize that this is not a viable use case for LVS-DR, right? Joe -- Joseph Mack NA3T EME(B,D), FM05lw North Carolina jmack (at) wm7d (dot) net - azimuthal equidistant mapgenerator at http://www.wm7d.net/azproj.shtml Homepage http://www.austintek.com/ It's GNU/Linux! ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | RE: lvs with ssh with kerberos, Brock, Anthony - NET |
---|---|
Next by Date: | Re: LVS-DR with Gateway+Director combo, Joseph Mack NA3T |
Previous by Thread: | Re: LVS-DR with Gateway+Director combo, Joseph Mack NA3T |
Next by Thread: | Re: LVS-DR with Gateway+Director combo, Joseph Mack NA3T |
Indexes: | [Date] [Thread] [Top] [All Lists] |