Difference between revisions of "OpenBSD HE IPv6 tunnel"

From Aram's Wiki
Jump to: navigation, search
(Created page with "== Introduction == We will create an IPv6 tunnel (provided by [http://he.net Hurricane Electric] suitable for subnetting (/48).")
 
Line 2: Line 2:
  
 
We will create an IPv6 tunnel (provided by [http://he.net Hurricane Electric] suitable for subnetting (/48).
 
We will create an IPv6 tunnel (provided by [http://he.net Hurricane Electric] suitable for subnetting (/48).
 +
 +
== Configuration ==
 +
 +
In /etc/hostname.gif0:
 +
 +
tunnel 207.246.122.61 209.51.161.14
 +
!ifconfig gif0 inet6 alias 2001:470:1f06:95f::2 2001:470:1f06:95f::1 prefixlen 128
 +
!route -n add -inet6 default 2001:470:1f06:95f::1
 +
 +
Enable it (as root):
 +
 +
sh /etc/netstart gif0

Revision as of 12:15, 11 February 2019

Introduction

We will create an IPv6 tunnel (provided by Hurricane Electric suitable for subnetting (/48).

Configuration

In /etc/hostname.gif0:

tunnel 207.246.122.61 209.51.161.14
!ifconfig gif0 inet6 alias 2001:470:1f06:95f::2 2001:470:1f06:95f::1 prefixlen 128
!route -n add -inet6 default 2001:470:1f06:95f::1

Enable it (as root):

sh /etc/netstart gif0