With our Stingray configuration we have to enable IP forwarding so the connections appear to come from the client and not the traffic manager. When we perform updates this setting is automatically removed and when we deploy new traffic managers we have to perform the steps listed below via CLI. If possible could this setting be enabled or disabled via the GUI? Is there a way to have the update procedure leave this setting enabled when present?
cat /proc/sys/net/ipv4/ip_forward
ls $ZEUSHOME/zxtm/conf/zxtms
echo 'appliance!managenat no' >> $ZEUSHOME/zxtm/conf/zxtms/
sysctl -w net.ipv4.ip_forward=1
nano /etc/sysctl.conf
At the end change this line from a 0 to a 1
"net.ipv4.ip_forward=1"
+ +
6. Check connectivity.
Hi
The trafficmanager actually forwards the client ip address in a header: X-Cluster-Client-Ip. If you can use that.
It is also possible to enable transparent ip on your pools, which will give that effect. Though enbling the transparent ip can give some issues. We have had problems with servers using the trafficmanager as default gateway, and then enabling the transparent ip on the pool. That gave the unfortunate sideeffect that ALL traffic, also non-trafficmanger-managed traffic ran through them. And as we have redundancy on the trafficmanager, the connection state exchange between the two trafficmanager nodes, gave huge performance problems.
André
We tried using X-Cluster-Client-Ip on our end but with early releases of the Zeus traffic manager there was a known bug with tthis feature. Essentially the IP address recorded in the X-Cluster-Client-Ip was only there part of the time or was blank. For this reason we had to switch to using IP forwarding and this is now our internal standard. Thanks for the suggestion though!
Jason,
It kind of depends if you are using the Virtual Appliance or the software install. If you are using the VA, ip-forwarding is enabled when you turn on Network Address Translation ( System > Networking > NAT )
If you need ipforwarding without the NAT setup, you can script it, put the script into the extrafiles (Catalogues > Extra Files > Action Scripts ) section which will maintain the script over upgrades you can then hook the script to execute on Stingray Software Start ( General > Informational Messages > running: Software is running )
If you are using the software installation, the networking is not effected by STM installations.
Hope that helps...
--
Aidan.