路由器全局配置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 ![在这里插入图片描述](https://i-blog.csdnimg.cn/direct/fedab93966694156b5d89723f4417606.png) ![在这里插入图片描述](https://i-blog.csdnimg.cn/direct/9ac518a5972c4a4db5af596de9f9df55.png) ![在这里插入图片描述](https://i-blog.csdnimg.cn/direct/e43ace81995d4d88abac37e9f4a044d8.png) ![在这里插入图片描述](https://i-blog.csdnimg.cn/direct/6dc33f9e96f5496dba3beb84f820ecf9.png) ![在这里插入图片描述](https://i-blog.csdnimg.cn/direct/6a74024e62e149e9b7c6681076bb3d9e.png) ![在这里插入图片描述](https://i-blog.csdnimg.cn/direct/ba4e5c80594c437aae56d8ed72773b5b.png) 实验成功。

相关推荐
橘子在努力8 分钟前
【橘子大模型】关于PromptTemplate
python·ai·llama
网络研究院10 分钟前
ChatGPT 的新图像生成器非常擅长伪造收据
网络·人工智能·安全·chatgpt·风险·技术·欺诈
SheepMeMe26 分钟前
蓝桥杯2024省赛PythonB组——日期问题
python·算法·蓝桥杯
随便昵称26 分钟前
蓝桥杯专项复习——前缀和和差分
c++·算法·前缀和·蓝桥杯
脑子慢且灵31 分钟前
蓝桥杯冲刺:一维前缀和
算法·leetcode·职场和发展·蓝桥杯·动态规划·一维前缀和
莓事哒35 分钟前
selenium和pytessarct提取古诗文网的验证码(python爬虫)
爬虫·python·selenium·测试工具·pycharm
国货崛起43 分钟前
华为2024年营收逼近历史峰值:终端业务复苏、智能汽车爆发式增长
华为·汽车
姜威鱼1 小时前
蓝桥杯python编程每日刷题 day 21
数据结构·算法·蓝桥杯
小吃饱了1 小时前
TCP可靠性传输
网络·网络协议·tcp/ip
CYRUS STUDIO1 小时前
Unidbg Trace 反 OLLVM 控制流平坦化(fla)
android·汇编·算法·网络安全·逆向·ollvm