|
NAT: NAT
DR: direct routing
TUN: Tunnel
NAT:
Cluster node with the director must be in the same IP network;
RIP is typically a private address only for communications between each cluster node;
Director is located between the client and the real server, and handles all incoming and outgoing communication;
real server must Gateway at DIP;
Support port mapping;
real Server can use any OS;
Large-scale application scenarios, director easily become a system bottleneck;
DR:
Cluster node with the director must agree to a physical network;
RIP can use public addresses, for convenient remote management and monitoring;
director responsible for handling inbound requests only, by the director in response to heat directly to the client;
You can not point to the real server gateway DIP;
It does not support port mapping;
It does not change the destination address (because real Server has been bound to the VIP)
Rewriting request mac address of the packet (the MAC address of the machine VIP rewrites the MAC address of the real server back-end)
TUN:
Cluster nodes across Internet;
RIP must be a public IP address;
dirctor only responsible for handling inbound requests, the corresponding message sent directly by the real server to the client;
real server gateway can not point to the director;
OS only supports tunnel function can be used for realserver;
It does not support port mapping; |
|
|
|