AR1
<Huawei>sys
[Huawei]int g0/0/0
[Huawei-GigabitEthernet0/0/0]ip add 192.168.1.254 24
[Huawei-GigabitEthernet0/0/0]int g0/0/1
[Huawei-GigabitEthernet0/0/1]ip add 202.100.100.1 24
[Huawei-GigabitEthernet0/0/1]q
[huawei]rip
[Huawei-rip-1]version 2
[Huawei-rip-1]network 192.168.1.0
[Huawei-rip-1]network 202.100.100.0
[Huawei-rip-1]q
[Huawei]acl number 2000
[Huawei-acl-basic-2000]rule 5 permit source 192.168.1.0 0.0.0.255
[Huawei-acl-basic-2000]q
[Huawei]int g0/0/1
[Huawei-GigabitEthernet0/0/1]nat outbound 2000
[Huawei-GigabitEthernet0/0/1]nat static enable
[Huawei-GigabitEthernet0/0/1]q
[Huawei]int g0/0/1
[Huawei-GigabitEthernet0/0/1]undo nat ou
[Huawei-GigabitEthernet0/0/1]undo nat outbound 2000
[Huawei-GigabitEthernet0/0/1]undo nat static enable
[Huawei-GigabitEthernet0/0/1]q
[Huawei]nat address-group 1 202.100.100.200 202.100.100.202
[Huawei]int g0/0/1
[Huawei-GigabitEthernet0/0/1]nat outbound 2000 address-group 1
AR2
[Huawei]int g0/0/0
[Huawei-GigabitEthernet0/0/0]ip add 202.100.100.2 24
[Huawei]int g0/0/1
[Huawei-GigabitEthernet0/0/1]ip add 192.168.2.254 24
[Huawei]int g0/0/2
[Huawei-GigabitEthernet0/0/2]ip add 192.168.3.254 24
[Huawei]rip
[Huawei-rip-1]version 2
[Huawei-rip-1]network 202.100.100.0
[Huawei-rip-1]network 192.168.2.0
[Huawei-rip-1]network 192.168.3.0