中兴zxr10-3928三层交换机关于DHCP的配置
DHCP服务器配置:
1、配置IP地址池:
ip local pool vlan3 10.10.12.5 10.10.12.62 255.255.255.192
2、配置租期:
ip dhcp server leasetime 18000
3、DNS配置:
ip dhcp server dns 10.10.0.27 10.10.0.28
2、配置租期:
ip dhcp server leasetime 18000
3、DNS配置:
ip dhcp server dns 10.10.0.27 10.10.0.28
4、在接口上启用DHCP,并配置默认网关
int vlan 3
ip add 10.10.12.1 255.255.255.192
peer default ip pool vlan3
user-interface
ip dhcp server gateway 10.10.12.1服务器地址
5、全局启用DHCP服务器进程:
ip dhcp server enable
----------------------------------------
ip add 10.10.12.1 255.255.255.192
peer default ip pool vlan3
user-interface
ip dhcp server gateway 10.10.12.1服务器地址
5、全局启用DHCP服务器进程:
ip dhcp server enable
----------------------------------------
DHCP中继配置:
1、全局启用DHCP中继:
ip dhcp relay enable
2、接口上启用DHCP属性:
int vlan 2
ip add 192.168.0.1 255.255.255.0
user-interface
ip dhcp relay agent 192.168.0.1 //默认网关
ip dhcp relay server 192.168.0.254 //DHCP服务器地址
ip dhcp relay enable
2、接口上启用DHCP属性:
int vlan 2
ip add 192.168.0.1 255.255.255.0
user-interface
ip dhcp relay agent 192.168.0.1 //默认网关
ip dhcp relay server 192.168.0.254 //DHCP服务器地址
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论