EasyManua.ls Logo

Huawei AR150 series - Example for Configuring Twice NAT

Huawei AR150 series
221 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
#
interface Ethernet0/0/0
port link-type access
port default vlan 100
#
interface Ethernet0/0/1
port link-type access
port default vlan
200
#
interface Ethernet2/0/0
ip address 202.169.10.1
255.255.255.0
nat outbound 2000 address-group 1 no-pat
nat outbound 2001 address-group 2
#
nat address-group 1 202.169.10.100 202.169.10.200
nat address-group 2 202.169.10.80
202.169.10.83
#
ip route-static 0.0.0.0 0.0.0.0 Ethernet 2/0/0
#
return
5.4.3 Example for Configuring Twice NAT
Networking Requirements
As shown in Figure 5-6, the IP address of PC1 on the private network is the same as the IP
address of host A on the public network. When PC2 sends a packet to host A, the packet may
be forwarded to PC1. In addition to the network address translation function, twice NAT of the
AR150/200 specifies the mapping between the overlapping address pool and the temporary
address pool. The overlapping IP address is translated to a unique temporary address so that
packets can be forwarded correctly.
Figure 5-6 Networking diagram for twice NAT configuration
PC 1
Eth0/0/0
Eth2/0/0
Company B
PC 2
10.0.0.3/24
Eth0/0/1
Company A
192.168.20.2/24
PC 1
Router
Host A
192.168.20.2/24
DNS Server
www.Server.com
202.169.10.2
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - IP Service 5 NAT Configuration
Issue 02 (2012-03-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
122

Table of Contents

Other manuals for Huawei AR150 series

Related product manuals