zoukankan      html  css  js  c++  java
  • 利用环回地址测试

    实验要求:设置环回地址,并测试

    拓扑如下:

    配置如下:

    Router1

    enable  进入特权模式

    configure terminal  进入全局模式

    interface s0/0/0  进入端口

    ip address 192.168.1.1 255.255.255.0  设置IP地址

    no shutdown   开启端口

    interface l0  进入并开启环回端口

    ip address 192.168.3.1 255.255.255.0  设置IP地址

    exit  返回上一级

    ip route 192.168.2.0 255.255.255.0 192.168.1.2  设置静态路由(以便测试) 

    ip route 192.168.4.0 255.255.255.0 192.168.1.2  设置静态路由(以便测试)

    Router2

    enable   进入特权模式

    configure terminal   进入全局模式

    interface s0/0/0  进入端口

    ip address 192.168.1.2 255.255.255.0  设置IP地址 

    clock rate 64000  设置同步时钟

    no shutdown   开启端口

    interface s0/0/1  进入端口

    ip address 192.168.2.1 255.255.255.0  设置IP地址

    clock rate 64000  设置同步时钟

    no shutdown   开启端口

    exit   返回上一级

    ip route 192.168.3.0 255.255.255.0 192.168.1.1  设置静态路由(以便测试)

    ip route 192.168.4.0 255.255.255.0 192.168.2.2  设置静态路由(以便测试)

    Router3

    enable  进入特权模式

    configure terminal  进入全局模式

    interface s0/0/0  进入端口

    ip address 192.168.2.2 255.255.255.0  设置IP地址

    no shutdown   开启端口

    interface l0  进入并开启环回端口

    ip address 192.168.4.1 255.255.255.0  设置IP地址 

    exit   返回上一级

    ip route 192.168.1.0 255.255.255.0 192.168.2.1  设置静态路由(以便测试)

    ip route 192.168.3.0 255.255.255.0 192.168.2.1  设置静态路由(以便测试)

  • 相关阅读:
    Weex系列-入门2
    Weex系列-入门1
    Android ClassLoader笔记(二)
    Android ClassLoader笔记(一)
    Android-DataBinding入门系列(一)基本介绍
    Fiddler简单介绍
    colorWithPatternImage导致的图片错位问题
    自定义view-滑动开关
    ios设置行间距和部分文本颜色
    办公利器-一行代码搞定http服务
  • 原文地址:https://www.cnblogs.com/guoshiyu/p/9207756.html
Copyright © 2011-2022 走看看