Professional Documents
Culture Documents
Source: This project was created by Dr. Sam Bowne at City College of San Francisco and is used with
his permission. You can find more of Sam’s class information at his website:
http://www.samsclass.info.
Why?
IPv6 is coming, whether we like it or not. We all need to learn it, and the sooner we do that, the
better. This page will guide you through getting the Hurricane Electric IPv6 Certifications,
which demonstrate that you have learned both the theory and practice of using IPv6 on each of
these systems:
• Web client
• Web server
• Email server
• DNS server
Each 10 Hurricane Electric points are worth one class project point. If you make it all the way to Guru,
you get 1000 points from Hurricane Electric, a total of 100 class project points.
These instructions take you to Administrator level which is worth 25 project points.
Windows Versions
It is recommend to use Windows XP, Vista or 7 Professional (not Home). Lower versions make
these projects more difficult.
1. In the NeWb! section, click the "IPv6 Primer" link and study the primer.
2. Then click the "questions" link and take the test.
3. When you return to the main page, you should see that your badge has
changed to Newbie, as shown to the right on this page. Click your badge to
see your score: you now have 25 Hurricane Electric points, which are
worth 2.5 points.
Since you probably only have IPv4 Internet service, the easiest way to get on IPv6 is to use a Tunnel
Broker -- a service that converts IPv4 traffic to IPv6. The easiest one is Gogo6. You could use
http://www.sixxs.net/ or http://www.tunnelbroker.net/, but they are harder to set up. In these
instructions, assume you are using Gogo6.
6. On the next page, scroll down to the "Getting started" section, and click the "here" link, as
shown below. Fill out the form to get a Freenet6 account.
7. When the gogoCLIENT is installed and running, click the "Advanced" tab, and select a "Tunnel
Mode" of "IPv6-in-UDP-IPv4 Tunnel (NAT Traversal)" as shown below on this page. Click
"Apply". This is the best choice because it works almost everywhere--even at Starbuck's.
Your badge should now show Explorer, as shown to the right on this
page. Click your badge to see your score: you now have 75 Hurricane
Electric points, which are worth 7.5 points.
Step 4. Next … Enthusiast with IIS Web Server
The next level requires you to have your own domain name and a working Web server.
1. Installing IIS (Internet Information Services … Microsoft's Web server). IIS is included in
Windows 7, which is why it’s the recommended OS for this part of the project.
2. Open Firefox (or whatever web browser you wish to use) and type in the address http://127.0.0.1
You should see an IIS Welcome page, as shown above. This shows that IIS is listening on port
80 of IPv4.
3. Open a Command Prompt and type in the NETSTAT -AN command. Scroll back to see the TCP
Listening ports. You should see the IPv6 address [::] Listening, as shown below on this page.
This means that your Web server is serving pages over every IPv6 address.
a. Go to http://www.godaddy.com. In the middle of the page, type your desired domain, and
choose a top-level domain. It’s recommend using .info because I know there are top-level
glue records for it. But as time passes, more and more top-level domains will have full IPv6
compatibility, so other choices will become OK. Click Go.
b. If the domain is available, buy it. You will need a credit card and $2.17 of real money to get
a .info domain for one year. You will have to enter your real email address, and GoDaddy
will offer you a lot of extra features like other domains, email accounts, Web hosting, etc.
For IPv6 certification you don't need any of that. You can say No to it all and only pay a
total of $2.17.
Click Here
You can watch the process, however, by typing your domain name and then the address of
the DNS server to use. 8.8.8.8 is Google's DNS server and it usually updates quickly.
If you want to see GoDaddy's DNS record directly, use the DNS server GoDaddy assigned to
your account which is shown at the bottom of your DNS management page. It will be
something like ns57.domaincontrol.com.
The image below shows a series of tests, testing GoDaddy, then Google, then Hurricane
Electric, to see if they all can resolve my domain.
8. Completing the Hurricane Electric Enthusiast Test
a. In Firefox, go to http://ipv6.he.net/certification/ and log in.
b. In the Enthusiast section, type your domain name (the one you registered at GoDaddy) and
click the "Get a User Code" link.
c. Click the "here" link to continue with the test.
d. Click the "Create URL" button.
e. Now you should see a URL in line [3], something like this:
http://samdemo.info/Se35fg48.txt
f. You need to create a file with that name. The filename does not include http or your domain
name--in the example above, the correct filename is: Se35fg48.txt
g. You need to create that file in your Web server's home directory, which is:
C:\Inetpub\wwwroot.
Your badge should now show Enthusiast, as shown to the right on this
page. Click your badge to see your score: you now have 150 Hurricane
Electric points, which are worth 15 points.
Step 5. Next onto Administrator by Setting up an IPv6 Email Server
1. In Firefox, go to https://olex.openlogic.com/packages/apache-james.
2. On the left side, section, click 2.3.1.
3. In the "Apache-james 2.3.1 binary" line, click the "Download Now" button.
4. Save the file on your desktop.
12. Open another Command Prompt window and type in the NETSTAT -AN command. Scroll back
to see the TCP Listening ports. You should see the IPv6 address [::] Listening on port TCP 25, as
shown below on this page. Your email server is ready!
13. Now you need to add a mail user account to James. To do that, in the Command Prompt window,
type this command, followed by the Enter key:
telnet localhost 4555
14. Note: if you get a message saying "'telnet' is not recognized as an internal or external command,
operable program or batch file.", that means Telnet is not installed.
16. Log in with the use name root and a password of root.
17. When you see the ""Welcome root. HELP for a list of commands" message type this command
followed by the Enter key:
adduser admin password
18. This adds a user named admin with a password of password.
19. Type this command followed by the Enter key:
quit
20. Configuring James
a. In the Command Prompt window that is running James, press Ctrl+C. When you see the
message "Terminate batch job (Y/N)?", type Y and press Enter.
b. Navigate to:
openlogic-apache-james-2.3.1-all-bin-1\apache-james-
2.3.1\apps\james\SAR-INF
and open the config.xml file in Wordpad (not Notepad).
c. There are three changes you need to make in this file.
First, in the servernames section, you need to add a line with your domain name, as
shown below:
Second, in the InBoxRepository section, you need to add a line with a path to a folder
that exists, as shown below. (This step may not be necessary.)
Third, in the dnsserver section, you need to add a a real DNS server. I used Google's
free server at 8.8.8.8, as shown below on this page.
d. After making the changes, save the config.xml file and close Wordpad.
e. Then start James, as you did before: In the bin folder, double-click the run.bat file.
21. Adding an MX Record to your DNS Zone
a. In Firefox, go to http://godaddy.com.
b. Log in and launch Domain Manager for your domain, as you did previously.
c. Scroll to the bottom of the page.
d. In the "MX" section, there are two records GoDaddy put there, as shown below. Hover over a
record to make a red X appear on the right side, and click the X to delete the record.
e. Repeat the process to delete the other MX record. Click "Save Zone File". Click "OK".
g. Thunderbird attempts to connect to your mail server. It won't be able to figure it out, and
stops after a few seconds, as shown below. On the right side, click the Edit button.
l. In Thunderbird, in the left pane, expand your account name and click Inbox. Click the "Get
Mail" button. A message from ipv6.he.net should appear, as shown below. Find the code in
that email message.
m. Go to the http://ipv6.he.net/certification page, paste in the code from the email message.
Click the -> button.
n. The "Administrator
Questionnaire" opens,
as shown below on this
page. Fill it out.
25. You should now be an Administrator, with a badge like the one shown below on this page. Click
the badge to see your score: it is now 245, worth 25 points.
Next: on to Guru!
How to Earn IPv6 Certifications (on Windows, Part 2)
Source: This project was created by Dr. Sam Bowne at City College of San Francisco and is used with
his permission. You can find more of Sam’s class information at his website:
http://www.samsclass.info.
Do Part 1 First
And you now have a Hurricane Electric IPv6 Certification level of Administrator.
The rest of the process requires you to set up your DNS records correctly. You could set up your
own DNS server, but you can use public DNS services also, and that's how these instructions do it.
We used GoDaddy's DNS for Part 1, but you won’t be able to get the Reverse DNS to work using
GoDaddy's DNS service, so for the rest of the process you will be using Hurricane Electric's DNS
service.
Reverse DNS starts with the IPv6 address and looks up the domain name. This is a common
test performed by email servers, to detect spammers. If a domain name doesn't resolve with
reverse DNS, that indicates that there is something suspicious about the mail server, and
some email servers will refuse to accept the mail.
d. Open a Command Prompt window. Type in this command, and then press the Enter key:
nslookup
h. Routing Advertisements
• In the gogoCLIENT Utility, click the Advanced tab.
• At the bottom, check the "Enable Routing Advertisements" box.
• In the "Advertise on Interface" drop-down box, select "Local Area Connection" or
whatever interface you are using to connect to the Internet.
• This setting tells Freenet6 that you are not just a single computer, but a router for a
network. So Freenet gives you a dedicated IPv6 prefix. This is a real, publicly routed
Internet address block, with an incredible number of addresses for you to use--each
person who requests it gets more addresses than the entire IPv4 address space for their
own use.
i. In the gogoCLIENT Utility, click the Basic tab. Click the Disconnect button. Click the
Connect button. In the "Save changes before connecting?" box, click Save.
j. In the gogoCLIENT Utility, click the Status tab. You should see your "Delegated Prefix", as
shown below.
5. Now you need to add some records to your zone. Click the little pencil-and-paper icon just to the
left of your domain name.
a. A page opens with a chart titled "Hurricane Electric Free DNS Management Managing
zone:", as shown below:
b. Click the "New AAAA" tab. In the box that appears, enter a Name of @ and an "IPv6
Address" of your interface's IPv6 address. Set the TTL to 30 minutes, as shown below:
c. Click the Submit button.
d. Click the "New MX" tab. In the box that appears, in the top field, enter @
e. In the "Priority" field, enter 10
f. In the "Hostname" field, enter your domain name.
g. Set the TTL to 30 minutes, as shown below on this page. Click the Submit button.
e. A page opens with a chart titled "Hurricane Electric Free DNS Management Managing
zone:", as shown below.
f. Enter a "Host Address" of :1 Type your domain name into the "Hostname" field. Click the
Submit! button.
g. A message appears saying "Successfully added...", as shown below on this page. The reverse
DNS record has a long name with your complete IPv6 address in it backwards.
c. When Sam tried it, the AAAA record was still pointing to an old address, as shown below.
1. The Hurricane Electric Certification test now shows the Guru test, as shown below on this page.
These tests determine if your namesevers are properly using IPv6, which they obviously are,
since you are using the Hurricane Electric nameservers. Just click the two "Test It!" buttons.
Then complete the questionnaire and you are a Guru.
Step 2. Finally … Passing the Sage Test
The Hurricane Electric Certification test now shows the Sage test, as shown below on this page. This
determines if your domain name registrar put an IPv6 glue record on the root domain servers. GoDaddy
does that for you. Just click the two "this link" link. On the next page, click the Submit button. On the
next page, scroll to the bottom and click the Submit button. A message says "Nothing to do here."
1. On the top left, click the "Click for main page" button. Your badge now shows that you are a
Guru--Congratulations! Click your badge to show your score, as shown below.
2. You can also get the IPv6 Guru T-Shirt by filling out the request form at Hurricane Electric (and
isn’t that what’s really important).
3. Calculating Your Points
To determine your class points, divide the Hurricane Electric points by 10. If you have 560
points, as shown above on this page, you can get 56 points.
However, you can get a lot more points by taking the "Additional Tests" shown on the left side.
If you take them all, you can get up to 1000 Hurricane Electric points, as shown above on this
page, which is worth 100 points.