zoukankan      html  css  js  c++  java
  • 补充实验1:dhcp服务器分配网关-路由器的静态路由优先级

    1.拓扑图如下

    1. RTB配置dhcp服务器
      [RTB]dhcp enable
      [RTB]dhcp server ip-pool 1
      [RTB-dhcp-pool-1]network 10.1.1.0 24
      [RTB-dhcp-pool-1]gateway-list 10.1.1.1
      2.RTA的ip地址使用dhcp动态获取
      [RTA-GigabitEthernet0/0]ip address dhcp-alloc
      [RTA]display interface brief
      Brief information on interfaces in route mode:
      Link: ADM - administratively down; Stby - standby
      Protocol: (s) - spoofing
      Interface Link Protocol Primary IP Description
      GE0/0 UP UP 10.1.1.2
      GE0/1 DOWN DOWN --
      GE0/2 DOWN DOWN --
      GE5/0 DOWN DOWN --
      GE5/1 DOWN DOWN --
      GE6/0 DOWN DOWN --
      GE6/1 DOWN DOWN --
      InLoop0 UP UP(s) --
      NULL0 UP UP(s) --
      REG0 UP -- --
      Ser1/0 DOWN DOWN --
      Ser2/0 DOWN DOWN --
      Ser3/0 DOWN DOWN --
      Ser4/0 DOWN DOWN --
    2. RTA的ip路由表
      [H3C]display iP routing-table

    Destinations : 13 Routes : 13

    Destination/Mask Proto Pre Cost NextHop Interface
    0.0.0.0/0 Static 70 0 10.1.1.1 GE0/0
    0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
    10.1.1.0/24 Direct 0 0 10.1.1.2 GE0/0
    10.1.1.0/32 Direct 0 0 10.1.1.2 GE0/0
    10.1.1.2/32 Direct 0 0 127.0.0.1 InLoop0
    10.1.1.255/32 Direct 0 0 10.1.1.2 GE0/0
    127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
    127.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
    127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
    127.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
    224.0.0.0/4 Direct 0 0 0.0.0.0 NULL0
    224.0.0.0/24 Direct 0 0 0.0.0.0 NULL0
    255.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
    //默认路由优先级为70

  • 相关阅读:
    换种方式思考问题
    win7 下的open live writer代码插件
    vue-todolist
    vue-新建项目出错情况分析
    vue新建项目
    AJAX(一、基本知识)
    2016年度工作总结
    常看常遇见之一——BS架构VS CS架构
    thinkjs——session
    关于Listener
  • 原文地址:https://www.cnblogs.com/akiz/p/11144566.html
Copyright © 2011-2022 走看看