这是我的/etc/dhcp3/dhclient.conf:
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, domain-search, host-name,
netbios-name-servers, netbios-scope, interface-mtu;
timeout 60;
alias {
interface "eth0";
fixed-address 192.168.1.222;
}
lease {
interface "eth0";
fixed-address 192.168.1.222;
option subnet-mask 255.255.255.0;
option broadcast-address 255.255.255.255;
option routers 192.168.1.254;
option domain-name-servers 192.168.1.254;
}
当我运行“dhclient eth0”时,我得到了这个:
There is already a pid file /var/run/dhclient.pid with pid 6511
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/eth0/00:1c:25:97:82:20
Sending on LPF/eth0/00:1c:25:97:82:20
Sending on Socket/fallback
DHCPREQUEST of 192.168.1.27 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.1.27 from 192.168.1.254
bound to 192.168.1.27 -- renewal in 1468 seconds.
我使用strace确保dhclient确实正在读取conf文件.为什么不注意我的“固定地址192.168.1.222”线?为什么它会为192.168.1.27执行DHCPREQUEST?