Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jul 2006 19:40:12 +0200
From:      Stefan Bethke <stb@lassitu.de>
To:        David Gilbert <dgilbert@dclg.ca>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: On the use of Tun interfaces.
Message-ID:  <C61DFAA2-A478-4F4A-BAC7-87DBBBEF2AC9@lassitu.de>
In-Reply-To: <17596.26134.831813.158138@canoe.dclg.ca>
References:  <17596.26134.831813.158138@canoe.dclg.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 18.07.2006 um 06:39 schrieb David Gilbert:

> [3:15:315]dgilbert@canoe:~/devel/failsafe> netstat -rn
...
> 192.168.22.1       192.168.12.2       UH          0        0   tun0
>
> shouldn't the last route there be active?  Any clues here?

The last time I tried to get a tun interface set up (admittedly, back  
in 2.2 days), I had similiar problems with weird routing entries.   
IIRC, when configuring the tun interface, I failed to initialize all  
sockaddr's properly. The interface looked right, but the routes were  
botched. memset took care of it then.


HTH,
Stefan

-- 
Stefan Bethke <stb@lassitu.de>   Fon +49 170 346 0140





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C61DFAA2-A478-4F4A-BAC7-87DBBBEF2AC9>