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

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

Scroll to top