<div style="white-space:pre-wrap">Hi Tobias, thanks for taking the time.<br><br>I do see the relevant log messages in the case of switching interfaces, and when there's another path for the tunnel to take, everything works including MOBIKE.<br><br>But when there's no immediate path, e.g. if the only network adapter has a cable unplugged or if switching WiFi networks takes too long, the route is deleted and when an interface comes back up, it isn't re-added.<br><br>I've just come home from work so I'll have to wait until tomorrow to post the logs.<br><br>Cheers,<br>Alex</div><br class="gmail_msg"><div class="gmail_quote gmail_msg"><div dir="ltr" class="gmail_msg">On Mon., 31 Oct. 2016 at 5:24 pm, Tobias Brunner <<a href="mailto:tobias@strongswan.org" class="gmail_msg" target="_blank">tobias@strongswan.org</a>> wrote:<br class="gmail_msg"></div><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Alex,<br class="gmail_msg">
<br class="gmail_msg">
> All is working. I then unplug my network cable, wait a few seconds, and<br class="gmail_msg">
> plug it back in. Now table 220 is empty. The tunnel still says it's<br class="gmail_msg">
> connected, and I suppose it is - but because the route isn't there any<br class="gmail_msg">
> more, I get no traffic over the VPN.<br class="gmail_msg">
<br class="gmail_msg">
You should check the log with the log level for the knl subsystem<br class="gmail_msg">
increased to 2 (see [1]).  The route in table 220 should get readded<br class="gmail_msg">
automatically if the network connectivity changes (if it's an IKEv2<br class="gmail_msg">
connection MOBIKE might also be triggered).<br class="gmail_msg">
<br class="gmail_msg">
Regards,<br class="gmail_msg">
Tobias<br class="gmail_msg">
<br class="gmail_msg">
[1] <a href="https://wiki.strongswan.org/projects/strongswan/wiki/LoggerConfiguration" rel="noreferrer" class="gmail_msg" target="_blank">https://wiki.strongswan.org/projects/strongswan/wiki/LoggerConfiguration</a><br class="gmail_msg">
<br class="gmail_msg">
</blockquote></div>