- 代碼: 選擇全部
Internet Systems Consortium DHCP Server 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Internet Systems Consortium DHCP Server 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Wrote 0 leases to leases file.
No subnet declaration for eth0:1 (no IPv4 addresses).
** Ignoring requests on eth0:1. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface eth0:1 is attached. **
Not configured to listen on any interfaces!
我的debian版本是squeeze,以下是我的設定,請各位幫我看看到底哪裡出錯了?謝謝。
/etc/dhcp/dhcpd.conf:
- 代碼: 選擇全部
ddns-update-style none;
option domain-name-servers 163.28.112.1 , 163.28.113.1;
default-lease-time 600;
max-lease-time 7200;
subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.1;
option broadcast-address 192.168.1.255;
range 192.168.1.100 192.168.1.200;
}
/etc/default/isc-dhcp-server:
- 代碼: 選擇全部
INTERFACES="eth0:1"
/etc/network/interfaces:
- 代碼: 選擇全部
auto lo
iface lo inet loopback
allow-hotplug eth0
auto eth0
iface eth0 inet static
address 140.116.71.185
netmask 255.255.255.0
gateway 140.116.71.253
auto eth0:1
iface eth0:1 inet static
address 192.168.1.1
netmask 255.255.255.0