Cisco NAT network Address translation configuration

Source: Internet
Author: User

Network address translation (NAT) enables the internal network to be connected to the Internet by translating the private IP address of the internal network into the world's only public IP address, and is widely used in various types of Internet access and various types of networks. NAT: Mitigate IP, hide the private ip,nat of the internal server for routers at the end of the LAN (the one that connects directly to the extranet), and it has nothing to do with the VLAN environment, or the intermediate device.

How NAT is implemented:

    1. Static conversion (the private IP of the intranet is converted to a public legal IP, and it is a one-off, unchanging.) Can implement the external network access to the server device in the network) simple translation entries; static NAT port mappings (different service ports of different servers mapped to different ports of the same public IP) extend the translation entry.

    2. PAT (change the source IP source port of the out-of-Office packet and port conversion to enable the Intranet PC to use a public IP access extranet) simple conversion entries

Pat Configuration Process:

1. Network environment

650) this.width=650; "style=" Float:none; "title=" 1.png "src=" http://s3.51cto.com/wyfs02/M02/71/4D/ Wkiom1xk3p6cqq30aagf46exyl4663.jpg "alt=" Wkiom1xk3p6cqq30aagf46exyl4663.jpg "/>

2. Intranet Web Server

650) this.width=650; "style=" Float:none; "title=" 2.png "src=" http://s3.51cto.com/wyfs02/M00/71/4D/ Wkiom1xk3p6y6rbfaafxgts0m-e561.jpg "alt=" Wkiom1xk3p6y6rbfaafxgts0m-e561.jpg "/>

3. Extranet Web server

650) this.width=650; "style=" Float:none; "title=" 3.png "src=" http://s3.51cto.com/wyfs02/M01/71/49/ Wkiol1xk4kgcws-qaaejfzpsa58278.jpg "alt=" Wkiol1xk4kgcws-qaaejfzpsa58278.jpg "/>

4. Switch configuration

650) this.width=650; "style=" Float:none; "title=" 4.png "src=" http://s3.51cto.com/wyfs02/M02/71/49/ Wkiol1xk4kgdojtvaaguiw0hf3i512.jpg "alt=" Wkiol1xk4kgdojtvaaguiw0hf3i512.jpg "/>

5. Address configuration of the router

(intranet port)

650) this.width=650; "style=" Float:none; "title=" 5.png "src=" http://s3.51cto.com/wyfs02/M01/71/4D/ Wkiom1xk3p6wegveaad4hq4exvc021.jpg "alt=" Wkiom1xk3p6wegveaad4hq4exvc021.jpg "/>

(External network port)

650) this.width=650; "style=" Float:none; "title=" 6.png "src=" http://s3.51cto.com/wyfs02/M02/71/4D/ Wkiom1xk3xighoecaadx0vibbpa080.jpg "alt=" Wkiom1xk3xighoecaadx0vibbpa080.jpg "/>

6. Intranet PC Access intranet Web

650) this.width=650; "style=" Float:none; "title=" 7.png "src=" http://s3.51cto.com/wyfs02/M01/71/4D/ Wkiom1xk3xjxhjmlaabr5zjv2uw559.jpg "alt=" Wkiom1xk3xjxhjmlaabr5zjv2uw559.jpg "/>

650) this.width=650; "style=" Float:none; "title=" 8.png "src=" http://s3.51cto.com/wyfs02/M02/71/49/ Wkiol1xk4rut6uyraabqtvgde0c998.jpg "alt=" Wkiol1xk4rut6uyraabqtvgde0c998.jpg "/>

7. Intranet PC Ping test to access extranet Web and gateway

650) this.width=650; "style=" Float:none; "title=" 9.png "src=" http://s3.51cto.com/wyfs02/M02/71/4D/ Wkiom1xk3xnydr4naaixb3q8gri002.jpg "alt=" Wkiom1xk3xnydr4naaixb3q8gri002.jpg "/>

650) this.width=650; "style=" Float:none; "title=" 10.png "src=" http://s3.51cto.com/wyfs02/M00/71/49/ Wkiol1xk4rzwsib1aahettwglkg612.jpg "alt=" Wkiol1xk4rzwsib1aahettwglkg612.jpg "/>

8. Router configuration Pat, so that intranet PC can access the extranet

650) this.width=650; "style=" Float:none; "title=" 11.png "src=" http://s3.51cto.com/wyfs02/M01/71/4D/wKiom1XK34_ Zv5iraahexsvrtzu877.jpg "alt=" Wkiom1xk34_zv5iraahexsvrtzu877.jpg "/>

9. Accessing test effects from intranet PC

650) this.width=650; "style=" Float:none; "title=" 12.png "src=" http://s3.51cto.com/wyfs02/M00/71/49/ Wkiol1xk4zlaascbaabmyceihhe407.jpg "alt=" Wkiol1xk4zlaascbaabmyceihhe407.jpg "/>

Nat Port Multiplexing Configuration:

1. Look at the extranet web to see that no gateway is configured

650) this.width=650; "style=" Float:none; "title=" 13.png "src=" http://s3.51cto.com/wyfs02/M00/71/4D/ Wkiom1xk35dz3tw4aacdpnvksby048.jpg "alt=" Wkiom1xk35dz3tw4aacdpnvksby048.jpg "/>

2. Router configuration NAT

650) this.width=650; "style=" Float:none; "title=" 14.png "src=" http://s3.51cto.com/wyfs02/M02/71/4A/ Wkiol1xk4zlg3n2baabes6ywnu0228.jpg "alt=" Wkiol1xk4zlg3n2baabes6ywnu0228.jpg "/>

3. Use the extranet PC to access the Web in the intranet (note that this access is the IP address of the NAT router's external network card)

650) this.width=650; "style=" Float:none; "title=" 15.png "src=" http://s3.51cto.com/wyfs02/M02/71/4D/ Wkiom1xk35dcjwu-aabnzoxr8wc334.jpg "alt=" Wkiom1xk35dcjwu-aabnzoxr8wc334.jpg "/>

This configuration is complete!

Cisco NAT network Address translation configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.