On the use of Tun interfaces.

Stefan Bethke stb at lassitu.de
Wed Jul 19 17:40:58 UTC 2006


Am 18.07.2006 um 06:39 schrieb David Gilbert:

> [3:15:315]dgilbert at 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 at lassitu.de>   Fon +49 170 346 0140




More information about the freebsd-hackers mailing list