Home | 簡體中文 | 繁體中文 | 雜文 | 打賞(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎專欄 | Search | Email

4.5. LAN 配置

4.5.1. DHCP Server

dhcp server ip-pool vlan1 extended
 network ip range 172.16.1.30 192.168.1.200
 network mask 255.255.255.0
 gateway-list 172.16.1.254
 dns-list 114.114.114.114 114.114.115.115
 domain-name netkiller.github.io
#
			

OpenDNS

[Netkiller-dhcp-pool-vlan1]di th
#
dhcp server ip-pool vlan1 extended
 network ip range 172.16.0.20 172.16.0.200
 network mask 255.255.255.0
 gateway-list 172.16.0.254
 dns-list 208.67.222.222 208.67.220.220 208.67.222.220 208.67.220.222
 domain-name netkiller.github.io
#
return
			

4.5.2. VLAN

interface Vlan-interface1
 ip address 172.16.1.254 255.255.255.0
 dhcp server apply ip-pool vlan1
#