当前位置:网站首页>静态试验。2021.01 .13
静态试验。2021.01 .13
2022-07-27 17:11:00 【拥抱mo mo】
一,构建拓扑,并分配地址

192.168.1.0/24
1.子网划分
192.168.1.0/27用于骨干路由。划分到192.168.1.4/30…
192.168.1.32/27用于R1 的两个缺省路由
192.168.1.32/28 192.168.1.48/28
192.168.1.64/27用于R3 的两个缺省路由
192.168.1.64/28 192.168.1.80/28
192.168.1.96/27
192.168.1.128/27用于R4 的两个缺省路由
192.168.1.128/28 192.168.1.144/28
192.168.1.160/27
192.168.1.192/27
192.168.1.224/27
2配各个接口的IP
[r1]int g0/0/0
[r1-GigabitEthernet0/0/0]ip address 192.168.1.1/30
配置r1环回接口
[r1]interface LoopBack 0
[r1-LoopBack0]ip address 192.168.1.29/28
3.配置吓一跳
[r1]ip route-static 192.168.1.8 30 192.168.1.2
前缀 目标网段 掩码 下一跳
4.配置缺省
[r1]ip route-static 0.0.0.0 0.0.0.0 192.168.1.2
五, r2 下利用dhcp获取pc1.pc2的 ip地址
六,路由黑洞
[r1]ip rout-static192.168.1.32/27 null 0
七,以及ACL实现访问控制

*八,在r5上配置nat。进行公网私网地址的转换。

**
九,远程登录
**
十,测试是否全网可达用ping 加ip 地址
综上所述,可测试全网可达。
三次握手.
因为基于通信方式和双全工的特性,所以在tcp连接建立时client需要将自己的seq序号告知对方,同时需要对方的确定,server也需要将自己的seq序号告知对方,同时也要对方的确定。server将自己的ack和发出的syn标志的告知对方seq的合并在一次传递中,这样子节省流量。所以需要三次握手。
四次挥手。
TCP通信双方都可以独立关闭自己的通信通道,也就是半关闭。client先发送FIN告知对方我已经完成数据发送了,server回复ack来确定我知道了。这样一个流程,就关闭了client的发送信息通道。但是client还可以接收。server此时已经知道接收不到client的数据了,但是还可以给它发送数据。如果server也没有啥数据要发送给对方了,server也会以FIN标志位发送一个信息给client,client接到后,也会传递一个ack表示知道了。这样子,双方都完成了关闭。因为TCP连接是全双工的网络协议,允许同时通信的双方同时进行数据的收发,同样也允许收发两个方向的连接被独立关闭,以避免client数据发送完毕,向server发送FIN关闭连接,而server还有发送到client的数据没有发送完毕的情况。所以断开需要四次握手,
边栏推荐
- [basic knowledge of deep learning - 46] Bayesian theorem and conditional probability formula
- 函数总结
- Use of jvisualvm
- 【日常积累 - 07】cuda多版本切换
- A lock faster than read-write lock. Don't get to know it quickly
- Map和Set
- 【深度学习基础知识 - 37】解决正负样本不均衡 Focal Loss
- Hdu1573 x problem [univariate linear congruence equations]
- [basic knowledge of deep learning - 50] PCA dimensionality reduction principal component analysis
- Binary search tree
猜你喜欢
![[basic knowledge of deep learning - 42] detailed explanation of logistic regression](/img/74/d7d1562ada4671864961721b9a1baf.png)
[basic knowledge of deep learning - 42] detailed explanation of logistic regression

JS find all nodes sibling childNodes children

Application pool has been disabled

Fabric上搭建Hyperledger caliper进行性能测试

下放三星3J1传感器:代码暗示Pixel 7人脸识别安全性将大增

【深度学习基础知识 - 43】优势比的概念

GestureOverlayView(手势识别2)

JS event listening mouse keyboard form page onclick onkeydown onchange

Map和Set

【深度学习基础知识 - 42】逻辑回归详解
随机推荐
Samsung will promote a number of risc-v architecture chips, and 5g millimeter wave RF chips will be the first to be adopted
SystemService(系统服务)
Remember an unprepared internship interview
Pytorch reports CUDA error: no kernel image is available for execution on the device error
四大组件之ContentProvider
DatePicker(日期选择器)与TimePicker(时间选择器)
The first Xiaolong 765G! Redmi K30 5g release: support 5g dual-mode 120Hz screen, priced from 1999 yuan
Object常用方法学习【clone和equals】
【深度学习基础知识 - 46】贝叶斯定理与条件概率公式
访问控制
ReferenceError: __ dirname is not defined in ES module scope
GridView(实现表格显示图标)
What's new in helix QAC 2022.2, the ace code static testing tool (2)
JS find all nodes sibling childNodes children
ContentProvider of four components
Transaction log full problem handling in sqlserver 2008
OPPO发布首款AR眼镜,宣布未来3年投入500亿进行研发
MarqueeTextview(跑马灯)
SumMenuDemo(子菜单)
FileOutputStream(文件储存)与FileInputStream(文件读取)