Example BSD tunnel configuration

Questions and comments about configuring IPv6 on UNIX based hosts running FreeBSD, Linux, Solaris, etc.

Example BSD tunnel configuration

Postby jarrod on Wed Jan 21, 2009 11:45 am

Here is a snippet from my /etc/rc.local file that I use to establish the tunnel at startup with Hurricane Electric:

# Establish IPv6
/sbin/ifconfig gif0 create
/sbin/ifconfig gif0 tunnel <local IPv4 address of my server> <HE tunnel endpoint IPv4 address>
/sbin/ifconfig gif0 inet6 <local IPv6 address of my server> <HE IPv6 address> prefixlen 128
/sbin/route -n add -inet6 default <HE IPv6 address>
/sbin/ifconfig gif0 up
/sbin/ifconfig fxp0 inet6 <IPv6 address from routed subnet> prefixlen 64 alias
Posts: 5
Joined: Fri Oct 24, 2008 11:21 am

Re: Example BSD tunnel configuration

Postby Overeating on Fri Jan 09, 2015 7:10 am

A nice post is made i like it....!!
Posts: 1
Joined: Fri Jan 09, 2015 7:06 am

Return to IPv6 UNIX Configuration

Who is online

Users browsing this forum: No registered users and 1 guest