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

一、路由器配置

Huaweiundo info-center enable

Info: Information center is disabled.

DHCP-SERVERsysname DHCP-Server

DHCP-Serverdis this

sysname DHCP-Server

undo info-center enable

return

DHCP-Serverdhcp enable

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

DHCP-Serverdis this

sysname DHCP-Server

undo info-center enable

dhcp enable

return

DHCP-Serverint g0/0/0

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

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

DHCP-Server-GigabitEthernet0/0/0dhcp server dns-list 221.141.85.68

DHCP-Server-GigabitEthernet0/0/0dhcp server dns-list 8.8.8.8

DHCP-Server-GigabitEthernet0/0/0quit

DHCP-Serverquit

save

The current configuration will be written to the device.

Are you sure to continue?Y/Ny

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




实验成功。

相关推荐
z1234567898610 小时前
2026最新两款AI编程工具深度对比实测
java·数据库·ai编程
兜客互动10 小时前
2026年AI关键词拓展挖掘软件,高效助力内容创作精准获流
人工智能·python
weixin_5386019710 小时前
智能体测开Day30pytest测试框架
python
MC皮蛋侠客10 小时前
uv 系列(七):CI/CD、Docker 与私有索引——生产级交付
python·ci/cd·docker·uv
心运软件10 小时前
银行客户流失预测(Python 完整实战)
算法
邪神与厨二病10 小时前
牛客周赛 Round 153
python·算法
yaoxin52112310 小时前
470. Java 反射 - Member 接口与 AccessFlag
java·开发语言·python
groundhappy10 小时前
idalib安装和codex ida-mcp配置
linux·开发语言·python
做个文艺程序员11 小时前
Linux第24篇:Java应用监控体系搭建:Prometheus+Grafana可视化运维
java·grafana·prometheus
数智化管理手记11 小时前
账龄分析手工统计易遗漏?自动账龄分析工具怎么搭建
大数据·网络·数据库·人工智能·数据挖掘