DHCP服务器设置
2021/7/24 6:08:07
本文主要是介绍DHCP服务器设置,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
以三层交换机作为DHCP服务器
所有设备均用交换机代替
对DHCP服务器进行设置
<Huawei>sys Enter system view, return user view with Ctrl+Z. [Huawei]undo inf e Info: Information center is disabled. [Huawei]sys DHCP [DHCP]dhcp en [DHCP]ip pool vlan100 [DHCP-ip-pool-vlan100]network 192.168.1.0 mask 24 [DHCP-ip-pool-vlan100]gateway-list 192.168.1.1 [PC]int vlanif1 [PC-Vlanif1]ip add 192.168.1.1 24 [PC-Vlanif1]dhcp select global
对PC机设置,
<Huawei>sys Enter system view, return user view with Ctrl+Z. [Huawei]undo inf e Info: Information center is disabled. [Huawei]sys PC [PC]dhcp en [PC]int vlanif1 [PC-Vlanif1]ip ad dhcp-alloc [PC-Vlanif1]dis ip int br *down: administratively down ^down: standby (l): loopback (s): spoofing The number of interface that is UP in Physical is 2 The number of interface that is DOWN in Physical is 1 The number of interface that is UP in Protocol is 2 The number of interface that is DOWN in Protocol is 1 Interface IP Address/Mask Physical Protocol MEth0/0/1 unassigned down down NULL0 unassigned up up(s) Vlanif1 192.168.1.254/24 up up
中间的交换机可以不设置
路由器做DHCP
这篇关于DHCP服务器设置的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-10-04el-table 开启定时器下,表格的选中状态会消失是什么原因-icode9专业技术文章分享
- 2024-10-03如何安装和初始化飞牛私有云 fnOS?-icode9专业技术文章分享
- 2024-10-03如何安装 App 并连接到飞牛 NAS?-icode9专业技术文章分享
- 2024-10-03如何安装飞牛 TV 并连接到影视服务器?-icode9专业技术文章分享
- 2024-10-03如何在PVE和ESXI上安装飞牛私有云 fnOS?-icode9专业技术文章分享
- 2024-10-03fnOS国产最强NAS安装系统异常情况处理-icode9专业技术文章分享
- 2024-10-03飞牛NAS如何创建存储空间?-icode9专业技术文章分享
- 2024-10-03fnOS国产最强NAS硬盘会自动休眠吗?-icode9专业技术文章分享
- 2024-10-03fnOS国产最强NAS如何安装飞牛影视和创建媒体库?-icode9专业技术文章分享
- 2024-10-03fnOS国产最强NAS如何为家人朋友开通影视账号?-icode9专业技术文章分享