Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Feb 2000 06:28:05 +0900
From:      Yoshinobu Inoue <shin@nd.net.fujitsu.co.jp>
To:        cob@gnt.kiev.ua
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: IP tunnel
Message-ID:  <20000219062805W.shin@nd.net.fujitsu.co.jp>
In-Reply-To: <87og9eg413.fsf@rock.gnt.kiev.ua>
References:  <87og9eg413.fsf@rock.gnt.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
> Hello!
> 
> What about ${subj} in current?
> Or maybe someone know how to make 
> ip tunnel on current using patches, tools, etc.?
> 
> Thanx.

Maybe there are several ways, and one thing I know is gif
interface recently added.

It can be used by adding following entry in your kernel
config. (Any number can be specified.)

pseudo-device   gif     4

It can do,
   IPv6 over IPv4
   IPv4 over IPv6
   IPv4 over IPv4
   IPv6 over IPv6
tunnelings.

To configure outer addresses, use gifconfig, like,

gifconfig gif0 10.1.1.1 10.1.1.2

You need to do opposite on the 10.1.1.2 machine.

And to configure inner addresses, just use ifconfig for gif
interfaces.

Also please take care not to create infinite loop tunnel, when
you do,
   IPv4 over IPv4
   IPv6 over IPv6

Please check man for gifconfig for details.

Yoshinobu Inoue





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000219062805W.shin>