伺服器的IP是192.168.1.1 和 192.168.2.1 兩個IP,支援兩個不同的網段 192.168.1.0 192.168.2.0
支援網卡遠端啟動ltsp。 下面是dhcp3 服務的監聽網卡。
$ cat /etc/dhcp3/dhcpd.conf
&HTTP://www.aliyun.com/zixun/aggregation/37954.html">nbsp;
ddns-update-style 56.html">none; option domain-name "******"; default-lease-time 60000; max-lease-time 720000; subnet 192.168.2.0 netmask 255.255.255.0 { range 192.168.2.10 192.168.2.250; option routers 192.168.2.1; option domain-name-servers 192.168.2.1, 202.96.128.143, 211.95.193.97; filename "/ltsp/pxelinux.0"; option root-path "/opt/ltsp/i386"; host user1 { hardware ethernet **:**:**:**: **:**; fixed-address 192.168.2.2; } } subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.10 192.168.1.250; option routers 192.168.1.1; option domain-name-servers 192.168.1.1, 202.96.128.143, 211.95.193.97; filename "/ltsp/pxelinux.0"; option root-path "/opt/ltsp/i386"; host user2 { hardware ethernet **:**:**:**: **:**; fixed-address 192.168.1.2; } } authoritative; log-facility local7;
$ cat /etc/default/dhcp3-server
INTERFACES="eth0 eth1"