zoukankan      html  css  js  c++  java
  • 神州数码RIP路由协议

    实验要求:熟练掌握RIP配置方法

    拓扑如下

    R1

    enable  进入特权模式

    config  进入全局模式

    hostname R1  修改名称

    interface s0/1  进入端口

    physical-layer speed 64000  设置同步时钟

    ip address 192.168.1.1 255.255.255.0  设置IP地址

    encapsulation ppp  设置封装协议

    no shutdown  开启端口

    interface g0/5  进入端口

    ip address 192.168.3.254 255.255.255.0  设置IP地址

    no shutdown  开启端口

    exit  返回上一级

    router rip  启动RIP协议

    version 2  选择版本

    network 192.168.1.0  添加直连网段到RIP

    network 192.168.3.0  添加自连网段到RIP

    R2

    enable  进入特权模式

    config  进入全局模式

    hostname R2  修改名称

    interface s0/2  进入端口

    physical-layer speed 64000  设置同步时钟

    ip address 192.168.1.2 255.255.255.0  设置IP地址

    encapsulation ppp  设置封装协议

    no shutdown  开启端口

    interface g0/6  进入端口

    ip address 192.168.2.1 255.255.255.0  设置IP地址

    no shutdown  开启端口

    exit  返回上一级

    router rip  启动RIP协议

    version 2  选择版本

    network 192.168.1.0  添加直连网段到RIP

    network 192.168.2.0  添加直连网段到RIP

    R3

    enable  进入特权模式

    config  进入全局模式

    hostname R3  修改名称

    interface g0/6  进入端口

    ip address 192.168.2.2 255.255.255.0  设置IP地址

    no shutdown  开启端口

    interface g0/5  进入端口

    ip address 192.168.4.254 255.255.255.0  设置IP地址

    no shutdown  开启端口

    exit  返回上一级

    router rip  启动RIP协议

    version 2  选择版本

    network 192.168.2.0  添加直连网段到RIP

    network 192.168.4.0  添加直连网段到RIP

    注意事项

    版本1不支持子网划分及认证

    相关命令

    router rip 启动RIP路由协议

    version [1|2] 选择RIP版本

    network [直连网段] 将直连网段添加到RIP协议当中

  • 相关阅读:
    简单爬取腾讯新闻内容方法封装
    Python正则表达式函数
    Escape(反思与总结)
    springboot中使用mybatis
    解决 java.lang.UnsatisfiedLinkError:no ** in java.library.path in java.library.path 的异常
    解决 fatal error: jni_md.h: No such file or directory #include “jni_md.h”
    Git troubleshooting
    Java8 新特性2——强大的Stream API
    Java8 新特性1—— Lambda表达式、内置函数式接口、方法引用与构造器引用
    搭建Linux(Ubuntu)系统下的Differential Datalog运行环境
  • 原文地址:https://www.cnblogs.com/guoshiyu/p/9319008.html
Copyright © 2011-2022 走看看