Yesterday we stumbled on the problem with certain versions of 'ifconfig'
not displaying the aliased interfaces (eth0:110) seperate from eth0.
This caused some problems in the remove_old_vip() function of the
rc.lvs_nat script. I think I've stumbled onto a few more issues (some
may be related). I am setting up VS-NAT with two NICS (two seperate
networks).
1) In setup_director_vip() the following fails. I think the $ROUTE
command has a problem with the aliased device. Changing to
$SHORT_DIRECTOR_VIP_DEVICE seems to have worked.
$ROUTE add -host $VIP dev $DIRECTOR_VIP_DEVICE
2) As mentioned in a previous thread, I am losing my default gateway on
the director. Looking at the rc.lvs_nat script that was generated, the
default gateway is removed but never put back in.
Adding "DEFAULT_GW=<my gateway IP>" to the script works.
3) Finally, when I initiate a connection from my realserver out to the
internet (because my service requires a connection initiated by the
realserver), the packets are routed throught the director, but are not
NATed. The clients are seeing packets with the RIP1 address.
Any thoughts?
-Todd
**********************************************
Todd Lizambri tlizambri@xxxxxxxxxx
Lead Engineer phone:(703) 326-2672
VeriSign fax :(703) 467-5936
**********************************************
smime.p7s
Description: S/MIME cryptographic signature
|