Date: Wed, 30 Oct 1996 12:28:52 +1030 (CST) From: Michael Smith <msmith@atrad.adelaide.edu.au> To: bruno@CS.UCLA.EDU (Hemon Bruno) Cc: freebsd-hackers@FreeBSD.org Subject: Re: FreeBSD and IP tunneling Message-ID: <199610300158.MAA17994@genesis.atrad.adelaide.edu.au> In-Reply-To: <Pine.SOL.3.95.961029153419.2627D-100000@tusk.cs.ucla.edu> from "Hemon Bruno" at Oct 29, 96 03:37:30 pm
next in thread | previous in thread | raw e-mail | index | archive | help
Hemon Bruno stands accused of saying: > > I was told that FreeBSD has a general support for IP tunneling. I suppose > that it must be a function which appends to IP packets an optional tunnel > header(for example a UDP header) and an IP header. I think I found some > code for IP tunneling in FreeBSD (net/if_tun.c) but I can not find some > complete documentation about the functions and the implementation. > Therefore, I am looking for detailed documentation about how IP tunneling > is implemented in FreeBSD and how to use it. > thank you for your help. There's really nothing to it; the tunnel device lets you talk from user space directly to the network interface (via the /dev/tunX device), so you perform whatever encapsulation you require on the data in your userspace program. If you need more explanation than that, I suspect you may already be attempting too much 8) (Not that biting off more than you can chew is a _bad_ thing by any means 8) > Bruno Hemon bruno@cs.ucla.edu -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610300158.MAA17994>