我安裝了 dhcp3-server
我修改了 /etc/dhcp3/dhcpd.conf , 如下
option domain-name "dhcp.kevin.org";
option domain-name-servers 168.95.1.1;
default-lease-time 600;
max-lease-time 7200;
subnet 192.168.1.0 netmask 255.255.255.0 {
option router 192.168.1.1;
option broadcast-address 192.168.1.255;
range 192.168.1.2 192.168.1.100;
}
也修改了 /etc/defualt/dhcp3-server 裡的設定
INTERFACES="eth0"
在 /etc/network/interfaces 設定如下
auto lo
iface lo inet loopback
auto eth1
iface eth1 inet static
address 211.22.66.248
netmask 255.255.255.0
gateway 211.22.66.241
auto eth0
iface eth0 inet static
address 192.168.1.1
我client是windows xp
我也設定自動取得IP
可是client就是要不到ip
有誰知道我哪裡設定錯了嗎?