• 领导讲话
  • 自我介绍
  • 党会党课
  • 文秘知识
  • 转正申请
  • 问题清单
  • 动员大会
  • 年终总结
  • 工作总结
  • 思想汇报
  • 实践报告
  • 工作汇报
  • 心得体会
  • 研讨交流
  • 述职报告
  • 工作方案
  • 政府报告
  • 调研报告
  • 自查报告
  • 实验报告
  • 计划规划
  • 申报材料
  • 当前位置: 勤学考试网 > 公文文档 > 实验报告 > 正文

    2020年IP通信实验报告——OSPF,认证实验

    时间:2020-11-29 12:25:21 来源:勤学考试网 本文已影响 勤学考试网手机站

      IP 通信基础实验报告 实验一

      OSPF 认证实验

      一、

      实验目的

      1、 掌握在 GAR 路由器上配置 OSPF 所需的基本命令; 2、 理解和巩固 OSPF 的基本原理; 二、

      实验内容(仿真程序‘ ospf area authentication without MDpkt ’和‘ ospf with MDpkt ’)

      1、 OSPF 明文加密 2、 OSPF MD5 加密 三、

      实验设备

      路由器

      2 台 PC 机

      2 台 交叉网线

      3 条 四、

      实验拓扑图

      五、

      配置步骤

      1 1 、5 MD5 加密

      RT1==================================

      Router>en

      Router#conf t

      Enter configuration commands, one per line.

      End with CNTL/Z.

      Router(config)#ho RT1

      RT1(config)#int loopback1

      %LINK- -5 5- - CHANGED: Interface Loopback1, changed state to up

      %LINEPROTO- -5 5- - UPDOWN: Line proto col on Interface Loopback1, changed state to up

      RT1(config- - if)#no shutdown

      RT1(config- - if)#ip add 1 252525255

      RT1(config- - if)#exit

      RT1(config)#interface fastEthernet 1/

      RT1(config- - if)#no shutdown

      %LINK- -5 5- - CHANGED: Interface FastEthernet1/, ch anged state to up

      RT1(config- - if)#ip add 19161.254 252525

      RT1(config- - if)#ex

      RT1(config)#

      RT1(config)#interface fastEthernet /

      RT1(config- - if)#no shutdown

      %LINK- -5 5- - CHANGED: Interface FastEthernet/, changed state to up

      RT1(config- - if)#ip add 1 .1 252525

      RT1(config- - if)#ex

      RT1(config)#router ospf 11

      RT1(config)#router- - id 1

      RT1(config- - router)#network 1 ... area

      RT1(config- - router)#network 1. ...255 area

      RT1(config- - router)#network 19161. ...255 area

      RT1(config- - router)#area authentication message- - digest

      // 不同之处

      RT1(config- - router)#exit

      RT1(config)#interface fastEthernet /

      RT1(config- - if)#ip ospf authentication

      RT1(config- - if)#ip ospf message- - digest- - key 1 md5 ZTE11

      RT1(config- - if)#exit

      2 2 、明文加密

      R R T1

      Router>enable

      Router#conf t

      Enter configuration commands, one per line.

      End with CNTL/Z.

      Router(config)#hostname RT1

      RT1(config)#interface loopback1

      RT1(config- - if)#no shutdown

      RT1(config- - if)#ip address 1 252525255

      RT1(config- - if)#exit

      RT1(c onfig)#interface fastEthernet 1/

      RT1(config- - if)#no shutdown

      RT1(config- - if)#ip add 19161.254 252525

      RT1(config- - if)#exit

      RT1(config)#router ospf 11

      RT2(config- - router)#router- - id 1

      RT1(config- - router)#network 1. ...255 area

      RT1(co nfig- - router)#network 1 ... area

      RT1(config- - router)#network 19161. ...255 area

      RT1(config- - router)#area authentication

      RT1(config- - router)#exit

      RT1(config)#interface fastEthernet /

      RT1(config- - if)#no shutdown

      RT1(config- - if)#ip addres s 1.1 252525

      RT1(config- - if)#ip ospf authentication

      RT1(config- - if)#ip ospf authentication- - key zxr1

      RT1(config- - if)#exit

      =========================================================

      RT2

      Router>enable

      Router#conf t

      Enter configuration commands, on e per line.

      End with CNTL/Z.

      Router(config)#hostname RT2

      RT2(config)#interface loopback1

      RT2(config- - if)#no shutdown

      RT2(config- - if)#ip address 2 252525255

      RT2(config- - if)#exit

      RT1(config)#interface fastEthernet 1/

      RT1(config- - if)#no shutdown

      RT1 (config- - if)#ip address 19162.254 252525

      RT1(config- - if)#exit

      RT1(config)#

      RT2(config)#router ospf 11

      RT2(config- - router)#router- - id 2

      RT2(config- - router)#network 2 ... area

      RT2(config- - router)#network 1. ...255 area

      RT2 (config- - router)#network 19162. ...255 area

      RT2(config- - router)#area authentication

      RT2(config- - router)#redistribute connected

      \ \\ \ 这一句可有可无

      RT2(config- - router)#exit

      RT2(config)#interface fastEthernet /

      RT2(config- - if)#no shutdown

      RT2(config- - if)#ip

      address 1.2 252525

      RT2(config- - if)#ip ospf authentication

      RT2(config- - if)#ip ospf authentication- - key zxr1

      RT2(config- - if)#exit

      六、

      验证方法及验证结果

       明文认证

      Router(config)#do show ip ospf neig

      验证结果如下

      5 MD5 认证

      Router(config)#do show ip ospf neig

      验证结果如下

      七、

      实验结论

      GAR 支持 OSPF 明文和 MD5 加密认证

    • 考试时间
    • 范文大全
    • 作文大全
    • 课程
    • 试题
    • 招聘
    • 文档大全

    推荐访问