当前位置:网站首页>Switch and Router Technology-33-Static NAT
Switch and Router Technology-33-Static NAT
2022-08-11 04:55:00 【w Spicy little prince】
Network Address Translation NAT
- Static transformation
- Dynamic transformation
- Port Multiplexing PAT
- Port Mapping (Server Mapping)
NAT Basic Concepts
Because the network is divided into private network and public network in the ipv4 network environment, the address of the private network cannot be routed on the public network
Purpose:
Convert private network address to public network address
appears background
Due to the limited IP resources and the continuous increase of network devices, the IP address is not enough
Transformation:
Static and dynamic NAT are basically unnecessaryp>
Static translation IP address translation only 1 to 1
dynamic conversion only IP address conversion many-to-many
Case 1: There are more intranet addresses than extranet addresses, no way to go online at the same time
Case 2: The intranet address is less than the extranet address
Port multiplexing PAT multi-to-1 turn to carry the port to convert together 192.168.1.2:5252-à6423.54.99:6625
Distinguish which address is on the Internet according to the port
Port mapping (server mapping)
Publish an intranet server to the extranet so that hosts on the extranet can access the intranet server
192.168.1.1.:80----64.26.32.22:80
Destination address conversion
4 types of addresses in the conversion table
Internal local address: sender's intranet
External global address: sender's external network
External local address: the recipient's intranet
External global address: the recipient's external network
Static transition

Configure static NAT

Specify internal and external network interfaces
Router(config)#int g0/0
Router(config-if)#ip nat inside
Router(config)#int g0/1
Router(config-if)#ip nat outside
Configure on the router
Ip nat inside source static public network ip
View nat static conversion information

边栏推荐
猜你喜欢

【yolov7系列三】实战从0构建训练自己的数据集

0 Basic software test for career change, self-study for 3 months, 12k*13 salary offer

Optimization is a kind of habit low starting point is the "standing near the critical"

form form submission database Chinese becomes a question mark

交换机和路由器技术-24-OSPF单区域配置

How IP-Guard prohibits running U disk programs

Switch and Router Technology - 28 - NSSA Areas for OSPF

Switch and Router Technology - 25 - OSPF Multi-Area Configuration

JVM 垃圾回收的概述与机制

如何将360全景图导出高清短视频分享到视频平台上?
随机推荐
论文笔记:BBN: Bilateral-Branch Network with Cumulative Learningfor Long-Tailed Visual Recognition
0 Basic software test for career change, self-study for 3 months, 12k*13 salary offer
Apache初体验
0基础转行软件测试,自学3个月,浅拿12k*13薪offer
The sword refers to offer_abstract modeling capabilities
Add PRODUCT_BOOT_JARS and classes to provide jar packages to applications
交换机和路由器技术-28-OSPF的NSSA区域
分层架构&SOA架构
Switches and routers technology - 26 - configure OSPF peripheral area
监听U盘插入 拔出 消息,获得U盘盘符
延长经济保险(jeecgboot)
Resize() usage row pit in vector
交换机和路由器技术-30-标准ACL
Listen to pull out U disk inserted into the message, U disk drive
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/data/xxxx
「转」“搜索”的原理,架构,实现,实践,面试不用再怕了
leetcode 9. 回文数
Solve the problem of multi-thread calling sql stored procedure
C语言:实用调试技巧
Bubble sort and heap sort