当前位置:网站首页>OSPF comprehensive experiment (7.12)
OSPF comprehensive experiment (7.12)
2022-07-28 08:05:00 【Unknown percentage】
Purpose :
One 、 First, realize the third requirement
![]()
1、 To configure r4 Loopback
[r4]interface LoopBack 0
[r4-LoopBack0]ip address 4.4.4.4 24
2、 be based on 192.168.1. 0 24 Conduct Subnet partition
2 Net segment + Three loops
192.168.1.0 24 For backbone 192.168.1.0 29 192.168.1.8 29
R1 Loopback :192.168.1.64 26---192.168.1.64 27 192.168.1.80 27
R2 Loopback :92.168.1.128 26---192.168.1.128 27 192.168.1.144 27
R3 Loopback :192.168.1.192 26---192.168.1.192 27 192.168.1.208 27
3、 Specifically To configure ip And loopback
R1:
[r1]interface gi 0/0/0
[r1-GigabitEthernet0/0/0]ip address 192.168.1.1 29
[r1-GigabitEthernet0/0/0]q
[r1]interface LoopBack 0
[r1-LoopBack0]ip address 192.168.1.65 26R2:
[r2]interface GigabitEthernet 0/0/0
[r2-GigabitEthernet0/0/0]ip address 192.168.1.2 29
[r2]interface LoopBack 0
[r2-LoopBack0]ip address 192.168.1.129 26R3:
[r3]interface GigabitEthernet 0/0/0
[r3-GigabitEthernet0/0/0]ip address 192.168.1.3 29
[r3-GigabitEthernet0/0/1]q
[r3]interface LoopBack 0
[r3-LoopBack0]ip address 192.168.1.193 26R4:
[r4]interface GigabitEthernet 0/0/0
[r4-GigabitEthernet0/0/0]ip address 192.168.1.9 29 Two 、 Achieve the first requirement 

1、 start-up ospf Protocol and divide the interfaces into corresponding areas
R1: Both interface and loopback are in the area 0
[r1]ospf 1 router-id 1.1.1.1
[r1-ospf-1]area 0
[r1-ospf-1-area-0.0.0.0]network 192.168.1.1 0.0.0.0
[r1-ospf-1-area-0.0.0.0]network 192.168.1.65 0.0.0.0R2: Both interface and loopback are in the area 0
[r2]ospf 1 router-id 2.2.2.2
[r2-ospf-1]area 0
[r2-ospf-1-area-0.0.0.0]network 192.168.1.2 0.0.0.0
[r2-ospf-1-area-0.0.0.0]network 192.168.1.129 0.0.0.0R3: Both the left interface and loopback are in the area 0 Right interface · In area 1
[r3]ospf 1 router-id 3.3.3.3
[r3-ospf-1]area 0
[r3-ospf-1-area-0.0.0.0]network 192.168.1.3 0.0.0.0
[r3-ospf-1-area-0.0.0.0]network 192.168.1.193 0.0.0.0
[r3-ospf-1-area-0.0.0.0]q
[r3-ospf-1]area 1
[r3-ospf-1-area-0.0.0.1]ne
[r3-ospf-1-area-0.0.0.1]network 192.168.1.13 0.0.0.0R4: Both interface and loopback are in the area 1 also r4 Loopback cannot declare
[r4]ospf 1 router-id 4.4.4.4
[r4-ospf-1]area 1
[r4-ospf-1-area-0.0.0.1]network 192.168.1.9 0.0.0.03、 ... and 、 Realize the third requirement
![]()
R1:
[r1]interface GigabitEthernet 0/0/0
[r1-GigabitEthernet0/0/0]ospf dr-priority 0R2:
[r2]interface gi 0/0/0
[r2-GigabitEthernet0/0/0]ospf dr-priority 0 After completion ::


Four 、 Realize the fourth requirement
![]()
1、r4 You can't directly declare ( Default route )
[r4]ospf
[r4-ospf-1]default-route-advertise always 2、 test (ping)
<r1>ping 4.4.4.4
PING 4.4.4.4: 56 data bytes, press CTRL_C to break
Reply from 4.4.4.4: bytes=56 Sequence=1 ttl=254 time=50 ms
Reply from 4.4.4.4: bytes=56 Sequence=2 ttl=254 time=60 ms
Reply from 4.4.4.4: bytes=56 Sequence=3 ttl=254 time=50 ms
Reply from 4.4.4.4: bytes=56 Sequence=4 ttl=254 time=70 ms
Reply from 4.4.4.4: bytes=56 Sequence=5 ttl=254 time=50 ms
--- 4.4.4.4 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 50/56/70 ms3、 Keep updates safe ( Manual certification )
r1~r2~r3
[r1-GigabitEthernet0/0/0]ospf authentication-mode md5 1 cipher 123
[r2-GigabitEthernet0/0/0]ospf authentication-mode md5 1 cipher 123
[r3-GigabitEthernet0/0/0]ospf authentication-mode md5 1 cipher 12
r3~r4
[r3-GigabitEthernet0/0/1]ospf authentication-mode md5 1 cipher 456
[r4-GigabitEthernet0/0/0]ospf authentication-mode md5 1 cipher 456
4、 Avoid loops ( Empty interface routing )
r1:[r1]ip route-static 192.168.1.64 26 NULL 0
r2:[r1]ip route-static 192.168.1.128 26 NULL 0
r3:[r1]ip route-static 192.168.1.192 26 NULL 0
r4:[r1]ip route-static 4.4.4.0 NULL 0
5、 Reduce the number of routing entries ( Manual summary )
[r3]ospf
[r3-ospf-1]area 0
[r3-ospf-1-area-0.0.0.0]abr-summary 192.168.1.0 255.255.255.0边栏推荐
- DNA cuinseqds near infrared CuInSe quantum dots wrapped deoxyribonucleic acid DNA
- Qt多线程中槽函数在哪个线程里执行分析
- Tensorflow uses deep learning (II)
- Redis of non relational database [detailed setup of redis cluster]
- Brief introduction to ThreadLocal class
- Opentsdb time series database
- 2022/7/27 考试总结
- 近红外二区AgzS量子点包裹脱氧核糖核酸DNA|DNA-AgzSQDs(齐岳)
- Use ffmpeg to generate single image + single audio streaming video in batches
- In QT multithreading, in which thread does the slot function perform analysis
猜你喜欢

Copper indium sulfide CuInSe2 quantum dots modified DNA (deoxyribonucleic acid) DNA cuinse2qds (Qiyue)

Matplotlib绘图笔记基础直线、折线、曲线

Flowable workflow all business concepts

Delete the nodes in the linked list - daily question
![Redis of non relational database [detailed setup of redis cluster]](/img/0b/bd05fb91d17f6e0dc9f657a4047ccb.png)
Redis of non relational database [detailed setup of redis cluster]

【17】建立数据通路(上):指令+运算=CPU

EMC rectification method set
![[300 + selected interview questions from big companies continued to share] big data operation and maintenance sharp knife interview question column (VIII)](/img/86/8e97b4456e2ba9a8535debb099fee0.png)
[300 + selected interview questions from big companies continued to share] big data operation and maintenance sharp knife interview question column (VIII)
![Chapter 01 introduction of [notes of Huashu]](/img/11/cc405a730822305f02f05678f6a9d1.png)
Chapter 01 introduction of [notes of Huashu]

Elaborate on common mode interference and differential mode interference
随机推荐
机械革命蛟龙p有线网卡驱动打不上
Don't be afraid of ESD static electricity. This article tells you some solutions
[Google] solve the problem that Google browser does not pop up the account and password save box and cannot save login information
【17】建立数据通路(上):指令+运算=CPU
What if the task manager is not fully displayed?
DNA modified noble metal nanoparticles | DNA deoxyribonucleic acid modified metal palladium Pd nanoparticles pdnps DNA
DNA-Ag2SQDs脱氧核糖核酸DNA修饰硫化银Ag2S量子点的合成方法
[300 + selected interview questions from big companies continued to share] big data operation and maintenance sharp knife interview question column (VIII)
EMC rectification method set
(Reprinted) plantuml Quick Guide
node(一)
Using identity framework to realize JWT identity authentication and authorization in.Net 6.0
MPLS -- multi protocol label switching technology
Talk about synchronous, asynchronous, blocking and non blocking
【google】解决google浏览器不弹出账号密码保存框且无法保存登录信息问题
win系统添加打印机
Basic dictionary of deep learning --- activation function, batch size, normalization
03 | project deployment: how to quickly deploy a website developed based on the laravel framework
2022年湖南工学院ACM集训第五次周测AD题题解
Autodesk desktop licensing service error 1067 handling method