路由器全局配置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) 实验成功。

相关推荐
小白狮ww3 分钟前
RStudio 教程:以抑郁量表测评数据分析为例
人工智能·算法·机器学习
AAA修煤气灶刘哥5 分钟前
接口又被冲崩了?Sentinel 这 4 种限流算法,帮你守住后端『流量安全阀』
后端·算法·spring cloud
fatiaozhang95276 分钟前
中国移动浪潮云电脑CD1000-系统全分区备份包-可瑞芯微工具刷机-可救砖
android·网络·电脑·电视盒子·刷机固件·机顶盒刷机
萌虎不虎32 分钟前
【鸿蒙(openHarmony)自定义音频播放器的开发使用说明】
华为·音视频·harmonyos
李洋-蛟龙腾飞公司34 分钟前
HarmonyOSAI编程万能卡片生成(一)
华为·ai编程·harmonyos
tan180°36 分钟前
Boost搜索引擎 查找并去重(3)
linux·c++·后端·搜索引擎
yongui478341 小时前
CentOS系统如何查看当前内存容量
linux·运维·centos
Boop_wu1 小时前
[数据结构] 栈 · Stack
数据结构
ZZHow10241 小时前
02OpenCV基本操作
python·opencv·计算机视觉
kk”1 小时前
C语言快速排序
数据结构·算法·排序算法