FS#45716 - [networkmanager] Static routes isnt working after version 1.0.4 update

Attached to Project: Arch Linux
Opened by Asem (asem) - Sunday, 19 July 2015, 17:18 GMT
Last edited by Jan de Groot (JGC) - Monday, 07 November 2016, 13:19 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 17
Private No

Details

Description:

My connections with static ipv4 routes immediatly discconnect with message the IP confifig for the vpn configuration is invalid

Additional info:
* package version(s)
1.0.4
* config and/or log files etc.
Jul 19 19:08:52 pc NetworkManager[616]: <warn> platform-linux: do-add-ip4-route: failure adding ip4-route '12: 192.168.152.0/24 50': Unspecific failure (1)
Jul 19 19:08:52 pc NetworkManager[616]: <warn> platform-linux: do-add-ip4-route: failure adding ip4-route '12: 192.168.153.0/24 50': Unspecific failure (1)
Jul 19 19:08:52 pc NetworkManager[616]: <warn> VPN connection 'PPTP VPN' did not receive valid IP config information.
Jul 19 19:08:52 pc pppd[14667]: Terminating on signal 15


Steps to reproduce:
Add a static route to any connection
Try to connect
This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 07 November 2016, 13:19 GMT
Reason for closing:  Fixed
Comment by Alexander von Gluck (kallisti5) - Sunday, 27 September 2015, 14:14 GMT
Same issue here. Really annoying :-\
Comment by Daniel Pokusa (dpokusa) - Monday, 28 September 2015, 08:22 GMT
Still in 1.0.6 version ;/
Comment by Mathieu Clabaut (mathieu.clabaut) - Tuesday, 06 October 2015, 07:34 GMT
I've been finally able to fix the issue changing the gateway in the router from the VPN gateway local IP to 0.0.0.0 has suggested here: https://bugzilla.gnome.org/show_bug.cgi?id=733296
Comment by Adrian Popirlan (theravengod) - Tuesday, 06 October 2015, 15:15 GMT
I confirm - Adding the route 192.0.0.0/8 (or netmask 255.0.0.0) via 0.0.0.0 works (NetworkManager v.1.0.6)
Comment by AnAkkk (AnAkkk) - Monday, 28 December 2015, 10:04 GMT
I'm also having the same issue, I just noticed this. It was working fine like one week ago, I'm not sure what changed. Starting openvpn manually works fine though, the routes are added.
Comment by AnAkkk (AnAkkk) - Monday, 28 December 2015, 10:06 GMT
Apparently, according to the gnome bug report linked above, this is a configure file path issue:
https://bugzilla.gnome.org/show_bug.cgi?id=733296#c14

EDIT: Nevermind, I guess this doesn't make sense since I use openvpn.
Comment by Aliaksandr Stelmachonak (ava1ar) - Thursday, 31 December 2015, 06:00 GMT
Discovered same issue with openVPN connection today. Checked networkmanager update history and found that 1.0.8 -> 1.0.10 update happened 12/26. Downgrading to netowkmanager 1.0.8 helped, so this looks like a regression in nm itself.
Comment by Nicolas Repentin (ouafnico) - Thursday, 31 December 2015, 22:54 GMT
Hello, same here. Discovered it today.
on journal:

déc. 31 23:51:30 PORTABLE NetworkManager[290]: <warn> platform-linux: do-add-ip4-route: failure adding ip4-route '12: X.X.X.X/24 50': Unspecific failure (1)

Adding the route manually works. Adding the route on networkmanager vpn configuration failed to start vpn.
Comment by Robert Navarro (cr0ntab) - Tuesday, 05 January 2016, 16:40 GMT
Thanks ava1ar, that works for me too.

Hopefully this one gets fixed soon.
Comment by Aliaksandr Stelmachonak (ava1ar) - Tuesday, 05 January 2016, 17:30 GMT
Already fixed, please check out recent comments for the following issue: https://bugs.archlinux.org/task/47535

Loading...