nat NAT technology dynamic public IP address of the application pool

R1 is achieved by the dynamic NAT enterprise network to a public address 192.160.1.0/24 12.1.1.3-12.1.1.6, 192.160.2.1 access
network topology as shown:
nat NAT technology dynamic public IP address of the application pool
R1: 0/0 12.1.1.1/29 FA, FA. 1 / 0 192.160.1.254/24
PC1: 192.160.1.1/24,PC2: 192.160.1.2/24
R2: 12.1.1.2/29,fa 1/0 0/0 FA 192.160.2.254/24
PC3: 192.160.2.1/24
R1> enable
the configure Terminal
interface FA 0/0
NO the shutdown
ip address 12.1.1.1 255.255.255.248
interface FA 1/0
NO the shutdown
ip address 192.160.1.254 255.255.255.0
ip route 0.0.0.0 0.0.0.0 FA 0/0 of all the external export training and preparation fa 0/0 port (static routing)
R2> enable
the configure Terminal
interface fa 0/0
NO the shutdown
ip address 12.1.1.2 255.255.255.248
interface FA 1/0
NO the shutdown
ip address 192.160.2.254 255.255.255.0

nat NAT technology dynamic public IP address of the application pool
nat NAT technology dynamic public IP address of the application pool
Rl>
Access-List. 1 the permit 192.160.1.0 0.0.0.255 1.0 standard allows ACL 1 through network routing table
ip nat pool xxwj 12.1.1.3 12.1.1.6 netmask 255.255.255.248
partitioned definition named global address pool xxwj 1.3 1.6 segment
ip nat inside source list 1 pool xxwj
create dynamic source converter, converts the source IP section List 1 is an IP address pool section xxwj
interface 0/0 FA
IP NAT Outside
interface 1/0 FA
IP NAT Inside
Exit
with PC1 and PC2 ping 192.160.2.1
View events with show ip nat translations on the R1 conversion
discovery has transformed into a 1.3 and 1.4.
Router # show ip nat translations
Pro Inside, Ltd. Free Join local Outside Inside Outside, Ltd. Free Join local
ICMP 12.1.1.3:15 192.160 .1.1: 15 192.160.2.1:15 192.160.2.1:15
ICMP 12.1.1.3:16 192.160.1.1:16 192.160.2.1:16 192.160.2.1:16
12.1.1.3:17 192.160.1.1:17 192.160.2.1:17 192.160.2.1:17 ICMP
ICMP 12.1.1.3:18 192.160.1.1:18 192.160.2.1:18 192.160.2.1:18
ICMP 12.1.1.4:21 192.160. 1.2: 21 192.160.2.1:21 192.160.2.1:21
ICMP 12.1.1.4:22 192.160.1.2:22 192.160.2.1:22 192.160.2.1:22
ICMP 12.1.1.4:23 192.160.1.2:23 192.160.2.1:23 192.160.2.1:23
ICMP 12.1.1.4:24 192.160.1.2:24 192.160.2.1:24 192.160.2.1:24
dynamically generates the IP conversion.

Guess you like

Origin blog.51cto.com/14148388/2421370
NAT