zoukankan      html  css  js  c++  java
  • 神州数码静态路由及直连网段引入到RIP协议配置(路由重定向)

    实验要求:掌握静态路由及直连网段引入协议当中的配置

    拓扑如下

    R1

    enable  进入特权模式

    config  进入全局模式

    hostname R1  修改名称

    interface g0/6  进入端口

    ip address 192.168.2.254 255.255.255.0  设置IP地址

    no shutdown  开启端口

    interface s0/1  进入端口

    ip address 192.168.1.1 255.255.255.0  设置IP地址

    physical-layer speed 64000  设置同步时钟

    no shutdown  开启端口

    exit  返回上一级

    ip route 0.0.0.0 0.0.0.0 192.168.1.2  添加静态路由

      

    R2

    enable  进入特权模式

    config  进入全局模式

    hostname R2  修改名称

    interface g0/6  进入端口

    ip address 192.168.3.1 255.255.255.0  设置IP地址

    no shutdown  开启端口

    interface s0/2  进入端口

    ip address 192.168.1.2 255.255.255.0  设置IP地址

    physical-layer speed 64000  设置同步时钟

    no shutdown  开启端口

    exit  返回上一级

    ip route 192.168.2.0 255.255.255.0 192.168.1.1  添加静态路由

    router rip  启动RIP协议

    version 2  选择版本

    network 192.168.3.0  添加直连网段到RIP

    redistribute static  引入静态路由

    redistribute connect  引入直连网段

    R3

    enable  进入特权模式

    config  进入全局模式

    hostname R3  修改名称

    interface g0/6  进入端口

    ip address 192.168.3.2 255.255.255.0  设置IP地址

    no shutdown  开启端口

    exit  返回上一级

    router rip  启动RIP协议

    version 2  选择版本

    network 192.168.3.0  添加直连网段到RIP

    相关命令

    ip route 0.0.0.0 0.0.0.0 [下一跳地址]   设置缺省路由

    redistribute [重定向路由的类型]     路由重定向

          --ospf

          --rip

          --static

          --connect

          --beigrp

          --bgp

          --Isis

  • 相关阅读:
    hdu 1022 Train Problem I 模拟
    Eclipse plugin开发 —实现语法高亮
    一篇英文版的eclipse插件textEditor资料
    (转)Eclipse常用快捷键
    Eclipse plugin开发 —实现单行与多行注释
    Eclipse plugin开发 —实现文本内容帮助
    CSS borderstyle
    ClassLoader getResource
    javascript add table content from xml
    postgres 当前时间
  • 原文地址:https://www.cnblogs.com/guoshiyu/p/9319790.html
Copyright © 2011-2022 走看看