zoukankan      html  css  js  c++  java
  • 动态路由RIP的简易配置

    拓扑图如下:

    R1配置:

      en      进入特权模式

      conf t     进入全局配置模式

      hostname R1   修改路由器名称为R1

      no ip domain-lookup  去除域名解析

      interface f0/0     进入接口f0/0

      ip addr 192.168.12.1 255.255.255.0  配置接口f0/0的IP地址及子网掩码

      no shutdown     激活接口f0/0

      interface loopback 0  进入环回接口l0

      ip addr 192.168.50.1 255.255.255.0  设置环回接口的IP地址及子网掩码

      no shutdown      激活环回接口

      exit          返回上一级(返回至全局配置模式) 

        router rip        启动RIP协议

      version 2        申明版本为2

      no auto-summary    去除路由自动汇总

      network 192.168.50.0  申明自身直连网络的网络号
      network 192.168.12.0       申明自身直连网络的网络号

    R2配置

      

      en                   进入特权模式

      conf t                 进入全局配置模式

      hostname R2          修改路由器名称为R2

      no ip domain-lookup  去除域名解析

      interface f0/0      进入接口f0/0

      ip addr 192.168.12.2 255.255.255.0  配置接口f0/0的IP地址及子网掩码

      no shutdown        激活接口f0/0
      interface f0/0          进入接口f0/1
      ip addr 192.168.23.1 255.255.255.0   配置接口f0/0的IP地址及子网掩码
      no shutdown      激活接口f0/1
      exit          返回上一级(返回至全局配置模式) 

        router rip        启动RIP协议

        version 2        申明版本为2

        no auto-summary    去除路由自动汇总

        network 192.168.23.0   申明自身直连网络的网络号

        network 192.168.12.0     申明自身直连网络的网络号

    R3配置

      

      en                   进入特权模式

      conf t                 进入全局配置模式

      hostname R3          修改路由器名称为R3

      no ip domain-lookup  去除域名解析

      interface f0/1      进入接口f0/1

      ip addr 192.168.23.2 255.255.255.0  配置接口f0/0的IP地址及子网掩码

      no shutdown        激活接口f0/1
      interface f0/0          进入接口f0/0
      ip addr 192.168.34.1 255.255.255.0   配置接口f0/1的IP地址及子网掩码
      no shutdown      激活接口f0/0
      exit          返回上一级(返回至全局配置模式) 

        router rip        启动RIP协议

        version 2        申明版本为2

        no auto-summary    去除路由自动汇总

        network 192.168.23.0   申明自身直连网络的网络号

        network 192.168.34.0     申明自身直连网络的网络号

    R4配置

      

      en      进入特权模式

      conf t     进入全局配置模式

      hostname R4   修改路由器名称为R4

      no ip domain-lookup  去除域名解析

      interface f0/0     进入接口f0/0

      ip addr 192.168.34.2 255.255.255.0  配置接口f0/0的IP地址及子网掩码

      no shutdown     激活接口f0/0

      interface loopback 0  进入环回接口l0

      ip addr 192.168.60.1 255.255.255.0  设置环回接口的IP地址及子网掩码

      no shutdown      激活环回接口

      exit          返回上一级(返回至全局配置模式) 

        router rip        启动RIP协议

      version 2        申明版本为2

      no auto-summary    去除路由自动汇总

      network 192.168.60.0  申明自身直连网络的网络号
      network 192.168.34.0       申明自身直连网络的网络号

  • 相关阅读:
    Swap 2 Variables in Python
    Python Static Method
    Longest Palindromic Substring-Dynamic Programing
    Config Static IP Address manually in Ubuntu
    network FAQ
    [Python] Send emails to the recepients specified in Message["CC"]
    Rare But Powerful Vim Commands.
    主机名 域名 网站名 URL
    Extracts
    关于hibernate一对一配置
  • 原文地址:https://www.cnblogs.com/LilacStrawberry/p/9213766.html
Copyright © 2011-2022 走看看