- 在R4上配置单臂路由, PC4\PC6 隶属于 vlan 10 ,PC5\PC7隶属于 vlan 20 ,不同VLAN的pc机可以相互通讯。(5分)
- 在图示区域配置ripv2、配置路由汇总根据(AR1 loopback的情况)(5分)
- 配置多区域ospf (5分)
- 实现全网互通。(5分)
[r1]un info-center enable Info: Information center is disabled. [r1]int g 0/0/1 [r1-GigabitEthernet0/0/1]ip ad [r1-GigabitEthernet0/0/1]ip address 192.168.1.1 24 [r1-GigabitEthernet0/0/1]int g 0/0/0 [r1-GigabitEthernet0/0/0]ip ad [r1-GigabitEthernet0/0/0]ip address 192.168.2.1 24 [r1-GigabitEthernet0/0/0] [r2]int g0/0/0 [r2-GigabitEthernet0/0/0]ip ad [r2-GigabitEthernet0/0/0]ip address 192.168.2.2 24 [r2-GigabitEthernet0/0/0] Nov 27 2022 18:54:32-08:00 r2 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP on the interface GigabitEthernet0/0/0 has entered the UP state.int Nov 27 2022 18:54:33-08:00 r2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25. 191.3.1 configurations have been changed. The current change number is 2, the ch ange loop count is 0, and the maximum number of records is 4095. ^ Error:Incomplete command found at '^' position. [r2-GigabitEthernet0/0/0]int g 0/0/1 [r2-GigabitEthernet0/0/1]ip ad [r2-GigabitEthernet0/0/1]ip address 192.168.3.2 24 [r2-GigabitEthernet0/0/1] [r2]int loo 1 [r2-LoopBack1]ip ad [r2-LoopBack1]ip address 172.16.1.0 32 [r2-LoopBack1]int loo 2 [r2-LoopBack2]ip ad [r2-LoopBack2]ip address 172.16.2.0 32 [r2-LoopBack2]int loo 3 [r2-LoopBack3]ip ad [r2-LoopBack3]ip address 172.16.3.0 32 [r2-LoopBack3]int loo 4 [r2-LoopBack4]ip address 172.16.4.0 32 [r2-LoopBack4] [r3]un [r3]undo in [r3]undo info-center en [r3]undo info-center enable Info: Information center is disabled. [r3]int g 0/0/0 [r3-GigabitEthernet0/0/0]ip ad [r3-GigabitEthernet0/0/0]ip address 192.168.3.3 24 [r3-GigabitEthernet0/0/0]int g 0/0/1 [r3-GigabitEthernet0/0/1]ip ad [r3-GigabitEthernet0/0/1]ip address 192.168.4.3 24 [r3-GigabitEthernet0/0/1] [r4]int g 0/0/0 [r4-GigabitEthernet0/0/0]ip ad [r4-GigabitEthernet0/0/0]int g 0/0/1 [r4-GigabitEthernet0/0/1]ip ad [r4-GigabitEthernet0/0/1]ip address 192.168.4.4 24 [r4-GigabitEthernet0/0/1]int g 0/0/2 [r4-GigabitEthernet0/0/2]ip ad [r4-GigabitEthernet0/0/2]ip address 192.168.5.4 24 [r4-GigabitEthernet0/0/2]q [r4]int loo 0 [r4-LoopBack0]ip ad [r4-LoopBack0]ip address 1.1.1.1 32 [r4-LoopBack0] [r5]int g 0/0/0 [r5-GigabitEthernet0/0/0]ip ad [r5-GigabitEthernet0/0/0]ip address 192.168.5.5 24 [r5-GigabitEthernet0/0/0]int g 0/0/1 [r5-GigabitEthernet0/0/1]ip ad [r5-GigabitEthernet0/0/1]ip address 192.168.6.5 24 [r5-GigabitEthernet0/0/1]int loo 0 [r5-LoopBack0]ip ad [r5-LoopBack0]ip address 2.2.2.2 32 [r5-LoopBack0] [r6]int g0/0/0 [r6-GigabitEthernet0/0/0]ip ad [r6-GigabitEthernet0/0/0]ip address 192.168.6.6 24 [r6-GigabitEthernet0/0/0]int loo 0 [r6-LoopBack0]ip ad [r6-LoopBack0]ip address 192.168.7.0 32 [r6-LoopBack0] [sw1]vlan 10 [sw1-vlan10]vlan 20 [sw1-vlan20]int e0/0/1 [sw1-Ethernet0/0/1]port link [sw1-Ethernet0/0/1]port link-t [sw1-Ethernet0/0/1]port link-type a [sw1-Ethernet0/0/1]port link-type access [sw1-Ethernet0/0/1]por [sw1-Ethernet0/0/1]port def [sw1-Ethernet0/0/1]port default vlan 10 [sw1-Ethernet0/0/1]int e0/0/2 [sw1-Ethernet0/0/2]port [sw1-Ethernet0/0/2]port link-type access [sw1-Ethernet0/0/2]int e0/0/3 [sw1-Ethernet0/0/3]port [sw1-Ethernet0/0/3]port link [sw1-Ethernet0/0/3]port link-t [sw1-Ethernet0/0/3]port link-type t [sw1-Ethernet0/0/3]port link-type trunk [sw1-Ethernet0/0/3]por [sw1-Ethernet0/0/3]port tr [sw1-Ethernet0/0/3]port trunk al [sw1-Ethernet0/0/3]port trunk allow-pass vlan all [sw1-Ethernet0/0/3]int e0/0/4 [sw1-Ethernet0/0/4]port link-type trunk [sw1-Ethernet0/0/4]port trunk allow-pass vlan all [sw1-Ethernet0/0/4]int g0/0/1 [sw1-GigabitEthernet0/0/1]por [sw1-GigabitEthernet0/0/1]port link [sw1-GigabitEthernet0/0/1]port link-t [sw1-GigabitEthernet0/0/1]port link-type t [sw1-GigabitEthernet0/0/1]port link-type trunk [sw1-GigabitEthernet0/0/1]por [sw1-GigabitEthernet0/0/1]port tr [sw1-GigabitEthernet0/0/1]port trunk al [sw1-GigabitEthernet0/0/1]port trunk allow-pass vlan all [sw1-GigabitEthernet0/0/1]int e0/0/2 [sw1-Ethernet0/0/2]por [sw1-Ethernet0/0/2]port de [sw1-Ethernet0/0/2]port default vlan 20 [sw1-Ethernet0/0/2] [sw2]por [sw2]port li [sw2]port lin [sw2]int e0/0/1 [sw2-Ethernet0/0/1]por [sw2-Ethernet0/0/1]port li [sw2-Ethernet0/0/1]port link-t [sw2-Ethernet0/0/1]port link-type a [sw2-Ethernet0/0/1]port link-type access [sw2-Ethernet0/0/1]int e0/0/2 [sw2-Ethernet0/0/2]port li [sw2-Ethernet0/0/2]port link-t [sw2-Ethernet0/0/2]port link-type a [sw2-Ethernet0/0/2]port link-type access [sw2-Ethernet0/0/2]de [sw2-Ethernet0/0/2]port [sw2-Ethernet0/0/2]port de [sw2-Ethernet0/0/2]port default vlan 20 Error: The VLAN does not exist. [sw2-Ethernet0/0/2]q [sw2]vlan 10 [sw2-vlan10]vlan 20 [sw2-vlan20]int e0/0/2 [sw2-Ethernet0/0/2]port default vlan 20 [sw2-Ethernet0/0/2]int e0/0/1 [sw2-Ethernet0/0/1]port default vlan 10 [sw2-Ethernet0/0/1]int e0/0/4 [sw2-Ethernet0/0/4]por [sw2-Ethernet0/0/4]port li [sw2-Ethernet0/0/4]port link-t [sw2-Ethernet0/0/4]port link-type t [sw2-Ethernet0/0/4]port link-type trunk [sw2-Ethernet0/0/4]port tr [sw2-Ethernet0/0/4]port trunk al [sw2-Ethernet0/0/4]port trunk allow-pass vlan all [sw2-Ethernet0/0/4]int e0/0/3 [sw2-Ethernet0/0/3]port link-type trunk [sw2-Ethernet0/0/3]port trunk allow-pass vlan all [sw2-Ethernet0/0/3] 单臂 [r4]int g0/0/0.1 [r4-GigabitEthernet0/0/0.1]ip ad [r4-GigabitEthernet0/0/0.1]ip address 10.1.1.254 24 [r4-GigabitEthernet0/0/0.1]do [r4-GigabitEthernet0/0/0.1]dot1q te [r4-GigabitEthernet0/0/0.1]dot1q termination vi [r4-GigabitEthernet0/0/0.1]dot1q termination vid 10 [r4-GigabitEthernet0/0/0.1]arp br [r4-GigabitEthernet0/0/0.1]arp broadcast en [r4-GigabitEthernet0/0/0.1]arp broadcast enable [r4-GigabitEthernet0/0/0.1]int g0/0/0.2 [r4-GigabitEthernet0/0/0.2]ip ad [r4-GigabitEthernet0/0/0.2]ip address 20.1.1.254 24 [r4-GigabitEthernet0/0/0.2]do [r4-GigabitEthernet0/0/0.2]dot1q t [r4-GigabitEthernet0/0/0.2]dot1q termination v [r4-GigabitEthernet0/0/0.2]dot1q termination vid 20 [r4-GigabitEthernet0/0/0.2]arp br [r4-GigabitEthernet0/0/0.2]arp broadcast en [r4-GigabitEthernet0/0/0.2]arp broadcast enable [r4-GigabitEthernet0/0/0.2] rip: [r1]rip [r1-rip-1]vers [r1-rip-1]version 2 [r1-rip-1]ne [r1-rip-1]network 192.168.3.0 [r1-rip-1]ne [r1-rip-1]network 172.16.0.0 [r1-rip-1]q [r1]int g0/0/1 [r1-GigabitEthernet0/0/1]rip s [r1-GigabitEthernet0/0/1]rip su [r1-GigabitEthernet0/0/1]rip summary-address 172.16.0.0 255.255.255.0 [r1-GigabitEthernet0/0/1] //上述配置到r2如下 [r2]rip [r2-rip-1]vers [r2-rip-1]version 2 [r2-rip-1]ne [r2-rip-1]network 192.168.3.0 [r2-rip-1]network 172.16.0.0 [r2-rip-1]q [r2]int g 0/0/1 [r2-GigabitEthernet0/0/1]rip sum [r2-GigabitEthernet0/0/1]rip summary-address 172.16.0.0 ^ Error:Incomplete command found at '^' position. [r2-GigabitEthernet0/0/1]rip summary-address 172.16.0.0 255.255.252.0 [r2-GigabitEthernet0/0/1] [r4]rip [r4-rip-1]vers [r4-rip-1]version 2 [r4-rip-1]ne [r4-rip-1]network 192.168.4.0 [r4-rip-1]ne [r4-rip-1]network 1.0.0.0 [r4-rip-1]q [r4]ospf [r4]ospf 1 [r4-ospf-1]are [r4-ospf-1]area 0 [r4-ospf-1-area-0.0.0.0]ne [r4-ospf-1-area-0.0.0.0]network 192.168.5.0 0.0.0.255 [r4-ospf-1-area-0.0.0.0]ne [r4-ospf-1-area-0.0.0.0]network 1.1.1.1 0.0.0.0 [r4-ospf-1-area-0.0.0.0] [r4-ospf-1-area-0.0.0.0]network 192.168.5.0 0.0.0.255 [r4-ospf-1-area-0.0.0.0]ne [r4-ospf-1-area-0.0.0.0]network 1.1.1.1 0.0.0.0 [r3]rip [r3-rip-1]vers [r3-rip-1]version 2 [r3-rip-1]ne [r3-rip-1]network 192.168.3.0 [r3-rip-1]network 192.168.4.0 Error: The specified network already exists in the process. [r3-rip-1] [r5]ospf 1 [r5-ospf-1]ne [r5-ospf-1]area 0 [r5-ospf-1-area-0.0.0.0]ne [r5-ospf-1-area-0.0.0.0]network 192.168.5.0 0.0.0.255 [r5-ospf-1-area-0.0.0.0]ne [r5-ospf-1-area-0.0.0.0]network 2.2.2.2 0.0.0.0 [r5-ospf-1-area-0.0.0.0]area 1 [r5-ospf-1-area-0.0.0.1]ne [r5-ospf-1-area-0.0.0.1]network 192.168.6.0 0.0.0.255 [r5-ospf-1-area-0.0.0.1] [r6]ospf 1 [r6-ospf-1]area [r6-ospf-1]area 1 [r6-ospf-1-area-0.0.0.1]ne [r6-ospf-1-area-0.0.0.1]network 192.168.6.0 0.0.0.255 [r6-ospf-1-area-0.0.0.1]ne [r6-ospf-1-area-0.0.0.1]network 3.3.3.3 0.0.0.0 [r6-ospf-1-area-0.0.0.1]ne [r6-ospf-1-area-0.0.0.1]network 192.168.7.0 0.0.0.0 [r6-ospf-1-area-0.0.0.1] [r4]rip [r4-rip-1]im [r4-rip-1]import-route so [r4-rip-1]import-route os [r4-rip-1]import-route ospf 1 [r4-rip-1]ospf 1 [r4-ospf-1]im [r4-ospf-1]import-route rip [r4-ospf-1]import-route rip 1 [r4-ospf-1] [r2]ip route-static 20.1.1.0 24 192.168.4.4 [r2]ip route-static 10.1.1.0 24 192.168.4.4 [r3]ip route-static 20.1.1.0 24 192.168.4.4 [r3]ip route-static 10.1.1.0 24 192.168.4.4 [r3] [r5]ip route-static 10.1.1.0 24 192.168.5.4 [r5]ip route-static 20.1.1.0 24 192.168.5.4 [r6]ip route-static 10.1.1.0 24 192.168.6.5 [r6]ip route-static 20.1.1.0 24 192.168.6.5 [r1]ip route-static 0.0.0.0 0 192.168.2.2 [r1] [r2]rip [r2-rip-1]im [r2-rip-1]import-route di [r2-rip-1]import-route direct [r2]ip route-static 192.168.1.0 24 192.168.2.1 pc1 10.1.1.4 wg 10.1.1.254 pc2 20.1.1.5 wg20.1.1.254 pc3 10.1.1.6 10.1.1.254 pc4 20.1.1.7 20.1.1.254