Red Hat Bugzilla – Bug 471600
Renewing DHCP lease sometimes brings down vpnc connection
Last modified: 2008-12-01 12:14:34 EST
Created attachment 323591 [details]
Longer log, also showing a period later when it was working OK.
Description of problem:
Renewring DHCP lease sometimes seems to bring down vpnc connection
Version-Release number of selected component (if applicable):
Have WLAN connection managed by Network Manager. Enable vpnc from NM applet.
After some time (in this case, a couple of minutes) the VPN session goes down. Selecting disconnect and reconnect from NM applet brings the VPN session back up.
When vpnc stopped working with 'ip route list' the default routes again pointed through wlan0, not tun0.
Relevant parts of syslog:
Nov 14 10:05:56 lapps NetworkManager: <info> VPN plugin state changed: 4
Nov 14 10:05:57 lapps ntpd: Listening on interface #8 tun0, 220.127.116.11#123 Enabled
Nov 14 10:06:33 lapps dhclient: DHCPREQUEST on wlan0 to 18.104.22.168 port 67
Nov 14 10:06:33 lapps dhclient: DHCPACK from 22.214.171.124
Nov 14 10:06:33 lapps NetworkManager: <info> DHCP: device wlan0 state changed bound -> renew
Nov 14 10:06:33 lapps NetworkManager: <info> address 126.96.36.199
Nov 14 10:06:33 lapps NetworkManager: <info> prefix 25 (255.255.255.128)
Nov 14 10:06:33 lapps NetworkManager: <info> gateway 188.8.131.52
Nov 14 10:06:33 lapps NetworkManager: <info> nameserver '184.108.40.206'
Nov 14 10:06:33 lapps NetworkManager: <info> nameserver '220.127.116.11'
Nov 14 10:06:33 lapps NetworkManager: <info> domain name 'csc.fi'
Nov 14 10:06:33 lapps dhclient: bound to 18.104.22.168 -- renewal in 260 seconds.
Nov 14 10:06:34 lapps NetworkManager: <info> Policy set (wlan0) as default device for routing and DNS.
More logs attached.
This appears to be fixed since 0.7.0-0.12.svn4295, there is a changelog entry:
"- DHCP renewal sometimes breaks VPN (rh #471852)", bu that PR reference is probably wrong because there doesn't seem to be relation to that bug #, rather than this one.
And another, even closer one: "- Fix mangling of VPN's default route on DHCP renew" without bug# reference (should be this one I guess).
Yeah, it was supposed to be this one. Thanks.