当前位置:网站首页>Rip notes [rip message security authentication, increase of rip interface measurement]
Rip notes [rip message security authentication, increase of rip interface measurement]
2022-07-05 04:47:00 【Purer than pure passers-by】
Catalog
RIP Message security authentication [ The experimental diagram is as follows ]
rip Increase in interface metrics
RIP Message security authentication [ The experimental diagram is as follows ]

Basic configuration
First, complete the interface ip To configure [R3 It simulates the spam message of the attacker , These messages are a burden for the link, including equipment , but rip However, it is impossible to identify whether these messages are garbage messages, so it is impossible to intercept them , For these garbage messages rip Other devices in the will still be loaded into the routing table . It's not hard to imagine if R3 The garbage message of is generated in batch , Its impact on the whole network ]:
R1:
[Huawei]interface GigabitEthernet 0/0/0
[Huawei-GigabitEthernet0/0/0]ip address 192.168.1.1 24
[Huawei-GigabitEthernet0/0/0]q
[Huawei]interface LoopBack 0
[Huawei-LoopBack0]ip address 1.1.1.1 24
[Huawei]rip
[Huawei-rip-1]network 192.168.1.0
[Huawei-rip-1]network 1.0.0.0R2
[Huawei]interface GigabitEthernet 0/0/0
[Huawei-GigabitEthernet0/0/0]ip address 192.168.1.2 24
[Huawei-GigabitEthernet0/0/0]q
[Huawei]interface LoopBack 0
[Huawei-LoopBack0]ip address 2.2.2.2 24
[Huawei-LoopBack0]q
[Huawei]rip
[Huawei-rip-1]version 2
[Huawei-rip-1]network 192.168.1.0
[Huawei-rip-1]network 2.0.0.0R3
[Huawei]interface GigabitEthernet 0/0/0
[Huawei-GigabitEthernet0/0/0]ip address 192.168.1.3 24
[Huawei-GigabitEthernet0/0/0]q
[Huawei]interface LoopBack 0
[Huawei-LoopBack0]ip address 3.3.3.3 24
[Huawei-LoopBack0]q
[Huawei]interface LoopBack 1
[Huawei-LoopBack1]ip address 4.4.4.4 24
[Huawei-LoopBack1]q
[Huawei]interface LoopBack 2
[Huawei-LoopBack2]ip address 5.5.5.5 24
[Huawei-LoopBack2]q
[Huawei]rip
[Huawei-rip-1]version 2
[Huawei-rip-1]network 192.168.1.0
[Huawei-rip-1]network 3.0.0.0
[Huawei-rip-1]network 4.0.0.0
[Huawei-rip-1]network 5.0.0.0Now the basic configuration has been completed , see R1 The routing table of verifies whether the above idea is accurate , You can see R1 There is R3 All garbage messages , This is undoubtedly a burden for the equipment .

RIP authentication
R1【 among simple It is the authentication method of the message : Plaintext Authentication ; That is, the authentication password is clear text in message transmission , Verification diagram 1-5;
plain It means that the configuration file is in clear text , It can be done by dis th View the configuration information to get password information , Verification diagram 1-6】
[Huawei]interface GigabitEthernet 0/0/0
[Huawei-GigabitEthernet0/0/0]rip authentication-mode simple plain 123
chart 1-5【Src: primary ip Address ;Authentication: authentication ;Password: password 】

chart 1-6[ It can be seen that the configuration is clear text and will plain Switch to cipher It turns the configuration file into ciphertext ]
Now let's look at R2 The routing table for , According to the above idea, now R2 The routing table cannot be viewed 1.1.1.0/24 Of :

Sure enough R1 Of 1.1.1.0/24 Not in R2 In the routing table of , So just for R2 Also on the configuration RIP Verification is enough :
R2:
[Huawei]interface GigabitEthernet 0/0/0
[Huawei-GigabitEthernet0/0/0]rip authentication-mode simple plain 123Now look at R2 The routing table for 【 You can see R2 There's no more R3 Garbage message 】

rip Increase in interface metrics
【 Use the above experiment to complete , here R2 On the routing table 1.1.1.0/24 The measure of is 1】
R2:
matching 1.1.1.0/24 The routing entry for :
[Huawei]acl 2000
[Huawei-acl-basic-2000]rule 5 permit source 1.1.1.0 0.0.0.255
[Huawei-acl-basic-2000]qConfiguration code , by 1.1.1.0/24 Routing increases 1 Measures
[Huawei]interface g0/0/0
[Huawei-GigabitEthernet0/0/0]rip metricin 2000 2see R1 The routing table for 【 You can see 1.0.0.0/24 The measure of the entry has become 3】:

边栏推荐
- Mode in BST (binary tree & Notes on question brushing)
- 【acwing】836. Merge sets
- Managed service network: application architecture evolution in the cloud native Era
- MySQL in-depth learning - index creation and deletion, index design principles, index failure scenarios, query optimization, index push down ICP
- Here comes the Lantern Festival red envelope!
- Thinking of 2022 American College Students' mathematical modeling competition
- 2021 electrician Cup - high speed rail traction power supply system operation data analysis and equivalent modeling ideas + code
- 揭秘技术 Leader 必备的七大清奇脑回路
- 质量体系建设之路的分分合合
- Special information | real estate and office buildings - 22.1.9
猜你喜欢

XSS injection

2022 thinking of mathematical modeling D problem of American college students / analysis of 2022 American competition D problem

2022-2028 global and Chinese equipment as a Service Market Research Report

Managed service network: application architecture evolution in the cloud native Era
![[groovy] closure (closure call | closure default parameter it | code example)](/img/61/754cee9a940fd4ecd446b38c2f413d.jpg)
[groovy] closure (closure call | closure default parameter it | code example)

首席信息官如何利用业务分析构建业务价值?

WeNet:面向工业落地的E2E语音识别工具

Mxnet imports various libcudarts * so、 libcuda*. So not found
![[groovy] closure (Introduction to closure class closure | closure parametertypes and maximumnumberofparameters member usage)](/img/1b/1fa2ebc9a6c5d271c9b39f5e508fb0.jpg)
[groovy] closure (Introduction to closure class closure | closure parametertypes and maximumnumberofparameters member usage)

Wenet: E2E speech recognition tool for industrial implementation
随机推荐
2021 Higher Education Club Cup mathematical modeling national tournament ABCD problem - problem solving ideas
Thematic information | carbon, carbon neutrality, low carbon, carbon emissions - 22.1.9
Neural networks and deep learning Chapter 6: Circular neural networks reading questions
Flutter tips: various fancy nesting of listview and pageview
Practice | mobile end practice
托管式服务网络:云原生时代的应用体系架构进化
PHP reads the INI file and writes the modified content
[popular science] basic knowledge of thermal design: heat dissipation analysis of 5g optical devices
[ideas] 2021 may day mathematical modeling competition / May Day mathematical modeling ideas + references + codes
Thinking of 2022 American College Students' mathematical modeling competition
2022-2028 global and Chinese equipment as a Service Market Research Report
MySQL in-depth learning - index creation and deletion, index design principles, index failure scenarios, query optimization, index push down ICP
Rk3399 platform development series explanation (network debugging) 7.29 summary of network performance tools
Key review route of probability theory and mathematical statistics examination
【acwing】528. cheese
次小生成树
[goweb development] Introduction to authentication modes based on cookies, sessions and JWT tokens
2021 electrician cup (the 12th "China Society of electrical engineering Cup" National Undergraduate electrician mathematical modeling) detailed ideas + codes + references
Difference between singleton and factory pattern
flutter 对象和列表