zoukankan      html  css  js  c++  java
  • DHCP中继

    拓扑如下:

    QQ截图20141203152158

    R0配置:

    (config)#ip dhcp pool aaa
    (dhcp-config)#network 8.8.8.0 255.255.255.0
    (dhcp-config)#default-router 8.8.8.1
    (dhcp-config)#dns-server 114.114.114.114
    
    (config)#ip dhcp pool bbb
    (dhcp-config)#network 88.88.88.0 255.255.255.0
    (dhcp-config)#default-router 88.88.88.1
    (dhcp-config)#dns-server 114.114.114.114
    
    (config)#ip dhcp excluded-address 8.8.8.1 8.8.8.100
    (config)#ip dhcp excluded-address 88.88.88.1 88.88.88.100
    
    (config)#interface GigabitEthernet0/0
    (config-if)#ip address 192.168.1.1 255.255.255.0
    
    (config)#router eigrp 100
    (config-router)#network 8.0.0.0
    (config-router)#network 192.168.1.0
    (config-router)#network 88.0.0.0

    R1配置:

    (config)#interface GigabitEthernet0/0
    (config-if)#ip address 192.168.1.2 255.255.255.0
    
    (config)#interface GigabitEthernet0/1
    (config-if)#ip address 8.8.8.1 255.255.255.0
    (config-if)#ip helper-address 192.168.1.1
    
    (config)#interface GigabitEthernet0/2
    (config-if)#ip address 88.88.88.1 255.255.255.0
    (config-if)#ip helper-address 192.168.1.1
    
    (config)#router eigrp 100
    (config-router)#network 8.0.0.0
    (config-router)#network 192.168.1.0
    (config-router)#network 88.0.0.0

    PC可获取IP

    1

    image

  • 相关阅读:
    Webpack探索【3】--- loader详解
    Webpack探索【2】--- 安装、项目初始化、webpack.config.js配置文件
    Redux
    Object.defineProperty
    Promise A/+ 简单实现
    css 布局
    Redis
    meta 详解
    sublime Text 3 快捷键
    Question
  • 原文地址:https://www.cnblogs.com/airoot/p/4140252.html
Copyright © 2011-2022 走看看