当前位置:网站首页>Hcip third day notes
Hcip third day notes
2022-07-16 08:53:00 【Alone 631】
Day 3:
Network type --- It is more divided by the protocol used in the data link layer
MA— Multipoint access network
BMA— Broadcast multipoint access network
NBMA— Non broadcast multipoint access network
P2P— Point to point network
Ethernet protocol --- Need to use MAC Address distinguishes and identifies different host devices .--- Why Ethernet needs to be used MAC Address for data addressing , This is mainly because the layer-2 network using Ethernet components can contain multiple ( Two or more ) The interface of , Each Ethernet interface can carry out layer-2 communication by means of interactive Ethernet frames .----BMA
When a network can only contain two devices , Then such a network does not need MAC Address address , Such a network is called P2P.
T1---1.544Mbps
E1---2.048Mbps
Ethernet — Frequency division technology — So called frequency division , It is to send radio waves of different frequency bands on the same transmission medium at the same time , And they don't interfere with each other , Realize the parallel transmission of data .
1.HDLC--- Advanced data link control protocol — Compatibility is poor
The standard HDLC: Yes ISO Those that meet industrial standards issued by the organization HDLC edition .
Nonstandard HDLC: Major manufacturers based on Standards HDLC The agreement has been improved .( Standard and non-standard may be incompatible )
( By default , The encapsulation protocol used in the serial network of Cisco device components is HDLC, Huawei uses... By default PPP agreement )
【r1】display interface Serial 4/0/0--- View the layer 2 features of the interface
【r1-Serial4/0/0】link-protocol hdlc --- Modify the protocol type of layer 2
PPP-- Point to point agreement
- PPP— Point to point agreement
- Strong compatibility and unified version , And as long as it supports full duplex serial lines , You can use PPP Protocol encapsulation .
- PPP The protocol has strong portability .---PPPoE
- Support authentication and authorization
PPP And TCP be similar , Before transmitting data , Need to establish PPP Conversation .
- Link establishment phase ---LCP establish
- Authentication phase — optional
- Network layer protocol negotiation stage ---NCP negotiation ---NCP An agreement is a collection of agreements .--IPCP agreement
PPP The agreement has a series of member agreements —LCP( Link control protocol )= An agreement
--NCP( Network control protocol == A bunch of agreements )、
etc.

F--Flag---0111110
A…-Address---1111111
C---control---00000011
agreement --- Indicates the protocol type used by the upper layer .
FCS--- Frame check sequence --- Ensure data integrity

- Link establishment phase —LCP establish
Content of negotiation :
1.MRU: Limit PPP The maximum number of bytes carried by the data part of the frame ---1500 byte
2. Negotiate whether to establish certification in the second stage , And choose which authentication to send .

2. Authentication phase — optional ---PPP Generally by calling aaa Platform to complete the certification process — Sure .
PPP Can be one-way authentication , You can also have two-way authentication
PAP— Password authentication protocol — The authenticated party sends the password and user name to the authenticator in clear text , If the certification results, the certification party will reply ACK, Then reply NAK.( unsafe )

CHAP- Challenge the handshake agreement --- safer , No longer send plaintext directly for authentication , Instead, authentication is performed by comparing the summary values .

HASH( Hash function — In the calculation summary )-- Convert input of any length into output of any length .-- Not encryption
- Same input , Same output .
- Irreversibility
- Avalanche effect : A slight change will make a big difference
MD5—HASH One of the algorithms , Input of any length can be converted into 128 The output of a
3. Network layer protocol negotiation stage —NCP agreement — If the third floor uses IP agreement , You need to use IPCP Protocol to negotiate its parameters
1.IP Compression format of message ;
2.IP Address

Once you acknowledge what the other party sent IP Address , Will automatically learn the host route to the address .

obtain IP Configuration acquirer of address ∶
[r1-Serial4/0/0]ip address ppp-negotiate Giver ∶
[r2-Serial4/0/0]remote address 1.1.1.1
PAP Configuration method of authentication ∶
Certifier ∶1, Create user information
[r1-aaa]local-user admin password cipher 123456 [r1-aaa]local-user admin service-type ppp
2, Configure authentication mode
[r1-Serial4/0/0]ppp authentication-mode pap
Certified party ∶
[r2-Serial4/0/ppp pap local-user admin password cipher 123456
PPP Your session is a one-time session
CHAP Authentication configuration method
Certifier ∶1, Create user information
[r1-aaa]local-user admin password cipher 123456 [r1-aaa]local-user admin service-type ppp
2, Configure authentication mode
[r1-Serial4/0/0]ppp authentication-mode chap
Certified party ∶
[r2-Serial4/0/0]ppp chap user admin
[r2-Serial4/0/opp chap password cipher 123456
边栏推荐
- 【IDEA】check out master invalid path 问题
- What happens when you unplug the power? Gaussdb (for redis) dual life keeps you prepared
- Is there a completely independent localization database technology
- 电脑定时清理微信数据
- Linear table concept
- 线性表概念
- A brief introduction to shell syntax
- Emqx cloud update: add redis and JWT external authentication authorization
- How to turn off the dareu keyboard light
- Left leaning heap - Analysis and Implementation
猜你喜欢

面试诈骗:竟然还有靠面试挣钱的公司

Virtualization path of GPU resource pool

Is it difficult to become a hardware engineer?

渲染流程,代码是如何变为页面的(一)

【历史上的今天】7 月 13 日:数据库之父逝世;苹果公司购买 CUPS 代码;IBM 芯片联盟

判断两棵二叉树是否同构,三种实现方式(递归、队列、堆栈)

Win11怎么共享文件夹?Win11创建共享文件夹的方法
![[play with FPGA learning 7 in simple terms ----- cross clock domain signal processing based on FPGA]](/img/ff/3d7081e133a9491f5fb1274ecf65b5.png)
[play with FPGA learning 7 in simple terms ----- cross clock domain signal processing based on FPGA]

Common DOS commands

05.01 字符串
随机推荐
How to solve the problem that the computer shared file cannot be opened
I used Kaitian platform to build an urban epidemic prevention policy inquiry system. Don't you try it?
[I2C (Analog) drive ssd1306 OLED screen of Renesas ra6m4 development board]
No one really thinks that chatting robots are difficult -- fine tune the Bert model to get the similarity between sentences
PG运维篇--服务启停
Central bank: the central bank rating of most small and medium-sized banks in China is within the safe boundary
Taishan Office Technology Lecture: the height of strange times New Roman Fonts
Test basis 4
浅谈——对技术转型做管理的看法
EMQX Cloud 更新:新增 Redis 和 JWT 外部认证授权
1. Create SAP OData project in SAP ABAP transaction code segw
Binomial reactor principle and analysis
不会真有人觉得聊天机器人难吧——微调BERT模型得到句子间的相似度
Viewpager forbids sliding left and right
Test basis 2
05.01 字符串
Jerry's dot matrix screen displays the Chinese Bluetooth name [article]
【每日一题】735. 行星碰撞
Lesson 3: stock trading III
Hj3 explicit random number hj03