Difference between revisions of "UDP service binding issue in LVS/DR and LVS/TUN"

From LVSKB
Jump to: navigation, search
(New page: == Problem == If real servers run UDP service binding with any address (0.0.0.0), the problem is that response packet will use the ip address of real server as source address, instead...)
 
m (Problem)
 
Line 1: Line 1:
 
== Problem ==
 
== Problem ==
  
If [[real server]]s run UDP service binding with any address (0.0.0.0), the problem is that response packet will use the ip address of real server as source address, instead of the [[VIP]] address, and then it will break the service.
+
If [[real server]]s run UDP service binding with any address (0.0.0.0), the problem is that response packet will use the ip address of real server as source address, instead of the [[VIP]] address, and then it will break the service, because the client sends requests to the [[VIP]] address and expects responses from the [[VIP]] address too.
  
 
== Solution ==
 
== Solution ==

Latest revision as of 10:02, 29 June 2007

Problem

If real servers run UDP service binding with any address (0.0.0.0), the problem is that response packet will use the ip address of real server as source address, instead of the VIP address, and then it will break the service, because the client sends requests to the VIP address and expects responses from the VIP address too.

Solution

The quick solution is to get UDP service bind with the VIP address.

References