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

  • 相关阅读:
    js创建form添加input项目并提交表单
    DataTable 修改列名 删除列 调整列顺序
    文件夹右键出取得管理员所有权选项
    c#多线程
    js用计时器加载大量dom
    c# 将html添加进剪贴板(带格式)
    landa语法
    c# @符号后面对 双引号转义
    asp.net web api CORS
    IIS中发布网站的问题
  • 原文地址:https://www.cnblogs.com/guoshiyu/p/9319790.html
Copyright © 2011-2022 走看看