Hello :
When I have completed the configuration of IPVS/DR
according to HOWTO, I found a problem when I attempt
to connect to VIP from some client which in the same
physical segment.
That is , What is the correct MAC address should appear
in this client's ARP cache when attempting to connect to VIP?
(By "arp -a" to check the client's ARP cache)
Is the MAC address should be the VIP's? or RIP's?
My testing result is , both of the 2 situations will happen
exclusively and uncertainly !
That means, sometimes VIP's and sometimes RIP's MAC
address appears in client ARP cache. And, is it normally?
Further,no matter what MAC address appears in client's cache,
most TCP protocols runs very well. But when testing ftp, the
RIP's MAC address MUST be in client's ARP cache !
Otherwise, the port-20 ftp-data mode will be failed !
So, it is failed to use "ls" command to see anything.
By "netstat -n" command from real server, I found a connection
from the VIP:20 tries to SYN-SEND to client. It seems like the
client can not reply correct MAC address to it.
May someone provide me solutions, thank you very much.
|