当前位置:网站首页>网络类型划分
网络类型划分
2022-07-21 05:22:00 【Z_41527】
网络类型
根据数据链路层使用的协议来进行划分
MA ---- 多点接入网络
1、BMA
广播型多点接入网络
2、NBMA
非广播型多点接入网络
P2P ---- 点到点的网络
当一个网络中只能包含两台设备时,则这样的网络不需要使用MAC地址进行寻址
以太网协议
需要使用MAC地址对不同的主机设备进行区分和标识
以太网中的频分
在同一种传输介质可以同时发送不同频段的电波,而互不干扰,实现数据的并行发送
HDLC ---- 高级数据链路控制协议
标准的HDLC:ISO组织颁布的满足工业标准的HDLC版本
非标准的HDLC:各大厂商基于标准的HDLC协议改进而来
查看接口的二层特征:
display interface serial 4/0/0
修改二层的协议类型:
link-protocol hdlc
PPP ---- 点到点协议
1、兼容性强,有统一的版本,并且只要是支持全双工的串线,都可以使用PPP协议进行封装
2、PPP协议具有很强的可移植性
3、支持认证和授权
建立PPP会话
1、链路建立阶段(LCP建立)
MRU ---- PPP帧中数据部分所允许携带的最大字节数(1500字节)
2、认证阶段(可选项)
PPP一般通过aaa平台来完成认证过程,但是PPP中既支持单向认证也支持双向认证
PAP
密码认证协议
被认证方将用户名和密码以明文的形式发送给认证方,如果认证成功,则认证方回复ACK,否则回复NAK
PAP认证的配置方法:
认证方:
1、创建用户信息
local-user admin password cipher 123456
local-user admin service-type ppp
2、配置认证方式
ppp authentication-mode pap
被认证方:
ppp pap local-user admin password cipher 123456
CHAP
挑战握手协议
安全性更高,不再是直接发送明文来进行认证,而是通过对比摘要值的方式来进行认证
CHAP认证的配置方法:
认证方:
1、创建用户信息
local-user admin password cipher 123456
local-user admin service-type ppp
2、配置认证方式
ppp authentication-mode chap
被认证方:
ppp chap user admin
ppp chap password cipher 123456
HASH
散列函数
将任意长度的输入转换成固定长度的输出
特点:
1.相同输入,相同输出
2.不可逆性
3.雪崩效应
3、网络层协议协商阶段
NPC协商
如果三层使用的是IP协议,则需要使用IPCP协议来协商其参数,一旦认可了对方发IP地址,则将会自动学习到达该地址的主机路由
获取IP地址的配置
获取方:
ip address ppp-negotiate
给予方:
remote address 1.1.1.1
PPP成员协议
1、LCP ----> 链路控制协议
2、NCP ----> 网络控制协议
PPP帧格式
F ---- 01111110
A ---- 11111111
C ---- 00000011
协议 ---- 上层使用的协议类型
FCS ---- 帧校验序列
边栏推荐
- 2787:算24
- A DC motor locking program based on ATmega128
- @Correct use of requestparam annotation
- 放苹果
- Kruskal reconstruction tree
- regular expression
- Dry goods sharing - what knowledge points did you take in the soft test high items in the first half of 2022?
- 四则运算表达式求值
- AcWing 94. 递归实现排列型枚举
- Detailed explanation of iptables
猜你喜欢
TCP/IP五层和七层模型总结(建议全文背诵)
Installation and implementation of zabbix5.0
235. Nearest common ancestor DFS method of binary search tree
Solr deployment and IK Chinese word segmentation cases
Encapsulation des machines virtuelles
奇怪的响应数据
Federated learning: spatiotemporal data mining in federated scenarios
solr部署以及ik中文分词案例
Intranet detection 1- working group information collection & intra domain information collection
Codeforces Round #809 (Div. 2)
随机推荐
[infrastructure] [flink] Flink / Flink CDC code to achieve business access
Sample explanation of hybrid drive for automated testing
Exness: the US index fell for three consecutive days, and the euro rebounded to digest the expectation of interest rate hike
I spent 6000 to sign up for the test training class. Three months later, I successfully "cheated" into Tencent with a monthly salary of 17k
vim编辑器
Codeforces Round #809 (Div. 2)
使用JasperReports时,报出 ReportExpressionEvaluationData 异常
Part 06: pooling Technology
Oracle中Delete数据之后想恢复?来看这里[只要三步]
centos7部署mysql8
What happens when you have threads
3. Use playbook in ansible
lvm和磁盘配额
tried to access field com. mysql. cj. CharsetMapping. COLLATION_ INDEX_ TO_ COLLATION_ NAME from class io. de
Jasperreports configures Chinese Fonts
Idea添加依賴的步驟:
Table table
Embedded Internet of things - learning and sharing
Configure server development environment under virtual machine
[email protected] interactive