实验.........
作者:互联网
配置基本路由信息:
[R1]interface g0/0/0
[R1-GigabitEthernet0/0/0]ip address 172.16.0.105 29
[R1-GigabitEthernet0/0/0]int l 0
[R1-LoopBack0]ip address 172.16.0.1 29
[R2]int g0/0/0
[R2-GigabitEthernet0/0/0]ip address 162.16.0.106 29
[R2-GigabitEthernet0/0/0]int l 0
[R2-LoopBack0]ip address 172.16.0.9 29
[R3]interface g0/0/0
[R3-GigabitEthernet0/0/0]ip address 172.16.0.107 29
[R3-GigabitEthernet0/0/0]int l 0
[R3-LoopBack0]ip address 172.16.0.17 29
[R3]int Serial 4/0/0
[R3-Serial4/0/0]ip address 172.16.0.113 29
[ISP]int l 0
[ISP-LoopBack0]ip address 172.16.0.25 29
[ISP-LoopBack0]q
[ISP]int Serial 4/0/0
[ISP-Serial4/0/0]ip address 172.16.0.114 29
[ISP-Serial4/0/0]int Serial 4/0/1
[ISP-Serial4/0/1]ip address 172.16.0.122 29
[ISP-Serial4/0/1]int Serial 3/0/0
[ISP-Serial3/0/0]ip address 172.16.0.130 29
[ISP-Serial3/0/0]int g0/0/0
[ISP-GigabitEthernet0/0/0]ip address 172.16.0.138 29
[R5]int Serial 4/0/0
[R5-Serial4/0/0]ip address 172.16.0.121 29
[R5-Serial4/0/0]int l 0
[R5-LoopBack0]ip address 172.16.0.33 29
[R6]int Serial 4/0/0
[R6-Serial4/0/0]ip address 172.16.0.129 29
[R6-Serial4/0/0]int l 0
[R6-LoopBack0]ip address 172.16.0.41 29
[R6]int g0/0/0
[R6-GigabitEthernet0/0/0]ip address 172.16.0.169 29
[R7]interface g0/0/0
[R7-GigabitEthernet0/0/0]ip address 172.16.0.137 29
[R7-GigabitEthernet0/0/0]int l 0
[R7-LoopBack0]ip address 172.16.0.49 29
[R7-LoopBack0]int g0/0/1
[R7-GigabitEthernet0/0/1]ip address 172.16.0.145 29
[R8]int g0/0/0
[R8-GigabitEthernet0/0/0]ip address 172.16.0.146 29
[R8-GigabitEthernet0/0/0]int g0/0/1
[R8-GigabitEthernet0/0/1]ip address 172.16.0.153 29
[R8-GigabitEthernet0/0/1]int l0
[R8-LoopBack0]ip address 172.16.0.57 29
[R9]int g0/0/0
[R9-GigabitEthernet0/0/0]ip address 172.16.0.154 29
[R9-GigabitEthernet0/0/0]int g0/0/1
[R9-GigabitEthernet0/0/1]ip address 172.16.0.161 29
[R9-GigabitEthernet0/0/1]int l 0
[R9-LoopBack0]ip address 172.16.0.65 29
[R10]int g0/0/0
[R10-GigabitEthernet0/0/0]ip address 172.16.0.162 29
[R10-GigabitEthernet0/0/0]int l 0
[R10-LoopBack0]ip address 172.16.0.73 29
[R11]int g0/0/0
[R11-GigabitEthernet0/0/0]ip address 172.16.0.170 29
[R11-GigabitEthernet0/0/0]int g0/0/1
[R11-GigabitEthernet0/0/1]ip address 172.16.0.177 29
[R11-GigabitEthernet0/0/1]int l 0
[R11-LoopBack0]ip address 172.16.0.81 29
[R12]int g0/0/0
[R12-GigabitEthernet0/0/0]ip address 172.16.0.178 29
[R12]int l 0
[R12-LoopBack0]ip address 192.168.1.1 24
[R12-LoopBack0]int l 1
[R12-LoopBack1]ip address 192.168.2.1 24
管道
[R3]int t0/0/0
[R3-Tunnel0/0/0]ip address 172.16.0.185 29
[R3-Tunnel0/0/0]tunnel-protocol gre p2mp
[R3-Tunnel0/0/0]source 172.16.0.113
[R3-Tunnel0/0/0]nhrp network-id 100
[R5]int t0/0/0
[R5-Tunnel0/0/0]ip address 172.16.0.186 29
[R5-Tunnel0/0/0]tunnel-protocol gre p2mp
[R5-Tunnel0/0/0]source Serial 4/0/0
[R5-Tunnel0/0/0]nhrp network-id 100
[R5-Tunnel0/0/0]nhrp entry 172.16.0.185 172.16.0.113 register
[R6]int t0/0/0
[R6-Tunnel0/0/0]ip address 172.16.0.187 29
[R6-Tunnel0/0/0]tunnel-protocol gre p2mp
[R6-Tunnel0/0/0]source Serial 4/0/0
[R6-Tunnel0/0/0]nhrp network-id 100
[R6-Tunnel0/0/0]nhrp entry 172.16.0.185 172.16.0.113 register
[R7]int t0/0/0
[R7-Tunnel0/0/0]ip address 172.16.0.188 29
[R7-Tunnel0/0/0]tunnel-protocol gre p2mp
[R7-Tunnel0/0/0]source g0/0/0
[R7-Tunnel0/0/0]nhrp network-id 100
[R7-Tunnel0/0/0]nhrp entry 172.16.0.185 172.16.0.113 register
[R3]ip route-static 0.0.0.0 0 172.16.0.114
[R5]ip route-static 0.0.0.0 0 172.16.0.122
[R6]ip route-static 0.0.0.0 0 172.16.0.130
[R7]ip route-static 0.0.0.0 0 172.16.0.138
[R3-Tunnel0/0/0]nhrp entry multicast dynamic
[R3-Tunnel0/0/0]ospf network-type broadcast
[R5-Tunnel0/0/0]ospf dr-priority 0
[R5-Tunnel0/0/0]ospf network-type broadcast
[R6-Tunnel0/0/0]ospf dr-priority 0
[R6-Tunnel0/0/0]ospf network-type broadcast
[R7-Tunnel0/0/0]ospf dr-priority 0
[R7-Tunnel0/0/0]ospf network-type broadcast
MGRE宣告
[R3]ospf 1 router-id 3.3.3.3
[R3-ospf-1]area 0
[R3-ospf-1-area-0.0.0.0]network 172.168.0.113 0.0.0.0
[R3-ospf-1-area-0.0.0.0]network 172.168.0.185 0.0.0.0
[R5]ospf 1 router-id 5.5.5.5
[R5-ospf-1]area 0
[R5-ospf-1-area-0.0.0.0]network 172.16.0.121 0.0.0.0
[R5-ospf-1-area-0.0.0.0]network 172.16.0.33 0.0.0.7
[R5-ospf-1-area-0.0.0.0]network 172.16.0.186 0.0.0.0
[R6]ospf 1 router-id 6.6.6.6
[R6-ospf-1]area 0
[R6-ospf-1-area-0.0.0.0]network 172.16.0.40 0.0.0.7
[R6-ospf-1-area-0.0.0.0]network 172.16.0.129 0.0.0.0
[R6-ospf-1-area-0.0.0.0]network 172.16.0.187 0.0.0.0
[R7]ospf 1 router-id 7.7.7.7
[R7-ospf-1]area 0
[R7-ospf-1-area-0.0.0.0]network 172.16.0.48 0.0.0.7
[R7-ospf-1-area-0.0.0.0]network 172.16.0.188 0.0.0.0、
area4重发布
[R10]ospf 1 router-id 10.10.10.10
[R10-ospf-1]area 4
[R10-ospf-1-area-0.0.0.4]network 172.16.0.72 0.0.0.7
[R10-ospf-1-area-0.0.0.4]network 172.16.0.162 0.0.0.0
[R9]ospf 2 router-id 9.9.9.9
[R9-ospf-2]area 4
[R9-ospf-2-area-0.0.0.4] network 172.16.0.64 0.0.0.7
[R9-ospf-2-area-0.0.0.4]network 172.16.0.161 0.0.0.0
[R9]ospf 2 router-id 9.9.9.9
[R9-ospf-2]import-route ospf 1
[R9-ospf-2]ospf 1 router-id 9.9.9.9
[R9-ospf-1]import-route ospf 2
area3的宣告
[R9-ospf-1]area 3
[R9-ospf-1-area-0.0.0.3]network 172.16.0.154 0.0.0.0
[R8]ospf 1 router-id 8.8.8.8
[R8-ospf-1]area 3
[R8-ospf-1-area-0.0.0.3]network 172.16.0.56 0.0.0.7
[R8-ospf-1-area-0.0.0.3]network 172.16.0.146 0.0.0.0
[R8-ospf-1-area-0.0.0.3]network 172.16.0.153 0.0.0.0
[R7]ospf 1 router-id 7.7.7.7
[R7-ospf-1]area 3
[R7-ospf-1-area-0.0.0.3]network 172.16.0.145 0.0.0.0
area1的宣告
[R1]ospf 1 router-id 1.1.1.1
[R1-ospf-1]area 1
[R1-ospf-1-area-0.0.0.1]network 172.16.0.0 0.0.0.7
[R1-ospf-1-area-0.0.0.1]network 172.16.0.105 0.0.0.0
[R2]ospf 1 router-id 2.2.2.2
[R2-ospf-1]area 1
[R2-ospf-1-area-0.0.0.1]network 172.16.0.8 0.0.0.7
[R2-ospf-1-area-0.0.0.1]network 172.16.0.106 0.0.0.0
[R3-ospf-1]area 1
[R3-ospf-1-area-0.0.0.1]network 172.16.0.16 0.0.0.7
[R3-ospf-1-area-0.0.0.1]network 172.16.0.107 0.0.0.0
area2的宣告和重发布
[R6]ospf 1 router-id 6.6.6.6
[R6-ospf-1]area 2
[R6-ospf-1-area-0.0.0.2]network 172.16.0.169 0.0.0.0
[R11]ospf 1 router-id 11.11.11.11
[R11-ospf-1]area 2
[R11-ospf-1-area-0.0.0.2]network 172.16.0.80 0.0.0.7
[R11-ospf-1-area-0.0.0.2]network 172.16.0.170 0.0.0.0
[R11-ospf-1-area-0.0.0.2]network 172.16.0.177 0.0.0.0
[R12]ospf 1 router-id 12.12.12.12
[R12-ospf-1]area 2
[R12-ospf-1-area-0.0.0.2]network 172.16.0.178 0.0.0.0
[R12-rip-1]network 192.168.1.0
[R12-rip-1]network 192.168.2.0
[R12]rip
[R12-rip-1]import-route ospf 1
[R12]ospf 1 router-id 12.12.12.12
[R12-ospf-1]import-route rip 1
汇总:
[R12-GigabitEthernet0/0/0]rip summary-address 192.168.0.0 255.255.252.0
[R12]ip route-static 192.168.0.0 23 NULL 0
[R3-ospf-1-area-0.0.0.1]abr-summary 172.16.0.0 255.255.224.0
[R6-ospf-1-area-0.0.0.2]abr-summary 172.16.0.0 255.255.192.0
[R7-ospf-1-area-0.0.0.3]abr-summary 172.16.0.0 255.255.192.0
[R9-ospf-1-area-0.0.0.4]asbr-summary 172.16.0.0 255.255.192.0
[R12-ospf-1]asbr-summary 192.168.0.0 255.255.252.0
标签:ip,network,area,0.0,.........,实验,172.16,ospf 来源: https://blog.csdn.net/joy_JQ/article/details/122568428