Hi,everybody. I just read the
document of LinuxVirtualServer. And I have one question: How can the server's
packet with another sourceIP that is not his own IP arrive at the client? Why do
the router of the server not discard this packet ? Let me describe this question
by one example:
one client(202.112.2.123);
several server in different network(have different netmask),
one(159.226.26.221), one(192.168.2.112); distributor(192.168.2.110)
1.client send a packet (sourceIP
202.112.2.123, targetIP 192.168.2.110) to virtual server
(192.168.2.110),actually send it to distributor.
2.distributor send packet to actual
server(159.226.26.221) by IP tunnel (SIP 202.112.2.123, TIP 159.226.26.221,
Virtual IP 192.168.2.110).
3.the server (159.226.26.221) will send a
reply packet(SIP 192.168.2.110, TIP 202.112.2.123) to client(202.112.2.123) when
it receive the IP packet by tunnel from distributor.
So in step 3, when the router
of 159.226.26.221 receives the packet with sourceIP 192.168.2.110 , it will
discard it , then how can this packet go to the client? or You have method let
the router not discard it? If server send this packet by his address , client
will not recognize this packet as the virtual server's packet. Please tell me
the answer if you have free time.
Thanks for you.
|