Subject: Re: Using ipip interfaces in netbsd-current
To: None <>
From: Darren Reed <>
List: tech-net
Date: 11/25/2001 01:58:43
ack, it was gif(4) that I needed.

So, what's the difference between gif(4) and ipip(4) and do we need
them both?

In some email I received from Darren Reed, sie wrote:
> On Solaris8, I can whip up a tunnel interface like this:
> ip.tun1: flags=10008d1<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST,IPv4> mtu 65491 index 15
>         inet tunnel src    tunnel dst
>         inet --> netmask ffffff00 
> ifconfig commands:
> ifconfig ip.tun0 unplumb
> ifconfig ip.tun0 plumb
> ifconfig ip.tun0
> ifconfig ip.tun0 tsrc tdst
> ifconfig ip.tun0 up
> which is an IPIP tunnel "link" between two hosts on the same LAN. 
> Solaris is using protocol 4 (IP-encap).
> How would I do the same for NetBSD?  The examples all refer to
> secnarios involving cisco's and default routes.
> Darren