路由器接口配置DHCP实验简述

一、路由器配置

Huawei\]undo info-center enable Info: Information center is disabled. \[DHCP-SERVER\]sysname DHCP-Server \[DHCP-Server\]dis this sysname DHCP-Server undo info-center enable return \[DHCP-Server\]dhcp enable Info: The operation may take a few seconds. Please wait for a moment.done. \[DHCP-Server\]dis this sysname DHCP-Server undo info-center enable dhcp enable return \[DHCP-Server\]int g0/0/0 \[DHCP-Server-GigabitEthernet0/0/0\]ip add 172.16.0.2 24 \[DHCP-Server-GigabitEthernet0/0/0\]dhcp select interface \[DHCP-Server-GigabitEthernet0/0/0\]dhcp server dns-list 221.141.85.68 \[DHCP-Server-GigabitEthernet0/0/0\]dhcp server dns-list 8.8.8.8 \[DHCP-Server-GigabitEthernet0/0/0\]quit \[DHCP-Server\]quit save The current configuration will be written to the device. Are you sure to continue?\[Y/N\]y Info: Please input the file name ( \*.cfg, \*.zip ) \[vrpcfg.zip\]: Now saving the current configuration to the slot 17. Save the configuration successfully. 二、PC1和PC2自动获取IP 地址、网关和DNS ![在这里插入图片描述](https://i-blog.csdnimg.cn/direct/d753b32987984ed7b4bd9c2a5fb63ff9.png) ![在这里插入图片描述](https://i-blog.csdnimg.cn/direct/6758a22607f64e0d8fa7740672624f2b.png) ![在这里插入图片描述](https://i-blog.csdnimg.cn/direct/866cf87c20d34cf8a38ce7051bd41688.png) ![](https://i-blog.csdnimg.cn/direct/45f4d5c94ae24e31b2e27eaf93359646.png) ![在这里插入图片描述](https://i-blog.csdnimg.cn/direct/39c3f9463be54f8d8954984f1c2cb1cf.png) ![在这里插入图片描述](https://i-blog.csdnimg.cn/direct/c2b8aba40df44e21aff7925992d619ae.png) 实验成功。

相关推荐
Selegant2 分钟前
告别传统部署:用 GraalVM Native Image 构建秒级启动的 Java 微服务
java·开发语言·微服务·云原生·架构
__万波__7 分钟前
二十三种设计模式(十三)--模板方法模式
java·设计模式·模板方法模式
动亦定7 分钟前
微服务中如何保证数据一致性?
java·数据库·微服务·架构
无限大.10 分钟前
为什么网站需要“域名“?——从 IP 地址到网址的演进
网络·网络协议·tcp/ip
长沙京卓10 分钟前
【无人机算法】低空经济下无人机巡检检测识别算法(城市、林业、水利)
算法·无人机
qq_3106585111 分钟前
mediasoup源码走读(十二)——router
服务器·c++·音视频
hn小菜鸡12 分钟前
LeetCode 1971.寻找图中是否存在路径
算法·leetcode·职场和发展
王桑.13 分钟前
Spring中IoC的底层原理
java·后端·spring
qq_2147826115 分钟前
GWalkR,部分替代Tableau!
ide·python·jupyter
BullSmall18 分钟前
Apache Doris 精细化调优配置指南
linux·运维·服务器·database