实验二十四、OSPF 在NBMA 环境中点到点的配置
2010-10-11 21:21
706 查看
实验二十四、OSPF 在NBMA 环境中点到点的配置
一、 实验目的
1. 掌握NBMA 环境中点到点的配置
2. 理解NBMA 环境中点到点网络类型的意义
二、 应用环境
在帧中继的网络中,OSPF 的路由更新不能正常进行,需要配置点到点的网络类型保证OSPF
协议的正常运行
三、 实验设备
1. DCR-1751 两台
2. CR-V35MT 一条
3. CR-V35FC 一条
四、 实验拓扑
五、 实验要求
配置表
ROUTER-A ROUTER-B
S1/1 (DCE ) 192.168.1.1/24 S1/0 (DTE) 192.168.1.2/24
F0/0 192.168.0.1 F0/0 192.169.2.1/24
在路由器的之间的接口封装帧中继。
六、 实验步骤
第一步:参照实验14,配置帧中继,并测试连通性
第二步:配置OSPF 协议
Router-A#conf Router-A_config#router ospf 2
Router-A_config_ospf_2#net 192.168.0.0 255.255.255.0 area 0
Router-A_config_ospf_2#net 192.168.1.0 255.255.255.0 area 0
Router-B#conf
Router-B_config#router ospf 10
Router-B_config_ospf_10#net 192.168.1.0 255.255.255.0 area 0
Router-B_config_ospf_10#net 192.168.2.0 255.255.255.0 area 0
第三步:查看路由表
Router-A#sh ip route
Codes: C - connected, S - static, R - RIP, B - BGP, BC - BGP connected
D - DEIGRP, DEX - external DEIGRP, O - OSPF, OIA - OSPF inter area
ON1 - OSPF NSSA external type 1, ON2 - OSPF NSSA external type 2
OE1 - OSPF external type 1, OE2 - OSPF external type 2
DHCP - DHCP type
VRF ID: 0
C 192.168.0.0/24 is directly connected, FastEthernet0/0
C 192.168.1.0/24 is directly connected, Serial1/1
Router-B#sh ip route
Codes: C - connected, S - static, R - RIP, B - BGP, BC - BGP connected
D - DEIGRP, DEX - external DEIGRP, O - OSPF, OIA - OSPF inter area
ON1 - OSPF NSSA external type 1, ON2 - OSPF NSSA external type 2
OE1 - OSPF external type 1, OE2 - OSPF external type 2
DHCP - DHCP type
VRF ID: 0
C 192.168.1.0/24 is directly connected, Serial1/0
C 192.168.2.0/24 is directly connected, FastEthernet0/0
!都没有得到OSPF 路由
第四步:修改网络类型
Router-A#conf
Router-A_config#int s1/1
Router-A_config_s1/1#ip ospf net point-to-point !配置网络类型为点到点
Router-B#conf
Router-B_config#int s1/0
Router-B_config_s1/0#ip ospf net point-to-point !配置网络类型为点到点第五步:再次查看路由表
Router-A#sh ip route
Codes: C - connected, S - static, R - RIP, B - BGP, BC - BGP connected
D - DEIGRP, DEX - external DEIGRP, O - OSPF, OIA - OSPF inter area
ON1 - OSPF NSSA external type 1, ON2 - OSPF NSSA external type 2
OE1 - OSPF external type 1, OE2 - OSPF external type 2
DHCP - DHCP type
VRF ID: 0
C 192.168.0.0/24 is directly connected, FastEthernet0/0
C 192.168.1.0/24 is directly connected, Serial1/1
O 192.168.2.0/24 [110,1601] via 192.168.1.2(on Serial1/1)
Router-B#sh ip route
Codes: C - connected, S - static, R - RIP, B - BGP, BC - BGP connected
D - DEIGRP, DEX - external DEIGRP, O - OSPF, OIA - OSPF inter area
ON1 - OSPF NSSA external type 1, ON2 - OSPF NSSA external type 2
OE1 - OSPF external type 1, OE2 - OSPF external type 2
DHCP - DHCP type
VRF ID: 0
O 192.168.0.0/24 [110,1601] via 192.168.1.1(on Serial1/0)
C 192.168.1.0/24 is directly connected, Serial1/0
C 192.168.2.0/24 is directly connected, FastEthernet0/0
第六步:查看OSPF 网络类型
Router-A#sh ip ospf interface
FastEthernet0/0 is up, line protocol is up
Internet Address: 192.168.0.1/24
Nettype: Broadcast
OSPF process is 2, AREA: 0, Router ID: 192.168.1.1
Cost: 1, Transmit Delay is 1 sec, Priority 1
Hello interval is 10, Dead timer is 40, Retransmit is 5
OSPF INTF State is IDr
Designated Router ID: 192.168.1.1, Interface address 192.168.0.1
Neighbor Count is 0, Adjacent neighbor count is 0
Serial1/1 is up, line protocol is up
Internet Address: 192.168.1.1/24
Nettype: Point-to-Point
OSPF process is 2, AREA: 0, Router ID: 192.168.1.1
Cost: 1600, Transmit Delay is 1 sec, Priority 1 Hello interval is 10, Dead timer is 40, Retransmit is 5
OSPF INTF State is IPOINT_TO_POINT
Neighbor Count is 1, Adjacent neighbor count is 1
Adjacent with neighbor 192.168.1.2
Router-A#sh ip ospf neighbor
----------------------------------------------------------------------------
OSPF process: 2
AREA: 0
Neighbor ID Pri State DeadTime Neighbor Addr Interface
192.168.2.1 1 FULL/- 31 192.168.1.2 Serial1/1
!注意到没有DR 的选举过程
一、 实验目的
1. 掌握NBMA 环境中点到点的配置
2. 理解NBMA 环境中点到点网络类型的意义
二、 应用环境
在帧中继的网络中,OSPF 的路由更新不能正常进行,需要配置点到点的网络类型保证OSPF
协议的正常运行
三、 实验设备
1. DCR-1751 两台
2. CR-V35MT 一条
3. CR-V35FC 一条
四、 实验拓扑
五、 实验要求
配置表
ROUTER-A ROUTER-B
S1/1 (DCE ) 192.168.1.1/24 S1/0 (DTE) 192.168.1.2/24
F0/0 192.168.0.1 F0/0 192.169.2.1/24
在路由器的之间的接口封装帧中继。
六、 实验步骤
第一步:参照实验14,配置帧中继,并测试连通性
第二步:配置OSPF 协议
Router-A#conf Router-A_config#router ospf 2
Router-A_config_ospf_2#net 192.168.0.0 255.255.255.0 area 0
Router-A_config_ospf_2#net 192.168.1.0 255.255.255.0 area 0
Router-B#conf
Router-B_config#router ospf 10
Router-B_config_ospf_10#net 192.168.1.0 255.255.255.0 area 0
Router-B_config_ospf_10#net 192.168.2.0 255.255.255.0 area 0
第三步:查看路由表
Router-A#sh ip route
Codes: C - connected, S - static, R - RIP, B - BGP, BC - BGP connected
D - DEIGRP, DEX - external DEIGRP, O - OSPF, OIA - OSPF inter area
ON1 - OSPF NSSA external type 1, ON2 - OSPF NSSA external type 2
OE1 - OSPF external type 1, OE2 - OSPF external type 2
DHCP - DHCP type
VRF ID: 0
C 192.168.0.0/24 is directly connected, FastEthernet0/0
C 192.168.1.0/24 is directly connected, Serial1/1
Router-B#sh ip route
Codes: C - connected, S - static, R - RIP, B - BGP, BC - BGP connected
D - DEIGRP, DEX - external DEIGRP, O - OSPF, OIA - OSPF inter area
ON1 - OSPF NSSA external type 1, ON2 - OSPF NSSA external type 2
OE1 - OSPF external type 1, OE2 - OSPF external type 2
DHCP - DHCP type
VRF ID: 0
C 192.168.1.0/24 is directly connected, Serial1/0
C 192.168.2.0/24 is directly connected, FastEthernet0/0
!都没有得到OSPF 路由
第四步:修改网络类型
Router-A#conf
Router-A_config#int s1/1
Router-A_config_s1/1#ip ospf net point-to-point !配置网络类型为点到点
Router-B#conf
Router-B_config#int s1/0
Router-B_config_s1/0#ip ospf net point-to-point !配置网络类型为点到点第五步:再次查看路由表
Router-A#sh ip route
Codes: C - connected, S - static, R - RIP, B - BGP, BC - BGP connected
D - DEIGRP, DEX - external DEIGRP, O - OSPF, OIA - OSPF inter area
ON1 - OSPF NSSA external type 1, ON2 - OSPF NSSA external type 2
OE1 - OSPF external type 1, OE2 - OSPF external type 2
DHCP - DHCP type
VRF ID: 0
C 192.168.0.0/24 is directly connected, FastEthernet0/0
C 192.168.1.0/24 is directly connected, Serial1/1
O 192.168.2.0/24 [110,1601] via 192.168.1.2(on Serial1/1)
Router-B#sh ip route
Codes: C - connected, S - static, R - RIP, B - BGP, BC - BGP connected
D - DEIGRP, DEX - external DEIGRP, O - OSPF, OIA - OSPF inter area
ON1 - OSPF NSSA external type 1, ON2 - OSPF NSSA external type 2
OE1 - OSPF external type 1, OE2 - OSPF external type 2
DHCP - DHCP type
VRF ID: 0
O 192.168.0.0/24 [110,1601] via 192.168.1.1(on Serial1/0)
C 192.168.1.0/24 is directly connected, Serial1/0
C 192.168.2.0/24 is directly connected, FastEthernet0/0
第六步:查看OSPF 网络类型
Router-A#sh ip ospf interface
FastEthernet0/0 is up, line protocol is up
Internet Address: 192.168.0.1/24
Nettype: Broadcast
OSPF process is 2, AREA: 0, Router ID: 192.168.1.1
Cost: 1, Transmit Delay is 1 sec, Priority 1
Hello interval is 10, Dead timer is 40, Retransmit is 5
OSPF INTF State is IDr
Designated Router ID: 192.168.1.1, Interface address 192.168.0.1
Neighbor Count is 0, Adjacent neighbor count is 0
Serial1/1 is up, line protocol is up
Internet Address: 192.168.1.1/24
Nettype: Point-to-Point
OSPF process is 2, AREA: 0, Router ID: 192.168.1.1
Cost: 1600, Transmit Delay is 1 sec, Priority 1 Hello interval is 10, Dead timer is 40, Retransmit is 5
OSPF INTF State is IPOINT_TO_POINT
Neighbor Count is 1, Adjacent neighbor count is 1
Adjacent with neighbor 192.168.1.2
Router-A#sh ip ospf neighbor
----------------------------------------------------------------------------
OSPF process: 2
AREA: 0
Neighbor ID Pri State DeadTime Neighbor Addr Interface
192.168.2.1 1 FULL/- 31 192.168.1.2 Serial1/1
!注意到没有DR 的选举过程
相关文章推荐
- 帧中继环境下配置OSPF多域的实验BY ciscofans
- NBMA环境下OSPF配置需要注意的地方
- 实验二十五、OSPF 在NBMA 网络的配置(点到多点)
- 实验十七、OSPF 在NBMA 网络的配置
- ospf配置在NBMA中的实验
- ospf在帧中继环境下NBMA模式的配置
- OSPF实验过程详解(OSPF在NBMA上实现法)
- 实验二十一、RIP-2 在NBMA 网络的配置
- [积累] 在Ubuntu16.04 64位系统上配置linux-0.11内核实验环境
- CCNP路由实验(一)--帧中继环境下NBMA实验
- 自制OSPF配置实验大全
- 实验 OSPF 基本配置
- 24、OSPF配置实验之不规则区域多进程双向重分布
- 实验环境安装及配置(二)——域环境的安装
- ospf在帧中继环境下广播模式的配置
- 末节区域,完全末节区域,ospf以及rip,实验配置
- 超详细OSPF的基本概念;OSPF多区域配置和综合实验
- CCNP路由实验---10、OSPF非绝对末节区域的配置
- OSPF配置实验
- 五、在NBMA网络广播模式下配置OSPF实际案例(配图)+详细验证过程