NetworkManger: Prioritize interfaces for default route
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
on my debian stable laptop I use default installed Networkmanger to
use different networks over the day.
Besides regular dhcp-client on eth0 and wlan0, I have presets for
differnt LAN setups, to access openwrt failsafed devices.
Also for my test/devel routers I have different ethernet configurations.
I wanted to configure NetworkManger to handle wlan0 as my primary
interface for having the the default route.
The behaviour of NetworkManger is that it will always use eth0.
So if I plugin and plugout an ethernet cable NetworkManger resets the
default route and all my connections to the outside world is cut and I
have to re-establish this connections, which is time consuming and
annoying ...
So the only thing I can now image is to use a dispatcher script to
'reset' the default route after a interface connects or disconnects.
But I thing I will miss some packages while the interface reconfigures?
And this all over sounds not like a good idea.
I want to switch ethernet connects while in a wifi network, like I can
now switch wifi networks while connected to a ethernet network without
any interruptions to 0.0.0.0.
Are there any suggestions for such a setup on a desktop?
Bernd
- --
Bernd Naumann <bernd@kr217.de>
PGP: 0xA150A04F via pool.sks-keyservers.net
XMPP: bn@weimarnetz.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
iQIcBAEBAgAGBQJVGCg8AAoJEEYW3OihUKBPCsgP/1hVoG+3Odsz6SSz+fnpRnHZ
6482lWMqhcb/Qz5s2XFNg1Keawvv5+Gz3kR1aut1cKoT2J/o4gMVIcEOC2YGD8Eo
SKJ6lkKM58ME7kVdi62Egwp/M8hc4ZYU4s1r4VwqrEZAnTa8TTTdcsHGznzk9kM3
aySjyfRTAUhJzDU8zvYzD3I2cV4Xic5UhLtVr3q9IZXgnq39JkoA5dTw8W5H2XAx
6orpQHH8PfXHV6Axj842BJ5BVM7g22pSaMvvtJ++/EGbIbkLq88DrtmBAThyNm6u
4AG2hqtqX6kO6DncsJDG0MOiHh0FsLRkTjWKaNoqWS1slPl3CvWCRqUMVraiqRED
/lPAsn37oHN0ZV4R4adIqKzOxHu2/6R6H/DPekkHuKaP9TJwfV+iTx+JOUOiOc1k
NHrdFrVyNvLSemdINu8IyTzHI/44n9gD4fGi0PJKzuo6fqbdZJLTvlqzUB98tbRX
ZBUaVoLHdoMTOoSBKoaqdkGF4b4DsrfO+3xb/T9KRcv/ZYxH6Hy9UZT5YDIWTCrC
ChGmLZiA6/fla4gegjs8OILvGL4BR+fHJzZWioYOSeBKIC4Da31CQY5c/RH8f59H
7EBMZgBl94E8EH1TuJCLuzL0B4sx5eD0E9YmV8YmxPABbFlOZfZ7JQaliJo2ytDg
FTwVxS6S9hvzTcjz6OVs
=um/T
-----END PGP SIGNATURE-----
Reply to: