Cisco Vs Huawei LAB L – (Configuring NAT Overloading & PAT)

Port address translation (PAT), which is also called network address port translation (NAPT), maps a public address to multiple private addresses. Therefore, public addresses are saved. PAT translates source IP addresses of packets from hosts that reside on the private network to a public address. The translated port numbers of these packets are different, and the private addresses can share a public address.

CISCO
DEFININIG NAT
NetworksHeaven(config)# access-list  20  permit  192.168.1.0    0.255.255.255
NetworksHeaven(config)# ip nat pool  NW-POOL  1.1.1.2    1.1.1.2  netmask  255.0.0.0
NetworksHeaven(config)# ip  nat  inside   source   list 20     pool  NW-POOL  overload
Applying NAT
NetworksHeaven(config)# interface fastEthernet 0/0
NetworksHeaven(config-if)# ip nat inside
NetworksHeaven(config-if)# exitNetworksHeaven(config)# interface serial 1/0/0
NetworksHeaven(config-if)# ip nat outside
NetworksHeaven(config-if)# exit
HUAWEI
DEFININIG NAT
[NetworksHeaven]  acl  2012
[NetworksHeaven-acl-basic-2012]  rule  permit  source   192.168.1.0   0.0.0.255
[NetworksHeaven-acl-basic-2012] quit
[NetworksHeaven]  nat   address-group   1   1.1.1.2   1.1.1.2
Applying NAT
[NetworksHeaven] interface  serial  1/0/0
[NetworksHeaven-Serial1/0/0]  nat   outbound   2012   address-group  1
[NetworksHeaven-Serial1/0/0] return

Cisco Vs Huawei CLI Commands in Slides