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

相关推荐
winner88813 分钟前
Linux 软件安装 “命令密码本”:yum/apt/brew 一网打尽
linux·运维·服务器
九河云27 分钟前
软件开发平台 DevCloud
运维·服务器·数据库·科技·华为云
2401_8370885028 分钟前
stringRedisTemplate.opsForHash().entries
java·redis
firstacui33 分钟前
DNS高速缓存&分离解析
服务器
思麟呀1 小时前
Linux的基础IO流
linux·运维·服务器·开发语言·c++
星释1 小时前
Rust 练习册 :Pythagorean Triplet与数学算法
开发语言·算法·rust
星释2 小时前
Rust 练习册 :Nth Prime与素数算法
开发语言·算法·rust
lkbhua莱克瓦242 小时前
Java基础——集合进阶3
java·开发语言·笔记
报错小能手2 小时前
计算机网络自顶向下方法36——网络层 网络地址转换 网络安全(防火墙、入侵检测系统)
网络·计算机网络·智能路由器
蓝-萧2 小时前
使用Docker构建Node.js应用的详细指南
java·后端