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-12-22怎么通过控制台去看我的页面渲染的内容在哪个文件中呢-icode9专业技术文章分享
- 2024-12-22el-tabs 组件只被引用了一次,但有时会渲染两次是什么原因?-icode9专业技术文章分享
- 2024-12-22wordpress有哪些好的安全插件?-icode9专业技术文章分享
- 2024-12-22wordpress如何查看系统有哪些cron任务?-icode9专业技术文章分享
- 2024-12-21Svg Sprite Icon教程:轻松入门与应用指南
- 2024-12-20Excel数据导出实战:新手必学的简单教程
- 2024-12-20RBAC的权限实战:新手入门教程
- 2024-12-20Svg Sprite Icon实战:从入门到上手的全面指南
- 2024-12-20LCD1602显示模块详解
- 2024-12-20利用Gemini构建处理各种PDF文档的Document AI管道