zoukankan      html  css  js  c++  java
  • RIP 路由信息协议

    1.1         Ping

    1.1.1         拓扑

    1.1.2         配置

    1)按拓扑把接口IP配置好

    PC-92的默认路由为192.168.4.208

    PC-91的默认路由为192.168.3.207

    此时PC-91与PC-92互ping不通

    2)两个交换机配置RIP,宣告网段,以208为例:

    xNet#configure terminal

    xNet(config)#router rip

    xNet(config-router)#network 20.1.1.0/24

    xNet(config-router)#network 192.168.4.0/24

    xNet(config-router)#end

    xNet#

    1.1.3         结果

    1)配置相应RIP后,使用PC-91与PC-92互ping,能够ping通

    2)查看RIP路由

    208:

    207:

    1.2         RIPng

    1.2.1         拓扑

    1.2.2         配置

    1)按拓扑把接口IP配置好

    PC-92的默认路由为2003::208

    PC-91的默认路由为2002::207

    此时PC-91与PC-92互ping不通

    2)配置好所有接口IPv6地址,208为例

    xNet#con t

    xNet(config)#interface ge1

    xNet(config-if)#ipv6 address 2001::208/64

    xNet(config-if)#exit

    xNet(config)#interface ge48

    xNet(config-if)#ipv6 address 2003::208/64

    xNet(config-if)#end

    xNet#

    3)两个交换机配置RIPng,分别宣告ge1和ge48的网段,以208为例:

    xNet#configure terminal

    xNet(config)#router ipv6 rip

    xNet(config-router)#exit

    xNet(config)#interface ge1

    xNet(config-if)#ipv6 router rip

    xNet(config-if)#exit

    xNet(config)#interface ge48

    xNet(config-if)#ipv6 router rip

    xNet(config-if)#end

    xNet#

    同样配置207号机

    1.2.3         结果

    1)配置相应RIPng后,使用PC-91与PC-92互ping,能够ping通

    2)查看RIPng路由

  • 相关阅读:
    mysql concat
    (三)微信小程序之发送服务通知(模板消息)
    小型web服务器thttpd的学习总结(下)
    小型web服务器thttpd的学习总结(上)
    平方根倒数快速算法
    微信公众平台服务框架
    静态库动态库回顾
    RocketMQ常用命令
    rocketmq配置文件参数(broker-xx.properties)
    RocketmMQ的组成及相关概念
  • 原文地址:https://www.cnblogs.com/niezhongle/p/11075352.html
Copyright © 2011-2022 走看看