2021-7-9d第四次作业
作者:互联网
1、配置ip和环回接口
[r1]int loopback 0
[r1-LoopBack0]ip add 1.1.1.1 24
[r1-LoopBack0]int g0/0/0
[r1-GigabitEthernet0/0/0]ip add 12.1.1.1 24
[r1-GigabitEthernet0/0/0]int g0/0/01
[r1-GigabitEthernet0/0/1]ip add 22.1.1.1 24
[r2]int loopback 0
[r2-LoopBack0]ip add 2.2.2.2 24
[r2-LoopBack0]int g0/0/0
[r2-GigabitEthernet0/0/0]ip add 12.1.1.2 24
[r3]int loopback 0
[r3-LoopBack0]ip add 3.3.3.3 24
[r3-LoopBack0]int g0/0/0
[r3-GigabitEthernet0/0/0]ip add 32.1.1.2 24
[r3-GigabitEthernet0/0/0]int g0/0/01
[r3-GigabitEthernet0/0/1]ip add 42.1.1.1 24
[r4]int loopback 0
[r4-LoopBack0]ip add 4.4.4.4 24
[r4-LoopBack0]int g0/0/00
[r4-GigabitEthernet0/0/0]ip add 42.1.1.2 24
[r4-GigabitEthernet0/0/0]
[r4-GigabitEthernet0/0/0]int g0/0/1
[r4-GigabitEthernet0/0/1]ip add 52.1.1.2 24
[r5]int loopback 0
[r5-LoopBack0]ip add 5.5.5.5 24
[r5-LoopBack0]int g0/0/0
[r5-GigabitEthernet0/0/0]ip add 52.1.1.2 24
[r5-GigabitEthernet0/0/0]int g0/0/1
[r5-GigabitEthernet0/0/1]ip add 62.1.1.1 24
[r6]int loopback 0
[r6-LoopBack0]ip add 6.6.6.6 24
[r6-LoopBack0]int g0/0/0
[r6-GigabitEthernet0/0/0]ip add 62.1.1.2 24
[r7]int lo0
[r7-LoopBack0]ip add 7.7.7.7 24
[r7]int g0/0/0
[r7-GigabitEthernet0/0/0]ip add 22.1.1.2 24
[r7-GigabitEthernet0/0/0]int q
[r7-GigabitEthernet0/0/0]int g0/0/1
[r7-GigabitEthernet0/0/1]ip add 32.1.1.1 24
[r7-GigabitEthernet0/0/1]int q
[r7-GigabitEthernet0/0/1]int g0/0/2
[r7-GigabitEthernet0/0/2]ip add 32.1.1.2 24
2、配置终端等等
现在就是R1 R2 R3 三个之间科一互通了
3、ospf的宣告
标签:24,int,ip,GigabitEthernet0,9d,add,LoopBack0,2021,第四次 来源: https://blog.csdn.net/kygooooo/article/details/118636404