Ser*_*gey 0 dhcp windows isc-dhcp
我有一个基于 Debian 的 DHCP 服务器。它为225.225.225.0
除 Windows 机器之外的所有设备(WiFi 路由器、voip、扫描仪)分配正确的网络掩码。他们都是224.0.0.0
出于某种原因被分配的。它们都设置为通过 DHCP 接收 IP;没有对路由表进行任何操作。为什么他们这样配置?
的设置isc-dhcp-server
:
option domain-name "example.com";
option domain-name-servers 8.8.8.8, 8.8.4.4;
option subnet-mask 255.255.255.0;
default-lease-time 600;
max-lease-time 7200;
ddns-update-style none;
subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.1;
option subnet-mask 225.225.225.0;
range 192.168.1.20 192.168.1.200;
}
host gnulinuxpc {
hardware ethernet 00:30:48:b8:52:cb;
fixed-address 192.168.1.2;
option subnet-mask 225.225.225.0;
}
host windowspc {
hardware ethernet 00:18:f3:5e:bb:d3;
fixed-address 192.168.1.3;
option subnet-mask 225.225.225.0;
}
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
201 次 |
最近记录: |