3745路由器配置简单的dhcp server
   本文用的是GNS的模拟器来完成dhcp分配的,这款路由器的历史比较老了,然后用带dhcp snooping的交换机来完成监听功能。
   实现还是比较简单的,初学的同学有帮助哦。
(第一次没有分配的原因是地址池没有配置好)Gns上的7345 连在交换机上
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Router(dhcp-config)#network 192.168.1.0 255.255.255.0
Router(dhcp-config)#lease 0 12
Router(dhcp-config)#ex
Router(config)#ex
% Ambiguous command:  "ex"
Router(config)#exi
Router#
*Mar  1 00:12:19.047: %SYS-5-CONFIG_I: Configured from console by console
Router#sho run
Router#sho running-config
Building configuration...
Current configuration : 1357 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
ip cef
!
!
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.1.1 192.168.1.12
!
ip dhcp pool office
   network 192.168.1.0 255.255.255.0
   dns-server 211.98.2.4
   default-router 192.168.1.255
   lease 0 12
!
!
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
archive
 log config
  hidekeys
!
!
!
!
!
!
!
!
interface FastEthernet0/0
 ip address 192.168.1.1 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface FastEthernet1/0
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface Serial2/0
 no ip address
 shutdown
 no fair-queue
 serial restart-delay 0
!
interface Serial2/1
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial2/2
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial2/3
 no ip address
 shutdown
 serial restart-delay 0
!
ip forward-protocol nd
!
!
ip http server
no ip http secure-server
!
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
 exec-timeout 0 0
line aux 0
line vty 0 4
!
!
end
Pc机上的结果
见附近1
 
交换机上的结果
见附近2

转载于:https://blog.51cto.com/mandyc/603347

3745路由器配置简单的dhcp server相关推荐

  1. 华为交换机dhcp获取不到_华为S7706交换机DHCP Server 配置不成功问题

    f99b4cbdf76d478393de658f5c53f6ca-300x220.jpg (8.78 KB, 下载次数: 22) 华为S7706交换机DHCP Server 配置不成功问题 2016- ...

  2. H3C路由器配置DHCP

    [R2]dhcp enable 开启DHCP服务 [R2]dhcp server ip-pool a 进入IP池 [R2-dhcp-pool-a]network 12.1.1.0 mask 255.2 ...

  3. 实用window2008之七 :路由器配置应用实例

    在部署网络时,我们通常使用路由器来连接不同的网络,这时候首选的设备当然是思科或华为等硬件路由器,不过在小型网络中我们也可以使用Window Server 2008来扮演路由器的角色. 我们以下面的拓扑 ...

  4. 华为eNSP:DHCP的配置(接口dhcp和全局dhcp)

    一.拓扑图 二.路由器的配置 1.配置路由器左右接口IP <Huawei>system-view #进入系统模式 [Huawei]interface gigabitether 0/0/1 ...

  5. 思科路由器的DNS及DHCP功能

    我们知道,思科路由器以功能强大.负载能力强而著称,能更好地服务于网络.今天,我们在这里为大家介绍其两个特殊的应用,一起来看看吧. 一.DNS功能 在大型网络中一般都是需要部署DNS服务器的,而DNS是 ...

  6. 华为路由器qos car+nat+dhcp+vlan配置心得

    好久没有写博客了,也好久没有泡坛了,工作压力是大了很多,但实际上还是自己懒了很多,也比以前浮澡了很多,趁今天领导都去开会的机会,把昨天的帮客户解决网络问题的心得写一下,供大家参考,也希望大家提出宝贵意 ...

  7. cisco路由器 三层交换机简单环境配置实例(图)

    出处:http://www.jb51.NET/softjc/56600.html cisco路由器&三层交换机简单环境配置实例 一.网络拓扑图: 二.配置命令: 1.路由器的配置: inter ...

  8. 关于Cisco路由器配置DHCP全面详解

    了解一些关于路由器配置DHCP的知识还是很重要的,这里主要分析了Cisco路由器配置DHCP的主要步骤和配置语句.某单位使用Cisco 3620作为IOS DHCP Server,它和内网相连的fas ...

  9. 华为路由器console口加密 telnet远程登录 DHCP server在路由器中的两种写法

    console口加密 方法一 [Huawei]user-interface console 0 [Huawei-ui-console0]authentication-mode password Ple ...

最新文章

  1. 二叉排序树(完整代码)
  2. python3 中递归的最大次数
  3. 最小最大定理 java_Java基础50道经典练习题(35)——最大最小交换
  4. Python 爬虫原理实现自动google翻译
  5. Chrome 0 day漏洞利用链
  6. 华为手机像素密度排行_2020上半年手机芯片十大排行:华为麒麟990第四,骁龙865第一...
  7. 语句拼接_Linux 进阶语句
  8. Python压缩多个属于不同驱动器的文件夹至同一个zip文件
  9. springboot添加webmagic_SpringBoot+Solr + webmagic JD商品爬取数据,放入solr中做搜索
  10. #!/usr/bin/env python作用
  11. 顶目群定义及项目群管理
  12. 海康rtsp抓包分析
  13. MNIST手写数据,从训练到数据预测(keras)
  14. 简述php的特点,PHP语言有哪些优势和特点(三)
  15. cpu的核数和进程_多线程,多进程,多核总结
  16. redis哨兵模式(docker)
  17. 【pytest】pytest的Hook函数详解
  18. 第十章 PL/SQL对象类型
  19. 如何用软件模拟NGS数据
  20. js实现给定图片路径自动下载

热门文章

  1. GitHub引入联合提交者功能
  2. 数据源 No operations allowed after connection closed
  3. iOS走近商城APP(四 runloop应用 获取通讯录并处理)
  4. NumPy Essentials 带注释源码 三、NumPy 数组使用
  5. AC日记——信息传递 洛谷 P2661 (tarjan求环)
  6. 和lock一起学beego 博客系统开发为例(五)
  7. 解决Ext JS 4.1版本Tree在刷新时选择第一行的问题
  8. 用两种方法判断男性女性的存储过程
  9. 政府和银行运维的差异
  10. 承接iPhone,iPad开发外包(长期承接IPhone,IPad项目外包)