当前位置:网站首页>Nat address translation
Nat address translation
2022-07-07 18:38:00 【Chen chacha__】
Technical background
- legal IP Address resources are increasingly scarce
- Effectively hide internal hosts IP, It has a certain role in network security protection
NAT principle : change IP baotou 、 Make destination address 、 The source address or two addresses are replaced by different addresses in the header
NAT classification :
static state NAT: One to one address mapping
dynamic NAT: Pick from the address pool
NAT overload (PAT): Allow internal address mapping to an external address
static state NAT
Two routers are respectively configured with default routes , The whole network is connected
1.PC0 Use the public address to access the Internet server , stay R0 The upper configuration enables static address translation between internal local and external legal addresses
ip nat inside soure static 192.168.10.1 76.12.16.139 # The former is the internal address , Followed by the external address to be mapped
Enable on internal and external ports NAT
int e0/0/0
ip nat inside
int f0/1
ip nat outside
show ip nat translations
2. Will be inside server HTTP Services are mapped to the public network IP PC Through the public network IP Internal access server
ip nat inside source static tcp 192.168.20.1 80 76.12.16.140 80
int f0/0
ip nat in
show ip nat translations
dynamic NAT
dynamic NAT Configuration steps
1. To configure ACL, Intranet range for address translation
access-list 1 permit 192.168.10.0 0.0.0.255
int f0/0
ip access-group in
2. Configure the translated address pool
ip nat pool pool-1 76.12.16.139 76.12.16.141 netmask 255.255.255.248
3. Set up ACL Mapping relationship with address pool
ip nat inside source list 1 pool pool-1
4. Enable on internal and external ports NAT
int f0/0
ip nat inside
int f0/1
ip nat outside
show ip nat translation # Check out the NAT Address translation address
边栏推荐
- 能同时做三个分割任务的模型,性能和效率优于MaskFormer!Meta&UIUC提出通用分割模型,性能优于任务特定模型!开源!...
- 『HarmonyOS』DevEco的下载安装与开发环境搭建
- socket编程之常用api介绍与socket、select、poll、epoll高并发服务器模型代码实现
- sqlite sql 异常 near “with“: syntax error
- 云安全日报220707:思科Expressway系列和网真视频通信服务器发现远程攻击漏洞,需要尽快升级
- [trusted computing] Lesson 10: TPM password resource management (II)
- debian10系统问题总结
- [paddleseg source code reading] add boundary IOU calculation in paddleseg validation (1) -- val.py file details tips
- Five simple ways to troubleshoot with Stace
- 数学分析_笔记_第11章:Fourier级数
猜你喜欢
Interviewer: why is the page too laggy and how to solve it? [test interview question sharing]
Hash, bitmap and bloom filter for mass data De duplication
Pro2: modify the color of div block
Skills of embedded C language program debugging and macro use
RIP和OSPF的区别和配置命令
Some key points in the analysis of spot Silver
Do you really understand sticky bag and half bag? 3 minutes to understand it
2021年全国平均工资出炉,你达标了吗?
你真的理解粘包与半包吗?3分钟搞懂它
AI 击败了人类,设计了更好的经济机制
随机推荐
3分钟学会制作动态折线图!
Interviewer: why is the page too laggy and how to solve it? [test interview question sharing]
Chapter 3 business function development (to remember account and password)
“解密”华为机器视觉军团:华为向上,产业向前
Tsinghua, Cambridge and UIC jointly launched the first Chinese fact verification data set: evidence-based, covering many fields such as medical society
云安全日报220707:思科Expressway系列和网真视频通信服务器发现远程攻击漏洞,需要尽快升级
Backup Alibaba cloud instance OSS browser
Tips of the week 136: unordered containers
【蓝桥杯集训100题】scratch从小到大排序 蓝桥杯scratch比赛专项预测编程题 集训模拟练习题第17题
用存储过程、定时器、触发器来解决数据分析问题
『HarmonyOS』DevEco的下载安装与开发环境搭建
性能测试过程和计划
能同时做三个分割任务的模型,性能和效率优于MaskFormer!Meta&UIUC提出通用分割模型,性能优于任务特定模型!开源!...
Afghan interim government security forces launched military operations against a hideout of the extremist organization "Islamic state"
Static routing configuration
Wireshark analyzes packet capture data * cap
Yunjing network technology interview question [Hangzhou multi tester] [Hangzhou multi tester _ Wang Sir]
Usage of PHP interview questions foreach ($arr as $value) and foreach ($arr as $value)
[paddleseg source code reading] add boundary IOU calculation in paddleseg validation (1) -- val.py file details tips
How to clean when win11 C disk is full? Win11 method of cleaning C disk