CCNP必备:Linux网络及0SI7层模型深入讲解(二)|学习笔记

简介: 快速学习CCNP必备:Linux网络及0SI7层模型深入讲解

开发者学堂课程【Linux网络进阶 - TCP/IP协议及OSI七层模型CCNP必备:Linux网络及0SI7层模型深入讲解学习笔记,与课程紧密联系,让用户快速学习知识。

课程地址:https://developer.aliyun.com/learning/course/552/detail/7629


CCNP必备:Linux网络及0SI7层模型深入讲解(二)


二、IntemetControlMessageProtocol(ICMP)

用来实现pin命令

可以用来判断网络状态(根据不同的网络状态会返回不同的信息)

ICMP数据包大小默认64字节

PING172.20.0.1(172.20.0.1)56(84)bytesofdata.

64bytesfrom172.20.0.1:icmpseq=1tt1=64time=3.

20ms64bytesfrom172.20.0.1:icmpseq=2

tt1=64time=0.547ms

64bytesfrom172.20.0.1:icmpseq=3tt1=64time0.

390ms

172.20.0.1pingstatistics

3packetstransmitted,3received,0%packetloss,

time2002msrttmin/avg/max/mdev=0.390/1.381/3.208

/1.293ms

[root@centos7~]#ping172.20.0.12

PING172.20.0.12(172.20.0.12)56(84)bytesofd

ata.

From172.20.102.77icmpseq=1

DestinationHostUnreachable

From172.20.102.77

icmpseq=2DestinationHostUnreachable

From172.20.102.77icmpseq=3

DestinationHostUnreachab1e

From172.20.102.77icmpseq=4

DestinationHostUnreachable

From172.20.102.77icmpseq=5

DestinationHostUnreachable

From172.20.102.77icmpseq=6

DestinationHostUnreachable

From172.20.102.77icmpseq=7

DestinationHostUnreachable

From172.20.102.77icmp_seq=8DestinationHostUnr

eachabl

172.20.0.12pingstatistics

9packetstransmitted,0received,+8errors,100%

packetloss,time8003mspipe4

[root@centos7~]#ping172.20.0.12-s65508

Error:packetsize65508istoolarge.Maximumis

65507

[root@centos7~]#pir172.20.0.12-s65507

PING172.20.0.12(172.20.0.12)65507(65535)bytes

ofdata.

172.20.0.12pingstatistics

4packetstransmitted,0received,100%packetloss,

time3000ms

[root@centos7~]#ping192.168.30.128-S65507

PING192.168.30.128(192.168.30.128)65507(65535)

bytesofdata.

65515bytesfrom192.168.30.128:icmpseq=1tt1=64

time=4.48ms

65515bytesfrom192.168.30.128:icmp_seq=2tt1=64

time=1.19ms

65515bytesfrom192.168.30.128:icmp_seq=3tt1=64

time=1.08ms

192.168.30.128pingstatistics---

3packetstransmitted,3received,0%packetloss,

time2004msrttmin/avg/max/mdev=1.083/2.25214.4

82/1.577ms

[root@centos7~]#ping192.168.30.128

PING192.168.30.128(192.168.30.128)56(84)bytes

ofdata.64bytesfrom192.168.30.128:icmp_seq=1

tt]=64time=2.81ms

64bytesfrom192.168.30.128:icmpseq=2tt]=64ti

me=0.585

ms

64bytesfrom192.168.30.128:icmp_seq=3tt1=64

time=0.217ms

64bytesfrom192.168.30.128:icmp_seq=4tt1=64t

ime=0.335ms

64bytesfrom192.168.30.128:icmp_seq=5tt1=64tim

e=0.340s

64bytesfrom192.168.30.128:icmp_seq=6tt1=64tim

e=0.302ms

64bytesfrom192.168.30.128:icmp_seq=7tt1=64t

ime0.260ms

64bytesfrom192.168.30.128:icmp_seq=8tt1=64t

ime0.260ms

192.168.30.128pingstatistics---

8packetstransmitted,8received0%packetloss,t

ime7007msrttmin/avg/max/mdev=0.217/0.639/

2.814/0.828ms

[root@centos7~]#ping192.168.30.128-s65507

PING192.168.30.128(192.168.30.128)65507(65535)

bytesofdata.

65515bytesfrom192.168.30.128:icmpseq=1tt]=64

time=1.68ms

65515bytesfrom192.168.30.128:icmp_seq=2tt1=64

time1.39ms

65515bytesfrom192.168.30.128:icmp_seq=3tt1=64

time=1.50ms

65515bytesfrom192.168.30.128:icmp_seq=4tt1=64

time=1.44ms

65515bytesfrom197.168.30.128:icmp_seq=5tt1=

64time=1.48ms

65515bytesfrom192.168.30.128:icmpseq=6tt]=6

4time=1.46ms

65515bytesfrom192.168.30.128:icmp_seq=7tt1=64

time=1.39ms

65515bytesfrom192.168.30.128:icmp_seq=8tt]=64

time=1.47ms

65515bytesfrom192.168.30.128:icmp_seq=9tt1=64

time=1.88ms

65515bytesfrom192.168.30.128:icmp_seq=10tt]=6

4time=1.38ms

65515bytesfrom192.168.30.128:icmp_seq=11tt1=6

4time=1.34ms

nC

192.168.30.128pingstatistics

11packetstransmitted,11received0%packetloss,

time10019msrttmin/avg/max/mdev=1.346/1496/1.

882/0.154ms

相关文章
|
4天前
|
Shell Linux
Linux shell编程学习笔记30:打造彩色的选项菜单
Linux shell编程学习笔记30:打造彩色的选项菜单
|
25天前
|
安全 Linux 网络安全
Web安全-Linux网络协议
Web安全-Linux网络协议
50 4
|
13天前
|
机器学习/深度学习 人工智能 算法
鸟类识别系统Python+卷积神经网络算法+深度学习+人工智能+TensorFlow+ResNet50算法模型+图像识别
鸟类识别系统。本系统采用Python作为主要开发语言,通过使用加利福利亚大学开源的200种鸟类图像作为数据集。使用TensorFlow搭建ResNet50卷积神经网络算法模型,然后进行模型的迭代训练,得到一个识别精度较高的模型,然后在保存为本地的H5格式文件。在使用Django开发Web网页端操作界面,实现用户上传一张鸟类图像,识别其名称。
60 12
鸟类识别系统Python+卷积神经网络算法+深度学习+人工智能+TensorFlow+ResNet50算法模型+图像识别
|
4天前
|
Shell Linux
Linux shell编程学习笔记82:w命令——一览无余
Linux shell编程学习笔记82:w命令——一览无余
|
6天前
|
机器学习/深度学习 数据采集 网络安全
使用Python实现深度学习模型:智能网络安全威胁检测
使用Python实现深度学习模型:智能网络安全威胁检测
26 5
|
4天前
|
机器学习/深度学习 算法 搜索推荐
图神经网络综述:模型与应用
图神经网络综述:模型与应用
|
8天前
|
存储 机器人 Linux
Netty(二)-服务端网络编程常见网络IO模型讲解
Netty(二)-服务端网络编程常见网络IO模型讲解
|
1月前
|
网络协议 数据安全/隐私保护 网络架构
计算机网络模型
【9月更文挑战第2天】
47 24
|
23天前
|
机器学习/深度学习 人工智能 自然语言处理
机器学习模型之深度神经网络的特点
深度神经网络(Deep Neural Networks, DNNs)是一类机器学习模型,通过多个层级(层)的神经元来模拟人脑的工作方式,从而实现复杂的数据处理和模式识别任务。
32 1
|
25天前
|
机器学习/深度学习 安全 网络协议
Web安全-Linux网络命令
Web安全-Linux网络命令
19 1
下一篇
无影云桌面