1. Use static nat
Let r3 ping r2.
First, set it on r3 to simulate r3 as a PC.
Ip route 0.0.0.0 0.0.0.0 192.168.13.1
Then, Set
Int e0/1
Ip nat inside
Exit
Int e0/0
Ip nat outside
Exit
Ip nat inside source static 192.168.13.3 202.66.84.2
2. Use Dynamic NAT
Steps:
A. Create an external address pool
B. Create an internal access list
C. Conversion
First, simulate R3 and R4 to become a pc.
R3
!
Ip route 0.0.0.0 0.0.0.0 192.168.13.1
!
R4
!
Ip route 0.0.0.0 0.0.0.0 192.168.14.1
!
Then on R1
Ip nat pool SHANGWANG 202.66.84.3 202.66.84.10 netmask 255.255.255.0
Ip access-list standard BenDi
Permit 192.168.0.0 0.0.255.255
!
Interface Ethernet0/0
Ip address 202.66.84.1 255.255.255.0
Ip nat outside
Ip virtual-reassembly
Half-duplex
!
Interface Ethernet0/1
Ip address 192.168.13.1 255.255.255.0
Ip nat inside
Ip virtual-reassembly
Half-duplex
!
Interface Ethernet0/2
Ip address 192.168.14.1 255.255.255.0
Ip nat inside
Ip virtual-reassembly
Half-duplex
!
Ip nat inside source list BenDi pool SHANGWANG
This article is from the "Technical feast" blog