Subject: dhcp3-client: Changing option routers on dhcp3 server, but clients do 
not change routing table after renew
Package: dhcp3-client
Version: 3.0.4-13
Severity: normal

*** 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.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)

Versions of packages dhcp3-client depends on:
ii  debconf [debconf-2.0]  1.5.11etch1       Debian configuration management sy
ii  debianutils            2.17              Miscellaneous utilities specific t
ii  dhcp3-common           3.0.4-13          Common files used by all the dhcp3
ii  libc6                  2.3.6.ds1-13etch5 GNU C Library: Shared libraries

dhcp3-client recommends no packages.

-- debconf information:
  dhcp3-client/dhclient-needs-restarting:
  dhcp3-client/dhclient-script_moved:



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to