我尝试设定以下的DHCP但是讨不到ip
/etc/dhcp/dhcpd.conf
subnet 172.16.100.0 netmask 255.255.255.0 {
range 172.16.100.101 172.16.100.200;
option broadcast-address 172.16.100.255;
option routers 172.16.100.1;
default-lease-time 600;
max-lease-time 7200;
option domain-name "local";
option domain-name-servers 168.95.192.1, 168.95.1.1;
}
/etc/network/interfaces
wlan0:172.16.100.1
我改10的网段就有成功了(下面有补充)
想请教我上面的设定有哪里比较不妥吗