当前位置:网站首页>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
边栏推荐
- Chapter 3 business function development (to remember account and password)
- Debian10 compile and install MySQL
- 小程序中实现付款功能
- Test for 3 months, successful entry "byte", my interview experience summary
- Interviewer: why is the page too laggy and how to solve it? [test interview question sharing]
- [principles and technologies of network attack and Defense] Chapter 3: network reconnaissance technology
- nest.js入门之 database
- Wireshark分析抓包数据*.cap
- Live broadcast software construction, canvas Text Bold
- socket编程之常用api介绍与socket、select、poll、epoll高并发服务器模型代码实现
猜你喜欢
你真的理解粘包与半包吗?3分钟搞懂它
Static routing configuration
C语言中匿名的最高境界
AI 击败了人类,设计了更好的经济机制
Idea completely uninstalls installation and configuration notes
讨论| 坦白局,工业 AR 应用为什么难落地?
Pro2: modify the color of div block
Introduction de l'API commune de programmation de socket et mise en œuvre de socket, select, Poll et epoll
Discuss | what preparations should be made before ar application is launched?
Win11C盘满了怎么清理?Win11清理C盘的方法
随机推荐
Improve application security through nonce field of play integrity API
Pro2: modify the color of div block
socket编程之常用api介绍与socket、select、poll、epoll高并发服务器模型代码实现
debian10系统问题总结
线程池和单例模式以及文件操作
Wireshark analyzes packet capture data * cap
NAT地址转换
体总:安全有序恢复线下体育赛事,力争做到国内赛事应办尽办
[trusted computing] Lesson 12: TPM authorization and conversation
海量数据去重的hash,bitmap与布隆过滤器Bloom Filter
『HarmonyOS』DevEco的下载安装与开发环境搭建
2022年理财有哪些产品?哪些适合新手?
Chapter 3 business function development (user login)
Hash, bitmap and bloom filter for mass data De duplication
直播软件搭建,canvas文字加粗
同消费互联网的较为短暂的产业链不同,产业互联网的产业链是相当漫长的
Skills of embedded C language program debugging and macro use
nest.js入门之 database
回归测试的分类
Rules for filling in volunteers for college entrance examination