路由器全局配置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.

Huaweisysname DHCP-Server-global

DHCP-Server-globalundo info-center enable

Info: Information center is disabled.

DHCP-Server-globalinterface gigabitethernet 0/0/0

DHCP-Server-global-GigabitEthernet0/0/0ip add 172.16.0.2 24

DHCP-Server-global-GigabitEthernet0/0/0quit

DHCP-Server-globaldhcp enable

Info: The operation may take a few seconds. Please wait for a moment.done.

DHCP-Server-globalip pool jxskxy

Info:It's successful to create an IP address pool.

DHCP-Server-global-GigabitEthernet0/0/0quit

DHCP-Server-globalip pool jxskxy

DHCP-Server-global-ip-pool-jxskxynetwork 172.16.0.0 mask 24

DHCP-Server-global-ip-pool-jxskxydns-list 211.141.85.68

DHCP-Server-global-ip-pool-jxskxydns-list 8.8.8.8

DHCP-Server-global-ip-pool-jxskxygateway-list 172.16.0.2

DHCP-Server-global-ip-pool-jxskxyquit

DHCP-Server-globalint g0/0/0

DHCP-Server-global-GigabitEthernet0/0/0dhcp select global

DHCP-Server-global-GigabitEthernet0/0/0quit

DHCP-Server-globalquit

save

二、PC1和PC2自动获取IP 地址、网关和DNS





实验成功。

相关推荐
毕竟是shy哥2 小时前
计算YOLO数据集中每个类的目标数
算法·yolo·机器学习
M78佐菲2 小时前
Linux学习笔记:TCP协议
linux·笔记·学习·tcp/ip·算法
lilian2332 小时前
HarmonyOS 7 新特性(二十五)|智慧手势:意图识别与误触治理
华为·harmonyos
Brilliantwxx2 小时前
【Linux】 进程(9)程序与进程地址空间(基础+进阶+面试题)
linux·运维·服务器·开发语言·c++
不怕犯错,就怕不做3 小时前
git prune 自动删除本地记录中那些远程已经不存在的分支引用
linux·服务器·git
晊晌_h3 小时前
嵌入式从0到精通——数据结构总结[特殊字符]
数据结构·算法·排序算法
傲笑风4 小时前
【openvino】tinybert基于openvino服务化部署(四)
人工智能·python·自然语言处理·nlp·bert·openvino
weixin_416667964 小时前
【无标题】
运维·服务器·网络
我找到地球的支点啦4 小时前
Matlab系列(009) 一CRC循环冗余校验详解
开发语言·数据结构·算法·matlab·信息与通信
维基框架4 小时前
WIKI 知识库 v1.1.1 正式发布
人工智能·python