[Pkg-utopia-maintainers] Bug#693512: Bug#693512: network-manager: Network manager does not remove default routes

Michael Biebl biebl at debian.org
Sun Nov 18 10:58:26 UTC 2012


Am 17.11.2012 12:28, schrieb Miguel Angel:
> Package: network-manager
> Version: 0.9.4.0-6
> Severity: normal
> 
> I have 2 connections in my computer:
> 
> eth0  : physical connectivity
> wlan0 : wireless connectivity
> 
> I used to connect to my network through a physical connection but it is not in place anymore, so I decided to connect through wifi (wlan0). 
> Network-manager is not removing the default routing I had before and every time I would like to connect I have to manually remove this route.
> As far as I understand from the network-manager, this should be automatically done by network-manager (removing and adding default new routes depending on current network connection)
> 
> Here you have the example:
> 
> /* System has booted up*/
> 
> $ netstat -nr
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
> 0.0.0.0         192.168.2.1     0.0.0.0         UG        0 0          0 eth0
> 192.168.2.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0
> 
> /* I connect to my wifi connection through network manager in KDE */
> 
> # netstat -nr
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
> 0.0.0.0         192.168.2.1     0.0.0.0         UG        0 0          0 wlan0
> 192.168.2.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0
> 192.168.2.0     0.0.0.0         255.255.255.0   U         0 0          0 wlan0
> 
> /* As you can see, eth0 configuration routing is still there!!)
> 
> # route del -net 192.168.2.0 netmask 255.255.255.0 eth0
> 
> /* After deleting the default route, it is working again)
> 

You are not deleting the default route here. The default route is
correctly pointing to wlan0.

Could you post your /etc/network/interfaces config file.
I'm wondering if you configure eth0 via ifupdown.

Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20121118/c23e4895/attachment.pgp>


More information about the Pkg-utopia-maintainers mailing list