Subject: Re: Using ipip interfaces in netbsd-current
To: None <email@example.com>
From: Darren Reed <firstname.lastname@example.org>
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
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 192.168.1.11 tunnel dst 192.168.1.10
> inet 192.168.102.1 --> 192.168.102.2 netmask ffffff00
> ifconfig commands:
> ifconfig ip.tun0 unplumb
> ifconfig ip.tun0 plumb
> ifconfig ip.tun0 192.168.102.1 192.168.102.2
> ifconfig ip.tun0 tsrc 192.168.1.11 tdst 192.168.1.10
> 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.