NAT Application Case — TCP Load Balancing |
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 |
This site contains user submitted content, comments and opinions and is for informational purposes only. Ruijie may provide or recommend responses as a possible solution based on the information provided; every potential issue may involve several factors not detailed in the conversations captured in an electronic forum and Ruijie can therefore provide no guarantee as to the efficacy of any proposed solutions on the community forums. Ruijie disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Ruijie Community Terms of Use.
More ways to get help: Visit Support Videos, call us via Service Hotline, Facebook or Live Chat.
©2000-2023 Ruijie Networks Co,Ltd