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

相关推荐
江畔何人初4 小时前
iptables 和 IPVS 代理模式 Service 的区别
linux·运维·服务器·网络·云原生·kubernetes·代理模式
房开民6 小时前
c++总结
java·开发语言·c++
好大哥呀6 小时前
C++ 多态
java·jvm·c++
毕设源码-赖学姐6 小时前
【开题答辩全过程】以 基于Java的医院器材管理系统的设计与实现为例,包含答辩的问题和答案
java·开发语言
Cha0DD6 小时前
【由浅入深探究langchain】第二十集-SQL Agent+Human-in-the-loop
人工智能·python·ai·langchain
Cha0DD6 小时前
【由浅入深探究langchain】第十九集-官方的SQL Agent示例
人工智能·python·ai·langchain
float_com6 小时前
【java常用API】----- Arrays
java·开发语言
七度黑光7 小时前
用 openclaw 给故障复盘打分:质量审核自动化实践
运维·服务器·前端·数据库·自动化
xuefeiniao7 小时前
docker.desktop无法启动,导出镜像后
服务器·docker
123过去7 小时前
nfc-list使用教程
linux·网络·测试工具·安全