ospf实验笔记(三)
2009-03-12 17:56
351 查看
ospf实验分步作(三)内容:OSPF实验8:OSPF Network Type LoopbackOSPF实验9:OSPF Virtual Links - Repairing Area 0OSPF实验8:OSPF Network Type Loopback Objective: Configure OSPF area 0 . the Ethernet and Loopback0 interfaces ofR1 andR2. The Loopback networks should appear in the routing table with a mask of /8 拓扑:(实验拓扑来自IEWB)
配置参考R1 e0/0 10.0.0.1/8R2 e0/0 10.0.0.2/8R1 Loopback0 1.1.1.1/8R2 Loopback0 2.2.2.2/8All interface to area 0Examine the routing tables or R1 and R2 and note the mask of the OSPFroutes to the Loopback interfacesConfigure the OSPF network type point-to-point . R1 and R2'sLoopback0 interfaces模拟器ospf8.net配置# OSPF实验8:OSPF Network Type Loopbackautostart = Falseeghostios = truesparsemem = True[localhost]port = 7200udp = 11000workingdir = ..\tmp\[[3640]]image = ..\IOS\unzip-c3640-ik9o3s-mz.124-10.binmodel = 3640idlepc = 0x605c9218exec_area = 64confreg = 0x2142# mmap = Falseram = 256slot0 = NM-1E[[router R1]]model = 3640console = 3001exec_area = 64e0/0 = SW 1[[router R2]]console = 3002model = 3640exec_area = 64e0/0 = SW 2[[ethsw SW]]1 = access 12 = access 1配置R1上的配置
R2上的配置
在R1和R2上的loopback接口缺省的网络类型为都LOOPBACK。接口被视为“a stub host”
检查路由表,结果回环地址被当作一台主机地址,掩码位32,无论回环接口的掩码是多少。
下面把R1和R2接口的网络类型都设置成point-to-point。如红色方框内配置。(这里列出R1的配置)。
再检查路由表如下:
R1中通过OSPF学习到的路由条目:2.0.0.0/8 ,这里的掩码是8位。这是R2路由器loopback0 接口上实际掩码位。这是因为你在loopback0接口上配置了OSPF类型为point-to-point。不再视为主机地址。
R2中对2.0.0.0/8的解释与上面类同。OSPF实验9:OSPF Virtual Links - Repairing Area 0 Objective: Configure the OSPF domain between R1, R2, R3, R4, and R5 perthe diagram. Ensure that connectivity is maintained between R4 andR5 if the link between R1 and R2 is down
配置参考按上图配置R1, R2, R3, R4, R5的IP地址 。配置帧中继封装R1 s1/0,R2 s1/0,配置 R1 和R2 三层到二层的映射。配置R1和R4之间 VLAN 4 网段,R2和R5之间的VLAN B,R1和R2之间的帧中继网段都划分到OSPF 区域0 R1 ,R2的S1/0 : OSPF network type: point-to-point配置 R1 & R3 and R2 & R3 为area 1用R1 E0/0 ,R2 E0/0 上接口的IP地址分步作为R1和R2的ospf router-id 在R1与R2之间area 1内配置OSPF 虚拟链路 。模拟器ospf9.net内容autostart = Falseeghostios = truesparsemem = True[localhost]port = 7200udp = 11000workingdir = ..\tmp\[[3640]]image = ..\IOS\unzip-c3640-ik9o3s-mz.124-10.binmodel = 3640idlepc = 0x605c9218exec_area = 64confreg = 0x2142# mmap = Falseram = 256slot0 = NM-1Eslot1 = NM-4T[[router R1]]model = 3640console = 3001exec_area = 64e0/0 = SW 1S1/0 = FR1 1s1/1 = R3 S1/2[[router R2]]console = 3002model = 3640exec_area = 64e0/0 = SW 3s1/0 = FR1 2S1/1 = R3 S1/3[[router R3]]console = 3003model = 3640exec_area = 64[[router R4]]console = 3004model = 3640exec_area = 64E0/0 = SW 2[[router R5]]console = 3005model = 3640exec_area = 64E0/0 = SW 4[[ethsw SW]]1 = access 2 #VLAN A2 = access 23 = access 3 #VLAN B4 = access 3 [[FRSW FR1]]1:102 = 2:201设备配置R1上的最终配置
R2上的最终配置
R3上的最终配置
R4上的最终配置
R5上的最终配置
检查路由没有配置虚拟链路前用Show ip ospf neighbor 来显示OSPF 邻居
检查各个设备路由情况
这时如果帧中继链路故障,则会出现两个area 0,在R4上PING不通R5上E0/0的IP地址,在R5上PING不通R4上E0/0的IP。
R1上没有25.0.0.0/8网络的路由。
R2上没有14.0.0.0/8网络的路由.
R1和R2都属于ABR,连接area 0 和area 1,虚拟链路总是建立在ABR路由器之间。在每一台ABR路由器的OSPF配置通过area virtual-link命令来配置,指定虚拟链路要穿过的区域和这条链路远端的ABR路由器router-id。
配置虚拟链路之后 R1和R2路由表中注意标记框类的路由,接口表示:R1 为OSPV_VL1R2为 OSPF_VL2。
虚拟链路的类型为POINT_TO_POINT。
本文出自 “总结每一天” 博客,请务必保留此出处http://zhovjvn.blog.51cto.com/636365/138248
配置参考R1 e0/0 10.0.0.1/8R2 e0/0 10.0.0.2/8R1 Loopback0 1.1.1.1/8R2 Loopback0 2.2.2.2/8All interface to area 0Examine the routing tables or R1 and R2 and note the mask of the OSPFroutes to the Loopback interfacesConfigure the OSPF network type point-to-point . R1 and R2'sLoopback0 interfaces模拟器ospf8.net配置# OSPF实验8:OSPF Network Type Loopbackautostart = Falseeghostios = truesparsemem = True[localhost]port = 7200udp = 11000workingdir = ..\tmp\[[3640]]image = ..\IOS\unzip-c3640-ik9o3s-mz.124-10.binmodel = 3640idlepc = 0x605c9218exec_area = 64confreg = 0x2142# mmap = Falseram = 256slot0 = NM-1E[[router R1]]model = 3640console = 3001exec_area = 64e0/0 = SW 1[[router R2]]console = 3002model = 3640exec_area = 64e0/0 = SW 2[[ethsw SW]]1 = access 12 = access 1配置R1上的配置
R2上的配置
在R1和R2上的loopback接口缺省的网络类型为都LOOPBACK。接口被视为“a stub host”
检查路由表,结果回环地址被当作一台主机地址,掩码位32,无论回环接口的掩码是多少。
下面把R1和R2接口的网络类型都设置成point-to-point。如红色方框内配置。(这里列出R1的配置)。
再检查路由表如下:
R1中通过OSPF学习到的路由条目:2.0.0.0/8 ,这里的掩码是8位。这是R2路由器loopback0 接口上实际掩码位。这是因为你在loopback0接口上配置了OSPF类型为point-to-point。不再视为主机地址。
R2中对2.0.0.0/8的解释与上面类同。OSPF实验9:OSPF Virtual Links - Repairing Area 0 Objective: Configure the OSPF domain between R1, R2, R3, R4, and R5 perthe diagram. Ensure that connectivity is maintained between R4 andR5 if the link between R1 and R2 is down
配置参考按上图配置R1, R2, R3, R4, R5的IP地址 。配置帧中继封装R1 s1/0,R2 s1/0,配置 R1 和R2 三层到二层的映射。配置R1和R4之间 VLAN 4 网段,R2和R5之间的VLAN B,R1和R2之间的帧中继网段都划分到OSPF 区域0 R1 ,R2的S1/0 : OSPF network type: point-to-point配置 R1 & R3 and R2 & R3 为area 1用R1 E0/0 ,R2 E0/0 上接口的IP地址分步作为R1和R2的ospf router-id 在R1与R2之间area 1内配置OSPF 虚拟链路 。模拟器ospf9.net内容autostart = Falseeghostios = truesparsemem = True[localhost]port = 7200udp = 11000workingdir = ..\tmp\[[3640]]image = ..\IOS\unzip-c3640-ik9o3s-mz.124-10.binmodel = 3640idlepc = 0x605c9218exec_area = 64confreg = 0x2142# mmap = Falseram = 256slot0 = NM-1Eslot1 = NM-4T[[router R1]]model = 3640console = 3001exec_area = 64e0/0 = SW 1S1/0 = FR1 1s1/1 = R3 S1/2[[router R2]]console = 3002model = 3640exec_area = 64e0/0 = SW 3s1/0 = FR1 2S1/1 = R3 S1/3[[router R3]]console = 3003model = 3640exec_area = 64[[router R4]]console = 3004model = 3640exec_area = 64E0/0 = SW 2[[router R5]]console = 3005model = 3640exec_area = 64E0/0 = SW 4[[ethsw SW]]1 = access 2 #VLAN A2 = access 23 = access 3 #VLAN B4 = access 3 [[FRSW FR1]]1:102 = 2:201设备配置R1上的最终配置
R2上的最终配置
R3上的最终配置
R4上的最终配置
R5上的最终配置
检查路由没有配置虚拟链路前用Show ip ospf neighbor 来显示OSPF 邻居
检查各个设备路由情况
这时如果帧中继链路故障,则会出现两个area 0,在R4上PING不通R5上E0/0的IP地址,在R5上PING不通R4上E0/0的IP。
R1上没有25.0.0.0/8网络的路由。
R2上没有14.0.0.0/8网络的路由.
R1和R2都属于ABR,连接area 0 和area 1,虚拟链路总是建立在ABR路由器之间。在每一台ABR路由器的OSPF配置通过area virtual-link命令来配置,指定虚拟链路要穿过的区域和这条链路远端的ABR路由器router-id。
配置虚拟链路之后 R1和R2路由表中注意标记框类的路由,接口表示:R1 为OSPV_VL1R2为 OSPF_VL2。
虚拟链路的类型为POINT_TO_POINT。
本文出自 “总结每一天” 博客,请务必保留此出处http://zhovjvn.blog.51cto.com/636365/138248
相关文章推荐
- ospf实验笔记(四)
- ospf 实验笔记(二)
- CCNA培训课总结笔记--配置OSPF实验(十一)
- CCNA培训课总结笔记--配置OSPF实验(十一)
- OSPF学习笔记3--单区域实验
- ospf 实验笔记(一)
- OSPF实验笔记(五)
- wolf李桃梅CCNP视频笔记(OSPF-3)(下)
- cortex_m3_stm32嵌入式学习笔记(二十):IIC实验(I2C串行总线)
- 路由选择协议RIP与OSPF个人学习笔记
- TQ2440 学习笔记—— 13、GPIO 接口【实验:用汇编语言实现】
- TQ2440 学习笔记—— 14、GPIO 接口【实验:用C语言实现】
- OSPF系列小实验之6:网络类型对邻居关系及路由学习的影响
- 关于构造函数和原型的实验笔记
- OSPF系列小实验之7:断裂的区域连接
- 实验吧笔记-IPC$管道攻击与防御方法
- 软件测试实验学习笔记系列4--CppUnit
- 【RT-Thread学习笔记 3】线程优先级抢占实验
- 汇编学习笔记---实验4
- Ospf 综合实验