路由器接口配置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




实验成功。

相关推荐
aristo_boyunv几秒前
【线程池】ThreadPoolExecutor应用
java·线程池·并发
乌云暮年3 分钟前
【计组】数据的表示与运算
笔记·算法·计算机组成原理
一叶祇秋4 分钟前
Leetcode - 139双周赛
算法·leetcode·职场和发展
lsnm4 分钟前
<刷题笔记> 力扣236题——二叉树的公共祖先
c++·笔记·b树·算法·leetcode
学技术的大胜嗷14 分钟前
pycharm连接远程linux服务器上的docker进行深度学习训练
linux·服务器·pytorch·python·深度学习·神经网络·pycharm
Ven%18 分钟前
深度学习速通系列:TextCNN介绍
人工智能·python·深度学习·自然语言处理·nlp
.Net Core 爱好者19 分钟前
ASP .NET CORE 6 项目实现WebSocket通信实践
网络·websocket·网络协议·c#·.net·.netcore·visual studio
Mr.kanglong27 分钟前
【LeetCode热题100】位运算
算法·leetcode
Gabriel Drop Out28 分钟前
10年408考研真题-数据结构
数据结构·考研
工程师老罗29 分钟前
Java笔试面试题AI答之设计模式(4)
java·开发语言·设计模式