How do I connect the NAT server on the AR router to two uplinks

37

A Huawei AR router provides dual egresses of the NAT server. The web server uses internal IP address 192.168.0.100/24 and port 8080. The IP address of GE2/0/0 (outbound interface) on the router is 202.10.1.2/24, and the IP address of GE3/0/0 is 201.10.1.2/24. The configuration is as follows:
1. Assign IP addresses to interfaces on the router.
[Huawei] interface Ethernet0/0/0
[Huawei-Ethernet0/0/0] ip address 192.168.0.1 24
[Huawei-Ethernet0/0/0] quit
[Huawei] interface GigabitEthernet2/0/0
[Huawei-GigabitEthernet2/0/0] ip address 202.10.1.2 24
[Huawei-GigabitEthernet2/0/0] quit
[Huawei] interface GigabitEthernet3/0/0
[Huawei-GigabitEthernet3/0/0] ip address 201.10.1.2 24
[Huawei-GigabitEthernet3/0/0] quit

2. Configure the NAT server and outbound NAT in Easy IP mode on GE2/0/0 and GE3/0/0.
[Huawei] acl number 2000
[Huawei-acl-basic-2000] rule 5 permit source 192.168.0.0 0.0.0.255
[Huawei-acl-basic-2000] quit
[Huawei] interface GigabitEthernet2/0/0
[Huawei-GigabitEthernet2/0/0] nat server protocol tcp global 202.10.1.3 www inside 192.168.0.100 8080
[Huawei-GigabitEthernet2/0/0] quit
[Huawei] interface GigabitEthernet3/0/0
[Huawei-GigabitEthernet3/0/0] nat server protocol tcp global 201.10.1.3 www inside 192.168.0.100 8080
[Huawei-GigabitEthernet3/0/0] nat outbound 2000
[Huawei-GigabitEthernet3/0/0] quit

Other related questions:
How to configure dual uplink interfaces on an AR functioning as the NAT server
A Huawei AR router functioning as a NAT server supports dual outbound interfaces. For the network diagram, see the right side of the page. The web server uses internal IP address 192.168.0.100/24 and port 8080 to provide services. The IP address of GE2/0/0 (outbound interface) on the AR is 202.10.1.2/24, and the IP address of GE3/0/0 is 201.10.1.2/24. The configuration process is as follows: 1. Configure IP addresses of interfaces on the router. [Huawei] interface Ethernet0/0/0 [Huawei-Ethernet0/0/0] ip address 192.168.0.1 24 [Huawei-Ethernet0/0/0] quit [Huawei] interface GigabitEthernet2/0/0 [Huawei-GigabitEthernet2/0/0] ip address 202.10.1.2 24 [Huawei-GigabitEthernet2/0/0] quit [Huawei] interface GigabitEthernet3/0/0 [Huawei-GigabitEthernet3/0/0] ip address 201.10.1.2 24 [Huawei-GigabitEthernet3/0/0] quit 2. Configure outbound NAT on GE2/0/0 and GE3/0/0 in NAT server and Easy IP mode. [Huawei] acl number 2000 [Huawei-acl-basic-2000] rule 5 permit source 192.168.0.0 0.0.0.255 [Huawei-acl-basic-2000] quit [Huawei] interface GigabitEthernet2/0/0 [Huawei-GigabitEthernet2/0/0] nat server protocol tcp global 202.10.1.3 www inside 192.168.0.100 8080 [Huawei-GigabitEthernet2/0/0] quit [Huawei] interface GigabitEthernet3/0/0 [Huawei-GigabitEthernet3/0/0] nat server protocol tcp global 201.10.1.3 www inside 192.168.0.100 8080 [Huawei-GigabitEthernet3/0/0] nat outbound 2000 [Huawei-GigabitEthernet3/0/0] quit

What is the difference between the Static NAT and NAT Server on AR router?
The difference between NAT Server and NAT Static configuration is: NAT Server to access the Internet from intranet, only do address replace, but NAT Static for network address; active access outside the network will also replace the address and port number.

Does an AR support two uplink interfaces in load balancing mode
If an AR has two WAN interfaces configured, the two uplink interfaces work in load balancing mode. 1. Configure two equal-cost static routes. 2. Configure policy-based routing to change the forwarding path of packets.

Do interfaces conflict when the NAT server and outbound NAT are configured on the AR router
Interfaces do not conflict when the NAT server and outbound NAT are configured on the AR router.

How do I view the NAT session table on the AR router
Run the display nat session all command to check NAT session table information.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top