SERVER CLUSTER-BASED MESSAGE GENERATION METHOD AND LOAD BALANCER
The present invention relates to a packet generation method based on a server cluster and a load balancer. A client request packet is received, where the client request packet includes a source IP address and a destination IP address; a destination server is determined according to a preset load bal...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | eng ; fre ; ger |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The present invention relates to a packet generation method based on a server cluster and a load balancer. A client request packet is received, where the client request packet includes a source IP address and a destination IP address; a destination server is determined according to a preset load balancing policy; an Address Resolution Protocol ARP request packet is sent according to the destination IP address; an Address Resolution Protocol ARP response packet is obtained according to the ARP request packet, where the ARP response packet includes an initial Media Access Control MAC address of the destination server, and the initial MAC address is different from an actual MAC address of the destination server; and the destination IP address is updated according to the initial MAC address to obtain an updated client request packet, where the updated client request packet includes the source IP address and the updated destination IP address. By means of the present invention, in a process of transmitting a packet, a source IP address of a client is detected on a network layer without changing a source IP address in the packet. |
---|