CCNP实验4-2:配置多区域和NBMA OSPF
在本次实验中,你将在单个帧中继网络中配置OSPF。
在完成本次实验之后,你需要完成下列任务: <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
- 在NAMB网络中配置OSPF
- 配置多区域OSPF环境
如果出现任何问题,可以向在值的辅导老师提出并请求提供帮助。
命令
|
描述
|
(config-if)#ip ospf priority 0
|
设置OSPF优先级为0,防止它参与DR/BDR选择
|
(config-router)network 172.31.x.0 <?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" />0.0.0.255 area 0
|
指定一个(组)接口运行在一个OSPF在区域
|
【任务一】:在帧中继网络上使用NBMA网络类型。
在这个任务中,你将配置ABR允许在路由跨过区域。
实验过程:
- 注意:在NBMA网络,邻居语句仅仅需要在DR和BDR是声明。在我们的星型拓扑,邻居声明必须是配置在HUB路由器上。但是,在一个全互连(FULL-MESH)拓扑中如果没有使用优先级命令指定DR和BDR邻居声明是需要在所有的路由器上声明的
你的show ip route 输出应该与下列类似:
P1R4#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
O IA 172.31.1.0 [110/74] via 10.1.2.2, 00:02:28, Ethernet0
10.0.0.0/8 is variably subnetted, 6 subnets, 2 masks
C 10.200.200.14/32 is directly connected, Loopback0
C 10.1.3.0/24 is directly connected, Serial0
C 10.1.2.0/24 is directly connected, Ethernet0
O 10.1.1.0/24 [110/74] via 10.1.3.3, 00:02:53, Serial0
O 10.1.0.0/24 [110/74] via 10.1.2.2, 00:02:53, Ethernet0
O E2 10.254.0.0/24 [110/20] via 10.1.2.2, 00:00:00, Ethernet0
P1R4#
网络类型 指定邻居 DR 拓扑需求 Hello间隔备注
NBMA YES YES Full mesh 30 如果没有全互联,至少DR和BDR应该与所有的路由器有物理连接。
P2MP NO NO Arbitrary 30
Broadcast No Yes Full mesh 10 如果没有全互联,至少DR和BDR应该与所有的路由器有物理连接。
P2P No No P2P 10
你的路由器输出应该与下列类似:
P1R1#sh ip os int
Serial0 is up, line protocol is up
Internet Address 172.31.1.1/24, Area 0
Process ID 1, Router ID 10.1.0.1, Network Type NON_BROADCAST, Cost: 64
Transmit Delay is 1 sec, State DROTHER, Priority 0
Designated Router (ID) 172.31.1.3, Interface address 172.31.1.3
No backup designated router on this network
Timer intervals configured, Hello 30, Dead 120, Wait 120, Retransmit 5
oob-resync timeout 120
Hello due in 00:00:25
Index 1/3, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 1
Last flood scan time is 4 msec, maximum is 4 msec
Neighbor Count is 1, Adjacent neighbor count is 1
Adjacent with neighbor 172.31.1.3 (Designated Router)
Suppress hello for 0 neighbor(s)
Serial1 is up, line protocol is up
Internet Address 10.1.0.1/24, Area 1
Process ID 1, Router ID 10.1.0.1, Network Type POINT_TO_POINT, Cost: 64
Transmit Delay is 1 sec, State POINT_TO_POINT,
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
oob-resync timeout 40
Hello due in 00:00:08
Index 2/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 1
Last flood scan time is 0 msec, maximum is 4 msec
Neighbor Count is 1, Adjacent neighbor count is 1
Adjacent with neighbor 10.1.0.2
Suppress hello for 0 neighbor(s)
Ethernet0 is up, line protocol is up
Internet Address 10.1.1.1/24, Area 1
Process ID 1, Router ID 10.1.0.1, Network Type BROADCAST, Cost: 10
Transmit Delay is 1 sec, State BDR, Priority 1
Designated Router (ID) 10.200.200.13, Interface address 10.1.1.3
Backup Designated router (ID) 10.1.0.1, Interface address 10.1.1.1
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
oob-resync timeout 40
Hello due in 00:00:07
Index 1/1, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 1
Last flood scan time is 0 msec, maximum is 4 msec
Neighbor Count is 1, Adjacent neighbor count is 1
Adjacent with neighbor 10.200.200.13 (Designated Router)
Suppress hello for 0 neighbor(s)
P1R1#
成功完成整个实验,你需要完成下列任务:
- 你有成功的在网络核心配置OSPF。
- 你的路由表有完成的OSPF路由。
- 你能够PING通核心TFTP服务器。
P1R1:
hostname P1R1
!
boot-start-marker
boot-end-marker
!
no aaa new-model
ip subnet-zero
no ip domain lookup
!
interface Ethernet0
ip address 10.1.1.1 255.255.255.0
!
interface Serial0
ip address 172.31.1.1 255.255.255.0
encapsulation frame-relay
ip ospf priority 0
frame-relay map ip 172.31.1.3 111 broadcast
no frame-relay inverse-arp
!
interface Serial1
ip address 10.1.0.1 255.255.255.0
clockrate 64000
!
router ospf 1
router-id 10.1.0.1
log-adjacency-changes
network 10.1.0.0 0.0.255.255 area 1
network 172.31.1.0 0.0.0.255 area 0
!
no ip http server
ip classless
!
line con 0
exec-timeout 30 0
logging synchronous
line aux 0
line vty 0 4
login
End
P1R2:
hostname P1R2
!
boot-start-marker
boot-end-marker
no aaa new-model
ip subnet-zero
no ip domain lookup
!
interface Ethernet0
ip address 10.1.2.2 255.255.255.0
!
interface Serial0
ip address 172.31.1.2 255.255.255.0
encapsulation frame-relay
ip ospf priority 0
frame-relay map ip 172.31.1.3 112 broadcast
no frame-relay inverse-arp
!
interface Serial1
ip address 10.1.0.2 255.255.255.0
!
router ospf 1
router-id 10.1.0.2
log-adjacency-changes
network 10.1.0.0 0.0.255.255 area 1
network 172.31.1.0 0.0.0.255 area 0
!
no ip http server
ip classless
!
line con 0
exec-timeout 30 0
logging synchronous
line aux 0
line vty 0 4
login
!
End
hostname P1R3
!
boot-start-marker
boot-end-marker
!
no aaa new-model
ip subnet-zero
!
interface Loopback0
ip address 10.200.200.13 255.255.255.255
!
interface Ethernet0
ip address 10.1.1.3 255.255.255.0
!
interface Serial0
ip address 10.1.3.3 255.255.255.0
clockrate 64000
!
interface Serial1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
network 10.1.0.0 0.0.255.255 area 1
!
no ip http server
ip classless
!
line con 0
line aux 0
line vty 0 4
login
!
End
hostname P1R4
!
boot-start-marker
boot-end-marker
!
no aaa new-model
ip subnet-zero
!
interface Loopback0
ip address 10.200.200.14 255.255.255.255
!
interface Ethernet0
ip address 10.1.2.4 255.255.255.0
ip ospf priority 0
!
interface Serial0
ip address 10.1.3.4 255.255.255.0
!
interface Serial1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
network 10.1.0.0 0.0.255.255 area 1
!
no ip http server
ip classless
!
line con 0
line aux 0
line vty 0 4
login
!
end
转载于:https://blog.51cto.com/xghe110/69413
CCNP实验4-2:配置多区域和NBMA OSPF相关推荐
- CCNP实验:路由重分布注意事项
CCNP实验:路由重分布注意事项之一.重分布基础: 大家都知道,一般来说一个组织或者一个跨国公司很少只使用一个路由协议,而如果一个公司同时运行了多个路由协议,或者一个公司和另外一个公司合并的时候两个公 ...
- BSCI实验之十三:配置点到点链路OSPF及认证
实验拓扑: 实验要求:分别在RA/RB/RC(即图中的R1/R2/R3)上启用OSPF,注意观察它们的网络类型以及邻居关系,并观察认证后的特点. 实验目的:熟练进行点到点OSPF的基本配置和认证调试. ...
- 计算机交换机配置实验心得,网络配置实验心得
<网络配置实验心得>由会员分享,可在线阅读,更多相关<网络配置实验心得(10页珍藏版)>请在人人文库网上搜索. 1.网络配置实验心得 #网络配置实验心得1#1.实验目的理解IC ...
- CCNA实验三十八 ZFW(区域防火墙)
CCNA实验三十八 ZFW(区域防火墙) 环境:Windows XP .Packet Tracert5.3 目的:了解ZFW的原理与基本配置 说明: ZFW(Zone-Based Policy Fir ...
- 配置基于区域策略的防火墙
配置基于区域策略的防火墙 拓扑以及地址规划 实验前确保网络连通 service-0 ping通PC-0 创建一个内部区域. R2(config)# zone security IN-ZONE R2(c ...
- 华为eNSP实验-防火墙模拟配置(采用ping命令逐步分析)
ensp防火墙模拟配置-采用ping命令逐步分析 1.各设备的IP地址配置. 按如图所示配置好各个设备对应的IP地址. 注意点: 1.图中cloud2云处需要关联电脑上对应的虚拟网卡. 2.实验中我使 ...
- 实验七:配置交换机管理地址和默认网关(远程登陆)
实验拓扑: 实验目标: 1.理解交换机默认VLAN的作用: 2.理解交换机默认网关的作用: 3.实现交换机远程管理. 实验步骤: 1.根据拓扑所示,配置对应的IP地址: 2.配置SW1的管理地址,使其 ...
- CCNP实验:CHAP认证、MGRE技术
文章目录 CCNP实验:CHAP认证.MGRE技术 1.规划IP: 2.配置: (1)底层: (2)路由: ①配置缺省: ②搭建MGRE环境: ③路由宣告: ④在R1上做NAT: ⑤CHAP认证: C ...
- 实验5:配置通过静态工厂方法创建的bean、实例工厂方法创建的bean、(FactoryBean测试)★
实验5:配置通过静态工厂方法创建的bean.实例工厂方法创建的bean.(FactoryBean测试)★ bean的创建默认就是框架利用反射new出来的bean实例 工厂模式:工厂帮我们创建对象:有一 ...
最新文章
- kernel 3.10代码分析--KVM相关--虚拟机创建\VCPU创建\虚拟机运行
- 计算机网络探究一之利用双网卡主机共享上网
- jQuery的无new构建
- SAP Customer Experience Extensibility gold rule
- C语言试题二十七之请编写程序,实现矩阵(3行3列)的转置(即行列互换)。
- html浮动标签调整位置,HTML 获取当前标签在页面的位置,并且把其他的浮动窗口显示过来...
- 汇编 一星题目字符串合集:输入字符,操作,在屏幕上显示
- MyBatis3_[tp_41-42-43]-_动态sql_trim_自定义字符串截取_choose分支选择_update的set与if-trim 结合的动态更新...
- 【SAS系列】SAS入门书籍推荐
- 苹果测试应用可一键生成ios测试UDID证书,IOS怎么安装APP?怎么测试APP?一键搞定
- 《自己动手写网络爬虫》笔记3-宽度优先遍历互联网
- uni-app开发和常规Vue开发
- Linux系统不同颜色文件代表什么意思?绿色、蓝色、白色、红色等代表的意义是什么?
- 对比汇新云和猪八戒?
- Windows PE (老毛桃) 介绍功能介绍
- ASP.NET 安全认证(三)
- Gin:路由抽离与分组
- 软件实施工程师需要掌握的技能
- UMLChina公众号文章精选(20210706更新精选)
- 纳米材料与技术类毕业论文文献有哪些?
热门文章
- 软件测试的基础知识(二)
- RColorBrewer | R语言中的配色方法汇总(Ⅰ)
- 计算机基础与应用2,计算机基础与应用(作业2)
- mysql 可逆编码,简单明白彻底解决 MySQL 中文编码问题
- 事务例子_图文详解:数据库事务与锁
- dmol3给定关键字不在字典中_一日一技:举例说明python中的map()方法
- 学UI设计好不好找工作?零基础能学UI设计吗?
- 字符集_超详细的MySQL数据库字符集总结,值得收藏
- VS对.ini文件的操作
- oracle sysau,ORACLE 10GR2 ASM 如何修改AU_SIZE的大小