WT
CCNA实验文档——OSPF路由实验
2018.01.23
一、实验环境
系统版本 |
Windows 10 专业版 64位 (10.0,版本 16299) |
GNS3版本 |
GNS3 1.5.3 |
CRT版本 |
Version 7.0.0 (x64 build 326) |
二、实验拓扑
三、实验要求
1. PC1在LAN1中,PC2在LAN2中,配置OSPF协议实现两个LAN中的PC能够通信;
2. 使用Loopback口模拟LAN内的某一网段;PC1和PC2与Loopback口能够通信;
3. OSPF进程号 100 Area 0
IP分配情况表:
PC1 |
网关:10.10.10.254/24 |
IP:10.10.10.1/24 |
|
PC2 |
网关:10.10.20.254/24 |
IP:10.0.20.1/24 |
|
R1 |
F0/0:10.10.10.254/24 |
F0/1:10.12.12.1/30 |
Lo0:172.16.10.1/24 |
R2 |
F0/1:10.12.12.2/30 |
F0/0:10.23.23.1/30 |
Lo0:172.16.20.1/24 |
R3 |
F0/1:10.23.23.2/30 |
F0/0:10.10.20.254 |
Lo0:172.16.30.1/24 |
四、实验设备基础配置
PC1: ip 10.10.10.1/24 10.10.10.254 |
PC2: ip 10.10.20.1/24 10.10.20.254 |
R1: configure terminal interface fastEthernet 0/0 ip address 10.10.10.254 255.255.255.0 no shutdown exit
interface fastEthernet 0/1 ip address 10.12.12.1 255.255.255.252 no shutdown exit
interface loopback 0 ip address 172.16.10.1 255.255.255.0 no shutdown exit |
R2: configure terminal interface fastEthernet 0/1 ip address 10.12.12.2 255.255.255.252 no shutdown exit
interface fastEthernet 0/0 ip address 10.23.23.1 255.255.255.252 no shutdown exit
interface loopback 0 ip address 172.16.20.1 255.255.255.0 no shutdown exit |
R3: configure terminal interface fastEthernet 0/1 ip address 10.23.23.2 255.255.255.252 no shutdown exit
interface fastEthernet 0/0 ip address 10.10.20.254 255.255.255.0 no shutdown exit
interface loopback 0 ip address 172.16.30.1 255.255.255.0 no shutdown exit |
五、实验设备邻居连通性
六、实验设备的OSPF配置
R1: router ospf 100 router-id 1.1.1.1 network 10.10.10.254 0.0.0.0 area 0 network 10.12.12.1 0.0.0.0 area 0 network 172.16.10.1 0.0.0.0 area 0 exit |
R2: router ospf 100 router-id 2.2.2.2 network 10.23.23.1 0.0.0.0 area 0 network 10.12.12.2 0.0.0.0 area 0 network 172.16.20.1 0.0.0.0 area 0 exit |
R3: router ospf 100 router-id 3.3.3.3 network 10.10.20.254 0.0.0.0 area 0 network 10.23.23.2 0.0.0.0 area 0 network 172.16.30.1 0.0.0.0 area 0 exit |
七、实现实验需求的效果
查看故障命令:
Show ip interface brief
Show ip ospf neighbor
Show ip route
Show ip route ospf八、实验感想总结
这虽然是个相对来讲比较简单的实验,但是希望能够通过实验,使得对OSPF的邻居建立过程有一定的了解