Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!uunet!in3.uu.net!128.230.129.112!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!eerie.fr!alma.fr!oleane!oleane!jussieu.fr!news-rocq.inria.fr!news-sop.inria.fr!usenet From: eduros@chouette.inria.fr (Emmanuel Duros) Newsgroups: comp.unix.bsd.freebsd.misc Subject: How to use a tunnel interface? Date: 9 Jul 1997 12:26:34 GMT Organization: I.N.R.I.A. , Valbonne Sophia Antipolis Lines: 29 Message-ID: <5q001q$cri@news-sop.inria.fr> NNTP-Posting-Host: chouette.inria.fr Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-newsreader: xrn 8.03-beta-22 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:44154 I have been trying to undestand how to use a tunnel interface but I have not had much success! I just want to send packets that would be tunneled via the interface tun0. According to me, the configuration could be as follow. On my station, I create a tunnel: $ ifconfig tun0 138.96.152.64 138.96.152.20 (138.96.152.64 is my local IP address) Then I had a route to the tunnel: $ route add 138.96.100.100 138.96.152.20 As I ping host 138.96.100.100 and check (tcpdump -i tun0) what goes through the tunnel nothing happens. What is wrong with this? Where can I find a documentation on the tunnel interface, the way it works...??? Thankx Emmanuel