有偿求助 感谢各位大佬
s5024 e 配置三个vlan dhcp地址池
(0)
最佳答案
[H3C] dhcp enable
2)配置端口所属VLAN和对应VLAN接口的IP地址,IP地址即是对应VLAN的网关地址
[H3C]vlan 5
[H3C-vlan5]port GigabitEthernet 1/0/5
[H3C-vlan5]quit
[H3C]vlan 6
[H3C-vlan6]port GigabitEthernet 1/0/6
[H3C-vlan6]quit
[H3C]vlan 7
[H3C-vlan7]port GigabitEthernet 1/0/7
[H3C-vlan7]quit
[H3C]interface vlan 5
[H3C-Vlan-interface5]ip address 192.168.5.254 255.255.255.0
[H3C-Vlan-interface5]quit
[H3C]interface vlan 6
[H3C-Vlan-interface6]ip address 192.168.6.254 255.255.255.0
[H3C-Vlan-interface6]quit
[H3C]interface vlan 7
[H3C-Vlan-interface7]ip address 192.168.7.254 255.255.255.0
[H3C-Vlan-interface7]quit
3)配置不参与自动分配的IP地址(DNS服务器等,此步为选配)
[H3C] dhcp server forbidden-ip 192.168.5.100
[H3C] dhcp server forbidden-ip 192.168.6.100
[H3C] dhcp server forbidden-ip 192.168.7.100
4)配置DHCP地址池5,用来为192.168.5.0/24网段内的客户端分配IP地址。
[H3C-dhcp-pool-5] network 192.168.5.0 mask 255.255.255.0
[H3C-dhcp-pool-5] dns-list 8.8.8.8
[H3C-dhcp-pool-5] gateway-list 192.168.5.254
[H3C-dhcp-pool-5] quit
说明:如果有多个公网的DNS地址,命令可以如下方式输入
[H3C-dhcp-pool-5] dns-list 8.8.8.8 114.114.114.114
5)配置DHCP地址池6,用来为192.168.6.0/24网段内的客户端分配IP地址。
[H3C] dhcp server ip-pool 6
[H3C-dhcp-pool-6] network 192.168.6.0 mask 255.255.255.0
[H3C-dhcp-pool-6] dns-list 8.8.8.8
[H3C-dhcp-pool-6] gateway-list 192.168.6.254
[H3C-dhcp-pool-6] quit
6)配置DHCP地址池7,用来为192.168.7.0/24网段内的客户端分配IP地址。
[H3C] dhcp server ip-pool 7
[H3C-dhcp-pool-7] network 192.168.7.0 mask 255.255.255.0
[H3C-dhcp-pool-7] dns-list 8.8.8.8
[H3C-dhcp-pool-7] gateway-list 192.168.7.254
[H3C-dhcp-pool-7] quit
7)保存配置
[H3C]save force
(0)
dhcp enbla 错误
5024e不支持做dhcp server吧
你在社区里面搜一下轻轻松松配置交换机 里面自己大概看一下 搞一搞呗
(0)
不会啊 看命令输入没法开启 dhcp服务
不会啊 看命令输入没法开启 dhcp服务
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
5024e不支持做dhcp server吧