Ruijie Community
Title: NAT Application Case — TCP Load Balancing [Print this page]
Author: admin    Time: 2017-5-4 19:08
Title: NAT Application Case — TCP Load Balancing
NAT Application Case — TCP Load Balancing
Author: admin    Time: 2017-5-4 19:09
When several servers can provide the same service, NAT can be configured on them to achieve load balancing. This function is called TCP load balancing technology. 
Configuration example:
As shown in the following figure, two same servers with the IP address of 192.168.1.253 and 192.168.1.254 in the intranet jointly provide the same service (WWW service).The IP addresses of the two servers are both mapped to the same external network address and external access traffic is evenly distributed between the two servers, to achieve load balancing between the two servers. 
 
Figure: NAT Application Case — TCP Load Balancing
Router configuration:
ipaccess-list extended 100
 10 permit ip any host 10.0.0.1
!
interface GigabitEthernet 0/0
 ip nat outside
 ip ref
 ip address 10.0.0.1 255.255.255.0
!
interface GigabitEthernet 0/1
 ip nat inside
 ip ref
 ip address 192.168.1.1 255.255.255.0
!
ip nat pool server 192.168.1.253 192.168.1.254 netmask 255.255.255.0 type rotary
ip nat inside destination list 100 pool server
| Welcome to  Ruijie Community (https://community.ruijie.com/) | 
Powered by Discuz! X3.2 |