当前位置: 首页 > article >正文

路由器全局配置DHCP实验简述

在这里插入图片描述
一、路由器配置

reset saved-configuration
Warning: The action will delete the saved configuration in the device.
The configuration will be erased to reconfigure. Continue? [Y/N]:y
Warning: Now clearing the configuration in the device.
Info: Succeeded in clearing the configuration in the device.
reboot
Info: The system is now comparing the configuration, please wait.
Warning: All the configuration will be saved to the configuration file for the n
ext startup:, Continue?[Y/N]:
Error: Please choose ‘YES’ or ‘NO’ first before pressing ‘Enter’. [Y/N]:n
Info: If want to reboot with saving diagnostic information, input ‘N’ and then e
xecute ‘reboot save diagnostic-information’.
System will reboot! Continue?[Y/N]:y


sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname DHCP-Server-global
[DHCP-Server-global]undo info-center enable
Info: Information center is disabled.
[DHCP-Server-global]interface gigabitethernet 0/0/0
[DHCP-Server-global-GigabitEthernet0/0/0]ip add 172.16.0.2 24
[DHCP-Server-global-GigabitEthernet0/0/0]quit
[DHCP-Server-global]dhcp enable
Info: The operation may take a few seconds. Please wait for a moment.done.
[DHCP-Server-global]ip pool jxskxy
Info:It’s successful to create an IP address pool.
[DHCP-Server-global-GigabitEthernet0/0/0]quit
[DHCP-Server-global]ip pool jxskxy
[DHCP-Server-global-ip-pool-jxskxy]network 172.16.0.0 mask 24
[DHCP-Server-global-ip-pool-jxskxy]dns-list 211.141.85.68
[DHCP-Server-global-ip-pool-jxskxy]dns-list 8.8.8.8
[DHCP-Server-global-ip-pool-jxskxy]gateway-list 172.16.0.2
[DHCP-Server-global-ip-pool-jxskxy]quit
[DHCP-Server-global]int g0/0/0
[DHCP-Server-global-GigabitEthernet0/0/0]dhcp select global
[DHCP-Server-global-GigabitEthernet0/0/0]quit
[DHCP-Server-global]quit
save

二、PC1和PC2自动获取IP 地址、网关和DNS
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
实验成功。


http://www.kler.cn/news/319613.html

相关文章:

  • MySQL篇(视图)(持续更新迭代)
  • CANopen通讯协议笔记
  • 制作一个能对话能跳舞的otto机器人
  • SentencePiece进行文本分类
  • 大数据-147 Apache Kudu 常用 Java API 增删改查
  • 二进制位运算题
  • python库 | lxml库
  • Python_yield
  • 【项目实战】如何在项目中自定义错误码
  • VisualStudio编译时出现无法启动mt.exe
  • C++之spring
  • Codeforces Round 973 (Div. 2) C. Password Cracking
  • 抓取股票数据
  • 28岁打算转行靠谱么,这个年龄转行,有什么适合的行业么?
  • opencv滤波算法总结
  • Linux挂载命令
  • Docker 的安装部署与基本使用
  • Apache CVE-2021-41773 漏洞攻略
  • What is the new in C#11?
  • 验收测试:从需求到交付的全程把控!
  • BERT训练环节(代码实现)
  • 通过docker启动ElasticSearch后为ElasticSearch设置用户和密码
  • 分享课程:VUE数据可视化教程
  • vant_UI的选择时间小组件封装
  • excel VBA进行间比法设计
  • 运行python程序
  • 初识前端监控
  • C++如何进阶? -- 整理一些学习资料
  • 基于stm32物联网身体健康检测系统
  • LeetCode 909. 蛇梯棋