IPv6 Tunnel using Redhat Linux V7.1 Server
Wilson Chan
The installation procedure below is a step-by-step process to get your
Redhat Linux V7.1 Server connectivity using Freenet6 IPv6 tunnel.
Below are the 5 main steps to getting started.
1.
Configure Redhat V7.1 Server
2.
Install the Freenet6's client and configure tspc.conf
3.
Create a user id if you want to create an Authenticated tunnel and
configure tspc.conf
4.
Insert IPv6 kernel module into startup
5.
Test IPv6 for connectivity
Requirements:
Make sure you are using a Linux Kernel version 2.2 and above.
All older kernels do not have the IPv6 implementation built in.
Install Redhat Linux V7.1 as a Server.
Apply all available updates to close all known local and remote security
holes.
Step 1
2. Run
Redhat Up2date to apply linux upgrade on packages
Type: up2date –u
3. Install or remove all packets listed in the table below:
rpm –ivh <rpm name> *install new rpm
rpm –Uvh <rpm name> *upgrade rpm
rpm –e <rpm name> *removes rpm
rpm –qa *query all rpm installed on machine
rpm –q <rpm name> *query rpm to see if it
is installed
Packets |
|
Remove: not necessary for a Minimalsystem |
ImageMagick cleanfeed ctags cproto cvs emacs emacs-nox exmh hdparm inn ipxutils ispell knfsd mars-nwe mutt ncpfs nmh pine postgresql postgresql-clients postgresql-devel pump rcs routed rsh rusers rwo samba slrn talk tetex-xdvi tin ucd-snmp ucd-snmp-utils uucp words yp-tools |
Remove: not necessary for a Minimalsystem, if you need no printing |
lpr |
Remove: not necessary for a Minimalsystem, if you need no extended X-Windows configuration |
AfterStep AfterStep-APPS AnotherLevel freetype fvwm2 fvwm fvwm2-icons ical netscape-communicator netscape-common rxvt xmailbox xrn |
Remove: not necessary for a Minimalsystem, if you have a direct Internet connection by LAN |
dip lrzsz minicom modemtool ppp |
Install: necessary packages |
libpng libtermcap-devel ncurses-devel |
Install: additional tools (useful but not necessary) |
mc |
Install: necessary packages, if using WWW client under X |
XFree86-devel libgr-devel libpng-devel zlib-devel |
Install: necessary packages, if compiling Mozilla |
glib-devel gtk+-devel ORBit-devel |
Operating system supported |
Anonymous tunnel |
Authenticated tunnel |
Prefix delegation |
Binary code |
Source code |
Linux |
Supported |
Supported |
Supported |
|
·
Anonymous tunnel :
Freenet6 provides one single IPv6 address to a client without authentication. If
the IPv4 address changes then the IPv6 assigned will change also.
·
Authenticated tunnel :
Freenet6 provides one single IPv6 address to a client after a successful
authentication to the server. If the IPv4 address changes then the IPv6 assigned
to the user will be the same.
·
Prefix delegation :
Freenet6 provides one single address and a /48 IPv6 prefix to a client after a
successful authentication to the server.
$ cd /tmp
$ tar xfvz freenet6-0.xx.tgz
$ cd freenet6-0.xx
$ make
$ make all target=linux
$ make install target=linux installdir=/opt/tspc
$ cd /opt/tspc/bin
$./tspc -vf ./tspc.conf
6.
Skip
Step 3 and proceed to Step 4 if you do not want to have a authenticated
tunnel.
Step 3
2. Enter
a user-id with a minimum of 8 characters and maximum of 63.
4. Freenet6
will email you with your password and login that is needed for creating an
Authenticated tunnel.
5. CD
into the directory where the freenet6 files are located
6. Open
tspc.conf with text editor (vi, emacs, pico, etc).
7. Locate userid=anonymous and replace anonymous with your userid
#
the userid can be anonymous or any alphanumeric value that is dns legal.
#
userid=anonymous
userid=anonymous
<- Replace with userid
9.
Type in your passwd where it now says passwd=
# passwd=
#
The passwd must be empty if userid is anonymous or an alphanumeric string
#
if userid is not anonymous.
#passwd=
<- Remove # and enter passwd after =
10. Type
in this command: tspc –vf
tspc.conf
11. IPv6
tunnel should now be configured through an authenticated
tunnel.
Step 4
Type:
modprobe ipv6
cd /etc/rc.d
pico rc.local
And
insert these 4 lines of code at the bottom of the rc.local. See picture below:
1. Now try and access the Microsoft Research Ipv6-only web site through your browser. If everything works find you will see Microsoft's Ipv6
webpage.
http://ipv6.research.microsoft.com/
![]() |
ping6 ipv6.research.microsoft.com or ping6 2002:836b:4179::836b:4179 |
![]() |
traceroute6 ipv6.research.microsoft.com or traceroute6 2002:836b:4179::836b:4179 |
![]() |
tracepath6 ipv6.research.microsoft.com or tracepath6 2002:836b:4179::836b:4179 |
ON-LINE RESOURCES:
1.
Freenet6 - IPv6 Implementations
2.
Peter Bieringer – Linux: IPv6