当前位置:网站首页>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】:

边栏推荐
- History of web page requests
- Live broadcast preview | container service ack elasticity prediction best practice
- How should programmers learn mathematics
- Introduce Hamming distance and calculation examples
- English topic assignment (27)
- Rk3399 platform development series explanation (network debugging) 7.29 summary of network performance tools
- 直播预告 | 容器服务 ACK 弹性预测最佳实践
- [Business Research Report] top ten trends of science and technology and it in 2022 - with download link
- Invalid bound statement (not found) in idea -- problem solving
- 3 minutes learn to create Google account and email detailed tutorial!
猜你喜欢

Construction d'un Cluster redis sous Windows

Is there a sudden failure on the line? How to make emergency diagnosis, troubleshooting and recovery

【acwing】836. Merge sets
![Private collection project practice sharing [Yugong series] February 2022 U3D full stack class 006 unity toolbar](/img/bf/fb4e85143d1461a2026c88cda4a18d.jpg)
Private collection project practice sharing [Yugong series] February 2022 U3D full stack class 006 unity toolbar

Special information | finance, accounting, audit - 22.1.23
![[groovy] closure (closure call is associated with call method | call () method is defined in interface | call () method is defined in class | code example)](/img/03/329adb314606f29c8a4cb2260e84c8.jpg)
[groovy] closure (closure call is associated with call method | call () method is defined in interface | call () method is defined in class | code example)

level18

2021 huashubei mathematical modeling idea + reference + paper
![[groovy] closure (closure as function parameter | code example)](/img/a6/a4ed401acfb61f85eb08daa15a8a80.jpg)
[groovy] closure (closure as function parameter | code example)

windows下Redis-cluster集群搭建
随机推荐
取余操作是一个哈希函数
10 programming habits that web developers should develop
Interface joint commissioning test script optimization V5.0 (end)
Function (error prone)
Matplotlib draws three-dimensional scatter and surface graphs
[AI bulletin 20220211] the hard core up owner has built a lidar and detailed AI accelerator
2022-2028 global and Chinese virtual data storage Market Research Report
2021 electrician cup idea + code - photovoltaic building integration plate index development trend analysis and prediction: prediction planning issues
Group counting notes (1) - check code, original complement multiplication and division calculation, floating point calculation
指针函数(基础)
[crampon game] MC tutorial - first day of survival
The remainder operation is a hash function
SQL set operation
CSDN body auto generate directory
【acwing】528. cheese
Key review route of probability theory and mathematical statistics examination
How should programmers learn mathematics
Decryption function calculates "task state and lifecycle management" of asynchronous task capability
[goweb development] Introduction to authentication modes based on cookies, sessions and JWT tokens
Difference between singleton and factory pattern