From owner-freebsd-questions Wed Aug 11 12:23:14 1999 Delivered-To: freebsd-questions@freebsd.org Received: from george.spottydogs.org (adsl-151-200-21-150.bellatlantic.net [151.200.21.150]) by hub.freebsd.org (Postfix) with ESMTP id 3798815649 for ; Wed, 11 Aug 1999 12:23:00 -0700 (PDT) (envelope-from mnewell@SpottyDogs.Org) Received: from localhost (mnewell@localhost) by george.spottydogs.org (8.9.3/8.9.3) with ESMTP id PAA39240; Wed, 11 Aug 1999 15:21:18 -0400 (EDT) (envelope-from mnewell@SpottyDogs.Org) Date: Wed, 11 Aug 1999 15:21:17 -0400 (EDT) From: Mike Newell To: Thomas Uhrfelt Cc: Ruslan Ermilov , FreeBSD Questions Subject: RE: IP-in-IP encapsulation In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I wrote a GRE tunnel app. I tried using nos-tun to our Cisco router but it didn't work well with the firewall code (which has special provision for GRE tunnels). So taking someone's advice from the list I got the spec out and wrote one. I slapped together some documentation at http://mike.spottydogs.org/projects/gre-tun/ It seems to work OK for me (I tunnel to my coop ISP over my DSL link). I didn't implement all the features (e.g. checksums) but if you're interested let me know. Mike On Aug 10 Thomas Uhrfelt was heard to blather: thomas>Well if somebody got a good sollution (besides PPP) that works good, I want thomas>to hear about it. I tried SKIP but somehow it doesnt work well with the fxp thomas>driver. Right now I am using PPP with the -ddial option, but links go down thomas>anyway and don't re-initiate themselves. And the clause in ppp doesnt thomas>seem to do its job properly by reassigning routes when the tun# interface thomas>change. thomas> thomas>So please give me a buzz when you find a working sollution. thomas> thomas>Regards, thomas> thomas>Thomas Uhrfelt thomas> thomas>> -----Original Message----- thomas>> From: owner-freebsd-questions@FreeBSD.ORG thomas>> [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Ruslan Ermilov thomas>> Sent: Tuesday, August 10, 1999 9:44 AM thomas>> To: Dan O'Connor thomas>> Cc: freebsd-questions@FreeBSD.ORG thomas>> Subject: Re: IP-in-IP encapsulation thomas>> thomas>> thomas>> On Mon, Aug 09, 1999 at 06:13:05PM -0700, Dan O'Connor wrote: thomas>> > Pardon my ignorance... thomas>> > thomas>> > I've seen this IP-in-IP thing mentioned before, but what is it used for? thomas>> > thomas>> > Seems kinda pointless--like zipping up a zip file. thomas>> > thomas>> > --Dan thomas>> thomas>> If could be used to ``tunnel'' private networks over Internet: thomas>> thomas>> +--------------+ +--------+ +--------------+ thomas>> |192.168.1.0/24| +--|Internet|--+ |192.168.2.0/24| thomas>> +---------+----+ / +--------+ \ +----+---------+ thomas>> \ / \ / thomas>> +--+-------+ / \ +-------+--+ thomas>> | Router 1 |/ \| Router 2 | thomas>> +----------+ +----------+ thomas>> thomas>> -- thomas>> Ruslan Ermilov Sysadmin and DBA of the thomas>> ru@ucb.crimea.ua United Commercial Bank, thomas>> ru@FreeBSD.org FreeBSD committer, thomas>> +380.652.247.647 Simferopol, Ukraine thomas>> thomas>> http://www.FreeBSD.org The Power To Serve thomas>> http://www.oracle.com Enabling The Information Age thomas>> thomas>> thomas>> To Unsubscribe: send mail to majordomo@FreeBSD.org thomas>> with "unsubscribe freebsd-questions" in the body of the message thomas>> thomas> thomas> thomas> thomas>To Unsubscribe: send mail to majordomo@FreeBSD.org thomas>with "unsubscribe freebsd-questions" in the body of the message thomas> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message