Home | 简体中文 | 繁体中文 | 杂文 | Search | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 作品与服务 | Email

8.5. DHCP

		
set interface ethernet1 dhcp server service  //在接口1开启dhcp服务
set interface ethernet1 dhcp server enable  //在接口1开启dhcp服务
set interface ethernet1 dhcp server option lease 1440000  //设置dhcp服务租期
set interface ethernet1 dhcp server option gateway 192.168.0.2
set interface ethernet1 dhcp server option netmask 255.255.255.0
set interface ethernet1 dhcp server option dns1 202.96.209.5
set interface ethernet1 dhcp server option dns2 202.96.209.133
set interface ethernet1 dhcp server ip 192.168.0.10 to 192.168.0.100   //dhcp地址池
		
		

DMZ 口 DHCP

set interface ethernet0/3 dhcp server service
set interface ethernet0/3 dhcp server enable
set interface ethernet0/3 dhcp server option lease 1440
set interface ethernet0/3 dhcp server option gateway 10.10.0.254
set interface ethernet0/3 dhcp server option netmask 255.255.255.0
set interface ethernet0/3 dhcp server option dns1 208.67.222.222
set interface ethernet0/3 dhcp server option dns2 208.67.220.220
set interface ethernet0/3 dhcp server option dns3 8.8.8.8
set interface ethernet0/3 dhcp server ip 10.10.0.200 to 10.10.0.250
set interface ethernet0/3 dhcp server config next-server-ip
		
comments powered by Disqus