我需要配置DHCP 中继,一直不成功,文档只有三条命令,一直操作不对,我理解的是在电脑所在的VLAN 网关,或是接口做DHCP 中继,DHCP服务器IP与VLAN 网关不能相同网段,比如服务器是1.1.1.1 ,服务器上的DHCP 网段可以是2.2.2.2 3.3.3.3 等 多网段,但是一直不通,有人给下详细配置吗,急呀
(0)
最佳答案
我给你测试下然后发配置过来,等下哈
(0)
server: # dhcp enable # # dhcp server ip-pool vlan3 gateway-list 2.2.2.1 network 2.2.2.0 mask 255.255.255.0 dns-list 8.8.8.8 # # ip route-static 2.2.2.0 24 1.1.1.2 # relay: # dhcp enable # # interface Vlan-interface3 ip address 2.2.2.1 255.255.255.0 dhcp select relay dhcp relay server-address 1.1.1.1 # 现象: [server]dis dhcp server ip-in-use IP address Client identifier/ Lease expiration Type Hardware address 2.2.2.2 0030-3466-392e-6130- Jan 2 01:34:03 2018 Auto(C) 3138-2e30-3330-352d- 4745-302f-30 [server]
server: # dhcp enable # # dhcp server ip-pool vlan3 gateway-list 2.2.2.1 network 2.2.2.0 mask 255.255.255.0 dns-list 8.8.8.8 # # ip route-static 2.2.2.0 24 1.1.1.2 # relay: # dhcp enable # # interface Vlan-interface3 ip address 2.2.2.1 255.255.255.0 dhcp select relay dhcp relay server-address 1.1.1.1 # 现象: [server]dis dhcp server ip-in-use IP address Client identifier/ Lease expiration Type Hardware address 2.2.2.2 0030-3466-392e-6130- Jan 2 01:34:03 2018 Auto(C) 3138-2e30-3330-352d- 4745-302f-30 [server]
server: # dhcp enable # # dhcp server ip-pool vlan3 gateway-list 2.2.2.1 network 2.2.2.0 mask 255.255.255.0 dns-list 8.8.8.8 # # ip route-static 2.2.2.0 24 1.1.1.2 # relay: # dhcp enable # # interface Vlan-interface3 ip address 2.2.2.1 255.255.255.0 dhcp select relay dhcp relay server-address 1.1.1.1 # 现象: [server]dis dhcp server ip-in-use IP address Client identifier/ Lease expiration Type Hardware address 2.2.2.2 0030-3466-392e-6130- Jan 2 01:34:03 2018 Auto(C) 3138-2e30-3330-352d- 4745-302f-30 [server]
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
实际测试没有问题,你核对下配置呢