*** Please type your report below this line ***
I change
option routers 192.168.100.1;
and restart the dhcp3 server:
/etc/init.d/dhcp3-server restart
Lease time is 600 seconds, so clients renew pretty fast but continue
to use the old router.
Mar 9 17:52:58 alice dhclient: DHCPREQUEST on eth0 to 192.168.100.9
port 67
Mar 9 17:52:58 alice dhclient: DHCPACK from 192.168.100.9
Mar 9 17:52:58 alice dhclient: bound to 192.168.100.107 -- renewal in
272 secon ds.
Mar 9 17:56:27 alice dhclient: DHCPREQUEST on eth0 to 192.168.100.9
port 67
Mar 9 17:56:27 alice dhclient: DHCPACK from 192.168.100.9
Mar 9 17:56:27 alice dhclient: bound to 192.168.100.107 -- renewal in
276 secon ds.
Mar 9 17:56:27 alice NetworkManager: <information>^IDHCP daemon state
is now 3 (renew) for interface eth0
Mar 9 17:57:30 alice dhclient: DHCPREQUEST on eth0 to 192.168.100.9
port 67
Mar 9 17:57:30 alice dhclient: DHCPACK from 192.168.100.9
Mar 9 17:57:30 alice dhclient: bound to 192.168.100.107 -- renewal in
291 secon ds.
Mar 9 18:01:03 alice dhclient: DHCPREQUEST on eth0 to 192.168.100.9
port 67
Mar 9 18:01:03 alice dhclient: DHCPACK from 192.168.100.9
Mar 9 18:01:03 alice dhclient: bound to 192.168.100.107 -- renewal in
238 secon ds.
Mar 9 18:01:03 alice NetworkManager: <information>^IDHCP daemon state
is now 3 (renew) for interface eth0
Mar 9 18:02:21 alice dhclient: DHCPREQUEST on eth0 to 192.168.100.9
port 67
Mar 9 18:02:21 alice dhclient: DHCPACK from 192.168.100.9
Mar 9 18:02:21 alice dhclient: bound to 192.168.100.107 -- renewal in
228 secon ds.
Mar 9 18:05:01 alice dhclient: DHCPREQUEST on eth0 to 192.168.100.9
port 67
Mar 9 18:05:01 alice dhclient: DHCPACK from 192.168.100.9
Mar 9 18:05:01 alice dhclient: bound to 192.168.100.107 -- renewal in
274 secon ds.
Mar 9 18:05:01 alice NetworkManager: <information>^IDHCP daemon state
is now 3 (renew) for interface eth0
Mar 9 18:06:09 alice dhclient: DHCPREQUEST on eth0 to 192.168.100.9
port 67
Mar 9 18:06:09 alice dhclient: DHCPACK from 192.168.100.9
Mar 9 18:06:09 alice dhclient: bound to 192.168.100.107 -- renewal in
243 secon ds.
Mar 9 18:09:35 alice dhclient: DHCPREQUEST on eth0 to 192.168.100.9
port 67
Mar 9 18:09:35 alice dhclient: DHCPACK from 192.168.100.9
Mar 9 18:09:35 alice dhclient: bound to 192.168.100.107 -- renewal in
231 secon ds.
Mar 9 18:09:35 alice NetworkManager: <information>^IDHCP daemon state
is now 3 (renew) for interface eth0
Mar 9 18:10:12 alice dhclient: DHCPREQUEST on eth0 to 192.168.100.9
port 67
Mar 9 18:10:12 alice dhclient: DHCPACK from 192.168.100.9
Mar 9 18:10:12 alice dhclient: bound to 192.168.100.107
But client uses the old router until I do ifdown and ifup on the client:
alice:/home/tale# date ; netstat -rn
su 9.3.2008 18:03:21 +0200
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window
irtt Iface
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0
0 eth0
0.0.0.0 192.168.100.2 0.0.0.0 UG 0 0
0 eth0
alice:/home/tale# date ; netstat -rn
su 9.3.2008 18:08:16 +0200
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window
irtt Iface
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0
0 eth0
0.0.0.0 192.168.100.2 0.0.0.0 UG 0 0
0 eth0
alice:/home/tale# date ; netstat -rn
su 9.3.2008 18:10:00 +0200
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window
irtt Iface
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0
0 eth0
0.0.0.0 192.168.100.2 0.0.0.0 UG 0 0
0 eth0
alice:/home/tale# date ; netstat -rn
su 9.3.2008 18:10:17 +0200
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window
irtt Iface
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0
0 eth0
0.0.0.0 192.168.100.2 0.0.0.0 UG 0 0
0 eth0
alice:/home/tale# ifcown eth0
bash: ifcown: command not found
alice:/home/tale# ifdown eth0
There is already a pid file /var/run/dhclient.eth0.pid with pid 26892
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth0/00:1d:60:24:9a:a7
Sending on LPF/eth0/00:1d:60:24:9a:a7
Sending on Socket/fallback
DHCPRELEASE on eth0 to 192.168.100.9 port 67
alice:/home/tale# ifup eth0
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth0/00:1d:60:24:9a:a7
Sending on LPF/eth0/00:1d:60:24:9a:a7
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPOFFER from 192.168.100.9
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.100.9
bound to 192.168.100.107 -- renewal in 294 seconds.
alice:/home/tale# date ; netstat -rn
su 9.3.2008 18:10:36 +0200
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window
irtt Iface
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0
0 eth0
0.0.0.0 192.168.100.1 0.0.0.0 UG 0 0
0 eth0
My understanding of ISC DHCP is that a client should change its
configuration, if needed, when it renews the lease.
Both client and server are running Etch, updated.