[Pkg-utopia-maintainers] Bug#809195: network-manager_1.0.10-1_amd64.deb does not update my I.P address correctly when I start my VPN
Tom Rauchenwald
tom.rauchenwald at gmail.com
Tue Dec 29 10:17:23 UTC 2015
Package: network-manager
Version: 1.0.10-1
Followup-For: Bug #809195
Hi,
I have the same problem after upgrading (I think).
The problem seems to be that the default route is not set correctly,
but I'm not an expert in these matters.
>From the logs:
Dez 29 10:07:53 orphu nm-openvpn[1193]: /usr/lib/NetworkManager/nm-openvpn-service-openvpn-helper --tun -- tun0 1500 1542 10.102.1.6 10.102.1.5 init
Dez 29 10:07:53 orphu NetworkManager[614]: <info> (tun0): new Tun device (carrier: OFF, driver: 'tun', ifindex: 3)
Dez 29 10:07:53 orphu NetworkManager[614]: <info> devices added (path: /sys/devices/virtual/net/tun0, iface: tun0)
Dez 29 10:07:53 orphu NetworkManager[614]: <info> device added (path: /sys/devices/virtual/net/tun0, iface: tun0): no ifupdown configuration found.
Dez 29 10:07:53 orphu NetworkManager[614]: <info> VPN connection 'PIA NL' (IP Config Get) reply received.
Dez 29 10:07:53 orphu NetworkManager[614]: <info> VPN connection 'PIA NL' (IP4 Config Get) reply received.
Dez 29 10:07:53 orphu NetworkManager[614]: <info> VPN Gateway: 46.166.188.202
Dez 29 10:07:53 orphu NetworkManager[614]: <info> Tunnel Device: tun0
Dez 29 10:07:53 orphu NetworkManager[614]: <info> IPv4 configuration:
Dez 29 10:07:53 orphu NetworkManager[614]: <info> Internal Gateway: 10.102.1.5
Dez 29 10:07:53 orphu NetworkManager[614]: <info> Internal Address: 10.102.1.6
Dez 29 10:07:53 orphu NetworkManager[614]: <info> Internal Prefix: 32
Dez 29 10:07:53 orphu NetworkManager[614]: <info> Internal Point-to-Point Address: 10.102.1.5
Dez 29 10:07:53 orphu NetworkManager[614]: <info> Maximum Segment Size (MSS): 0
Dez 29 10:07:53 orphu NetworkManager[614]: <info> Static Route: 10.102.1.1/32 Next Hop: 10.102.1.5
Dez 29 10:07:53 orphu NetworkManager[614]: <info> Forbid Default Route: no
Dez 29 10:07:53 orphu NetworkManager[614]: <info> Internal DNS: 209.222.18.222
Dez 29 10:07:53 orphu NetworkManager[614]: <info> Internal DNS: 209.222.18.218
Dez 29 10:07:53 orphu NetworkManager[614]: <info> DNS Domain: '(none)'
Dez 29 10:07:53 orphu NetworkManager[614]: <info> No IPv6 configuration
Dez 29 10:07:53 orphu NetworkManager[614]: <info> VPN plugin state changed: started (4)
Dez 29 10:07:53 orphu NetworkManager[614]: <warn> platform-linux: do-add-ip4-route: failure adding ip4-route '3: 10.102.1.1/32 50': Unspecific failure (1)
Dez 29 10:07:53 orphu NetworkManager[614]: <info> VPN connection 'PIA NL' (IP Config Get) complete.
Dez 29 10:07:53 orphu nm-openvpn[1193]: chroot to '/var/lib/openvpn/chroot' and cd to '/' succeeded
Dez 29 10:07:53 orphu nm-openvpn[1193]: GID set to nm-openvpn
Dez 29 10:07:53 orphu nm-openvpn[1193]: UID set to nm-openvpn
Dez 29 10:07:53 orphu nm-openvpn[1193]: Initialization Sequence Completed
Dez 29 10:07:53 orphu NetworkManager[614]: <info> (tun0): link connected
Dez 29 10:07:53 orphu NetworkManager[614]: <info> (enp2s0): device state change: secondaries -> activated (reason 'none') [90 100 0]
Dez 29 10:07:53 orphu NetworkManager[614]: <info> NetworkManager state is now CONNECTED_GLOBAL
Dez 29 10:07:53 orphu NetworkManager[614]: <info> NetworkManager state is now CONNECTED_SITE
Dez 29 10:07:53 orphu NetworkManager[614]: <info> NetworkManager state is now CONNECTED_GLOBAL
Dez 29 10:07:53 orphu NetworkManager[614]: <info> (enp2s0): Activation: successful, device activated.
Dez 29 10:07:53 orphu NetworkManager[614]: <info> startup complete
Dez 29 10:07:53 orphu NetworkManager[614]: <warn> platform-linux: do-add-ip4-route: failure adding ip4-route '3: 0.0.0.0/0 50': Unspecific failure (1)
Dez 29 10:07:53 orphu NetworkManager[614]: <warn> default-route: failed to add default route 0.0.0.0/0 via 10.102.1.5 dev 3 metric 50 mss 0 src vpn with effective metric 50
Dez 29 10:07:53 orphu NetworkManager[614]: <info> NetworkManager state is now CONNECTED_LOCAL
Dez 29 10:07:53 orphu NetworkManager[614]: <info> NetworkManager state is now CONNECTED_GLOBAL
Dez 29 10:07:53 orphu NetworkManager[614]: <info> (tun0): device state change: unmanaged -> unavailable (reason 'connection-assumed') [10 20 41]
Dez 29 10:07:53 orphu NetworkManager[614]: <info> (tun0): device state change: unavailable -> disconnected (reason 'connection-assumed') [20 30 41]
Dez 29 10:07:53 orphu NetworkManager[614]: <info> (tun0): Activation: starting connection 'tun0' (0746e2b4-b3ee-47af-aed7-a2b5755d767f)
Dez 29 10:07:53 orphu NetworkManager[614]: <info> (tun0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Dez 29 10:07:53 orphu NetworkManager[614]: <info> (tun0): device state change: prepare -> config (reason 'none') [40 50 0]
Dez 29 10:07:53 orphu NetworkManager[614]: <info> (tun0): device state change: config -> ip-config (reason 'none') [50 70 0]
Dez 29 10:07:53 orphu NetworkManager[614]: <info> (tun0): device state change: ip-config -> ip-check (reason 'none') [70 80 0]
Dez 29 10:07:53 orphu NetworkManager[614]: <info> (tun0): device state change: ip-check -> secondaries (reason 'none') [80 90 0]
Dez 29 10:07:53 orphu NetworkManager[614]: <info> (tun0): device state change: secondaries -> activated (reason 'none') [90 100 0]
Dez 29 10:07:53 orphu NetworkManager[614]: <info> (tun0): Activation: successful, device activated.
The routes look like this after connecting:
~ # ip route show
default via 10.0.0.138 dev enp2s0 proto static metric 100
10.0.0.0/24 dev enp2s0 proto kernel scope link src 10.0.0.32 metric 100
10.102.1.6 dev tun0 proto kernel scope link src 10.102.1.6 metric 50
46.166.188.202 via 10.0.0.138 dev enp2s0 proto static metric 100
~ # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.0.0.138 0.0.0.0 UG 100 0 0 enp2s0
10.0.0.0 0.0.0.0 255.255.255.0 U 100 0 0 enp2s0
10.102.1.6 0.0.0.0 255.255.255.255 UH 50 0 0 tun0
46.166.188.202 10.0.0.138 255.255.255.255 UGH 100 0 0 enp2s0
Thanks,
-tom
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages network-manager depends on:
ii adduser 3.113+nmu3
ii dbus 1.10.6-1
ii init-system-helpers 1.24
ii isc-dhcp-client 4.3.3-5
ii libbluetooth3 5.36-1
ii libc6 2.21-6
ii libdbus-1-3 1.10.6-1
ii libdbus-glib-1-2 0.102-1
ii libglib2.0-0 2.46.2-3
ii libgnutls-deb0-28 3.3.19-1
ii libgudev-1.0-0 230-2
ii libmm-glib0 1.4.12-1
ii libndp0 1.4-2
ii libnewt0.52 0.52.18-1+b1
ii libnl-3-200 3.2.26-1
ii libnl-genl-3-200 3.2.26-1
ii libnl-route-3-200 3.2.26-1
ii libnm0 1.0.10-1
ii libpam-systemd 228-2+b1
ii libpolkit-agent-1-0 0.105-14
ii libpolkit-gobject-1-0 0.105-14
ii libreadline6 6.3-8+b4
ii libsoup2.4-1 2.52.2-1
ii libsystemd0 228-2+b1
ii libteamdctl0 1.18-1
ii libuuid1 2.27.1-1
ii lsb-base 9.20150917
ii policykit-1 0.112-2
ii udev 228-2+b1
ii wpasupplicant 2.3-2.3
Versions of packages network-manager recommends:
pn crda <none>
ii dnsmasq-base 2.75-1
ii iptables 1.4.21-2+b1
ii iputils-arping 3:20121221-5+b2
pn modemmanager <none>
ii ppp 2.4.7-1+1
Versions of packages network-manager suggests:
pn avahi-autoipd <none>
pn libteam-utils <none>
-- no debconf information
More information about the Pkg-utopia-maintainers
mailing list