May 22, 2013, 01:27:43 am
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Welcome to Hurricane Electric's Tunnelbroker.net forums!
Home
Help
Search
Login
Register
Hurricane Electric's IPv6 Tunnel Broker Forums
>
General IPv6 Topics
>
IPv6 on Linux & BSD & Mac
>
Configuring a tunnel under *BSD & MacOS X
Pages: [
1
]
« previous
next »
Print
Author
Topic: Configuring a tunnel under *BSD & MacOS X (Read 19149 times)
broquea
Senior Network Engineer, SEVEN Networks (AS19733)
Hero Member
Posts: 1375
Configuring a tunnel under *BSD & MacOS X
«
on:
February 08, 2008, 01:55:38 pm »
Users will always be able to view the example configurations provided in the tunnelbroker.net interface, however we also wanted to make them available on the forums. I'll cover the ifconfig commands used on the various BSD platforms. I won't be using valid IPv4/IPv6 information in the examples, but the example configurations in the broker's interface will provide the full commands with your relevant account information.
Legend of variables:
$ipv4a = tunnel server's IPv4 IP
$ipv4b = user's IPv4 IP
$ipv6a = tunnel server's side of point-to-point /64 allocation
$ipv6b = user's side of point-to-point /64 allocation
FreeBSD
ifconfig gif0 create
ifconfig gif0 tunnel $ipv4b $ipv4a
ifconfig gif0 inet6 $ipv6b $ipv6a prefixlen 128
route -n add -inet6 default $ipv6a
ifconfig gif0 up
OpenBSD
ifconfig gif0 tunnel $ipv4b $ipv4a
ifconfig gif0 inet6 alias $ipv6b $ipv6a prefixlen 128
route -n add -inet6 default $ipv6a
NetBSD & MacOS X
ifconfig gif0 tunnel $ipv4b $ipv4a
ifconfig gif0 inet6 $ipv6b $ipv6a prefixlen /128
route -n add -inet6 default $ipv6a
*NOTE* When behind a firewall appliance that passes protocol41, instead of using the IPv4 endpoint you provided to our broker, use the IPv4 address you get from your appliance's DHCP service.
«
Last Edit: August 05, 2010, 08:43:34 am by broquea
»
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Tunnelbroker.net Specific Topics
-----------------------------
=> News & Updates
=> Questions & Answers
=> HE's Widgets & Gadgets
-----------------------------
IPv6 Certification Program Topics
-----------------------------
=> General Discussion
=> Suggest a Test!
-----------------------------
DNS.HE.NET Topics
-----------------------------
=> General Questions & Suggestions
-----------------------------
General IPv6 Topics
-----------------------------
=> IPv6 Basics & Questions & General Chatter
=> IPv6 on Linux & BSD & Mac
=> IPv6 on Windows
=> IPv6 on Routing Platforms
=> IPv6 Software Applications & Hardware Appliances
Loading...