Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jun 2013 12:22:32 +0200
From:      Bernard Higonnet <bthcom@higonnet.net>
To:        freebsd-net@freebsd.org
Subject:   How to find out a VPN link has gone down (or better, come back up)?
Message-ID:  <51BD91E8.8060501@higonnet.net>

next in thread | raw e-mail | index | archive | help
I have a machine, FreeBSD 8.1-RELEASE #0, running a VPN (MPD5) server.

Every once in a while, the link goes down, presumably because of some 
third-party event on the network.

When this happens, an element placed in the routing table by hand 
disappears since the node on the VPN server to the far-off client 
machine no longer exists (even though the entry in the routing table is 
marked "permanent" when it does exist). When the network problem goes 
away, the VPN link is automatically restored, but not the routing table.

Can someone tell me if there is a way to be notified that the link has 
been restored so that I can run a script etc. to restore the routing 
table to what I want?

TIA
Bernard Higonnet



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51BD91E8.8060501>