[Pkg-utopia-maintainers] Bug#492109: [network-manager] network-manager overrides lack of default gateway from dhcp

C. Dominik Bodi dominik.bodi at gmx.de
Wed Jul 23 19:07:54 UTC 2008


Package: network-manager
Version: 0.6.6-2
Severity: normal

--- Please enter the report below this line. ---
I use network-manager-kde to connect to a private wireless LAN of mine. The 
wireless LAN uses a reserved network address space and its DHCP server is 
deliberately configured not to pass on a default gateway when assigning 
leases.

However, when using network-manager to connect to that WLAN, I can see a 
default gateway has been added to the routing table, its address being what 
you would expect: 192.168.x.254. This does not happen when connecting to that 
WLAN using ifupdown.

When  assigning a non-standard default gateway address ( e.g. 192.168.x.25 ) 
in the DHCP server's config, that default gateway will correctly be added to 
the routing table, though.

network-manager should not second-guess the DHCP server not handing out an 
address for a default gateway. First of all, no such default gateway might 
exist in that network, or even worse, the default gateway might have a 
different address than x.y.z.254.

In case of broken dhcp servers mistakenly not handing out default gateway 
addresses, network-manager GUIs could provide for an option that lets the 
user decide whether she wants to have a default gateway route added to the 
routing table or not. 

Regards,
C. Dominik Bodi
--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.26-hirsch-1

Debian Release: lenny/sid

--- Package information. ---
Depends                   (Version) | Installed
===================================-+-===============
libc6                    (>= 2.7-1) | 2.7-12
libdbus-1-3              (>= 1.0.2) | 1.2.1-2
libdbus-glib-1-2          (>= 0.71) | 0.76-1
libgcrypt11              (>= 1.4.0) | 1.4.1-1
libglib2.0-0            (>= 2.16.0) | 2.16.4-2
libgpg-error0              (>= 1.4) | 1.4-2
libhal1                (>= 0.5.8.1) | 0.5.11-2
libiw29              (>= 28+29pre7) | 29-1
libnl1                              | 1.1-2
libnm-util0                         | 0.6.6-2
iproute                             | 20080417-1
dhcdbd                  (>= 1.12-2) | 3.0-4
lsb-base                 (>= 3.0-6) | 3.2-15
wpasupplicant            (>= 0.4.8) | 0.6.4~git20080716.93ef879-1
dbus                      (>= 0.60) | 1.2.1-2
hal                    (>= 0.5.7.1) | 0.5.11-2
ifupdown                            | 0.6.8+nmu1
adduser                             | 3.108







More information about the Pkg-utopia-maintainers mailing list