![Huawei Quidway NetEngine40E Скачать руководство пользователя страница 1318](http://html.mh-extra.com/html/huawei/quidway-netengine40e/quidway-netengine40e_configuration-manual-reliability_1694531318.webp)
# On Router B, create a domain named nat1, bind address pool nat-2 to this domain, and
bind user group g2 and NAT instance nat1.
[RouterB]
aaa
[RouterB-aaa]
domain nat1
[RouterB-aaa-domain-nat1]
ip-pool nat-2
[RouterB-aaa-domain-nat1]
user-group g2 bind nat instance nat1
[RouterB-aaa-domain-nat1]
quit
[RouterB-aaa]
quit
Step 3
Configure address pools and access domains for non-NAT users.
1.
Configure address pools for non-NAT users.
NOTE
Configure master and backup address pools.
# On Router A, configure master and backup address pools. Set the master address pool
name to hsi-1, and configure the gateway address to 100.100.100.1/24 and an address range
from 100.100.100.2 to 100.100.100.254 for the master address pool. Set the backup address
pool name to hsi-2bak, and configure the gateway address to 120.100.100.1/24 and an
address range from 120.100.100.2 to 120.100.100.254 for the backup address pool.
[RouterA]
ip pool hsi-1 bas local
[RouterA-ip-pool-hsi-1]
gateway 100.100.100.1 24
[RouterA-ip-pool-hsi-1]
section 0 100.100.100.2 100.100.100.254
[RouterA-ip-pool-hsi-1]
quit
[RouterA]
ip pool hsi-2bak bas local rui-slave
[RouterA-ip-pool-hsi-2bak]
gateway 120.100.100.1 24
[RouterA-ip-pool-hsi-2bak]
section 0 120.100.100.2 120.100.100.254
[RouterA-ip-pool-hsi-2bak]
quit
# On Router B, configure master and backup address pools. Set the master address pool
name to hsi-2, and configure the gateway address to 120.100.100.1/24 and an address range
from 120.100.100.2 to 120.100.100.254 for the master address pool. Set the backup address
pool name to hsi-2bak, and configure the gateway address to 100.100.100.1/24 and an
address range from 100.100.100.2 to 100.100.100.254 for the backup address pool.
[RouterB]
ip pool hsi-2 bas local
[RouterB-ip-pool-hsi-2]
gateway 120.100.100.1 24
[RouterB-ip-pool-hsi-2]
section 0 120.100.100.2 120.100.100.254
[RouterB-ip-pool-hsi-1]2
quit
[RouterB]
ip pool hsi-1bak bas local rui-slave
[RouterB-ip-pool-hsi-1bak]
gateway 100.100.100.1 24
[RouterB-ip-pool-hsi-1bak]
section 0 100.100.100.2 100.100.100.254
[RouterB-ip-pool-hsi-1bak]
quit
2.
Configure access domains for non-NAT users.
# On Router A, create a domain named hsi, and bind address pools hsi-1 and hsi-2bak to
this domain.
[RouterA]
aaa
[RouterA-aaa]
domain hsi
[RouterA-aaa-domain-hsi]
ip-pool hsi-1
[RouterA-aaa-domain-hsi]
ip-pool hsi-2bak
[RouterA-aaa-domain-hsi]
quit
[RouterA-aaa]
quit
# On Router B, create a domain named hsi, and bind address pools hsi-2 and hsi-1bak to
this domain.
[RouterB]
aaa
HUAWEI NetEngine80E/40E Router
Configuration Guide - Reliability
11 Multi-node Backup Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1301