Hello,
On Thu, 1 Aug 2002, Alex Kramarov wrote:
> actually, my connections hang even if i use a different server from the real
> server, define another vip on the internal NIC of the director, and all 3
> ip's (vip, rip, client) are on the same network (10.0.0.) using lvs-nat. any
Hey, all our IPs are in the 0.0.0.0/0 subnet. No?
So, you can correctly define your subnets for NAT in this way:
- all RSs have RIP/32 (note, this is not /24)
ifconfig eth0 10.0.0.1 netmask 255.255.255.255
- all RSs have known gateway (their director)
route add -host 10.0.0.DIP1 dev eth0
route add default gw 10.0.0.DIP1
It should work with NAT. In this case 1 IP can be subnet.
I assume 32 is allowed network size for a subnet :) It fulfills
the NAT requirements all clients to be visible through the
director gateway. In the director you also need correct host
routes to all your subnets /32 (the RSs). No need to use extra
devices.
For DR you don't need such small/separate subnets, all your hosts
can be one the same /24 subnet.
> Alex.
Regards
--
Julian Anastasov <ja@xxxxxx>
|