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

Scroll to top