当前位置:网站首页>HCIA NAT experiment report 7.14
HCIA NAT experiment report 7.14
2022-07-22 00:52:00 【enkh amgahan 】
One 、 Build topology
Two 、 planning IP
1、R1 Of ip
Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 192.168.1.1/24 up up
GigabitEthernet0/0/1 12.1.1.1/24 up up
GigabitEthernet0/0/2 unassigned down down
NULL0 unassigned up up(s)
<R1>
2、R2 Of ip
Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 12.1.1.2/24 up up
GigabitEthernet0/0/1 1.1.1.1/24 up up
GigabitEthernet0/0/2 unassigned down down
NULL0 unassigned up up(s)
[R2-GigabitEthernet0/0/1]
3、pc1 Of ip
4、http1 Of ip
5、http2 Of ip
6、PC2 Of ip
7、Client1 Of ip
8、DNS Of ip
3、 ... and 、 The first two requirements have met the meaning of the question
1、 test PC1 PING PC2
2、 test PC1 PING PC2, Can communicate
Four 、R1 Only one public ip
[R1]ip route-static 0.0.0.0 0 12.1.1.2
[R1]acl 2000
[R1-acl-basic-2000]rule permit source 192.168.1.0 0.255.255.255
[R1-acl-basic-2000]int g0/0/1
[R1-GigabitEthernet0/0/1]nat outbound 2000
5、 ... and 、CLIENT Can pass http Visit two server
6、 ... and 、client Visiting another server By domain name
[R1]int g0/0/1
[R1-GigabitEthernet0/0/1]nat server protocol tcp global current-interface 80 inside 192.168.1.10 80
Warning:The port 80 is well-known port. If you continue it may cause function failure.
Are you sure to continue?[Y/N]:y
[R1-GigabitEthernet0/0/1]nat server protocol tcp global current-interface 9999 inside 192.168.1.20 80
边栏推荐
猜你喜欢
随机推荐
Match the middle character re of any two characters
Interviewer: are you sure redis is a single threaded process?
js 常用的 方法
JS common methods
同组“高龄”员工被辞退,互联网中年危机真的有那么夸张吗?
小程序如何使用自定义导航栏
Connect mysql database in tableau
A simple way to get headers and cookies
11种免费获取SSL证书的方式
KY小说采集规则(5条采集规则)
Download of typora and use of markdown
进程知识概括
uniapp使用图表
Unity学习笔记-热更新相关
scrapy pipeline中mysql和mongo数据库入库
一个程序员的水平能差到什么程度?
聊一聊损失函数
Queen n
2个小时拿下接口测试-黑马程序员,掌握接口用例的编写,接口信息解析,通过哦抓包解析接口信息,接口用例的设计方法,
Sparksql experiment