Home > database >  NAT experiment
NAT experiment

Time:11-16

The topology is as follows:


The experimental purpose is to let the private network PC PC30 10, 20 and the external network can communicate (Ping)

PC's IP and the IP address of the router port has been configured
And on the R1 router configured the NAT
Specific as follows:
 
//configure ACL
(R1) acl basic 2000
[R1 - acl - 2000] - ipv4 -, basic rule 10 permit source 192.168.56.1 0.0.0.255
[R1 - acl - ipv4 - basic - 2000] quit

//configure NAT
(R1) NAT address - group 10
[R1 - address - group - 10] address 100.100.12.10 100.100.12.20
[R1 - address - group - 10] the quit

//associated with NAT ACL
(R1) int s1/0
R1 - Serial1/0 NAT outbound 2000 address - group, the no 10 - pat
R1 - Serial1/0 quit


At this point, the private network and the network segment 100.100.12.0 have established connection

PC10 port can ping ping R2 S1/0

You then need to 100.100.12.0 200.200.23.0 sets up two network connection

Connection methods I learned two kinds: static routing OSPF

Here the OSPF method

The R2 and R3 router configuration is completed
PC30 ping S2/R2 port 0 can pass but PC10, between 20 and PC30 cannot ping

I want to ask, what should do next




  • Related