test 24781785-BEA-WebLogic | Page 34

NAT-based configuration
Example WebLogic SIP Server Network Configuration

NAT-based configuration

The default UDP NAT behavior for load balancers is to perform destination IP address translation in the public- > private network direction, and source IP address translation in the private- > public network direction. This means setting up destination address translation in the UAC- > WebLogic SIP Server( 2.3.4.5- > 1.2.3.4) direction without source address translation, and source address translation in the WebLogic SIP Server- > UAC( 10.1 / 16- > 2.3.4.5) direction without destination address translation.
Figure 3-2 illustrates the UDP packet flow for a SUBSCRIBE / 200OK transaction.
Figure 3-2 SUBSCRIBE Sequence
A 2.3.4.5
LB 1.2.3.4
WLSS 1 10.1.1.1
|
|
|
|
|
|
|( 1) SUBSCRIBE
|
|
|----------------------- >|
|
|( 2.3.4.5- > 1.2.3.4)
|( 2) SUBSCRIBE
|
|
|----------------------- >|
|
|( 2.3.4.5- > 10.1.1.1)
|
|
|
|
|
|( 3) 200 OK
|
|
|<----------------------- |
|
|( 10.1.1.1- > 2.3.4.5)
|
|( 4) 200 OK
|
|
|<----------------------- |
|
|( 1.2.3.4- > 2.3.4.5)
|
|
|
|
|
Note that the source and destination IP addresses of the UDP packets are shown in blue. In the UAC- > WebLogic SIP Server direction, the load balancer translates the destination IP address but not the source IP address. In the WebLogic SIP Server- > UAC direction, the load balancer translates the source IP address but not the destination IP address.
The complete message trace( including IP and UDP headers, as well as the SIP payload) for the sequence from Figure 3-2 is shown in Listing 3-3 below.
3-4 Configuring Network Resources