You are on page 1of 13

13 ‐ IPv6

Thursday, May 4, 2017 1:47 PM

1. Introduction to IPv6 Addressing


In this episode, Mike laments the ending of IPv4 and discusses the need for IPv6. He describes IPv6 
addresses and shows how to abbreviate them properly.

From <https://hub.totalsem.com/content/2257#path=2257,2468,2469> 

This is an IP address.

This 32 bit IP addressing scheme (4 billion addresses!) worked for a while but we've run out!

Since new devices want to join the internet we needed to come up with a new numbering system: IPv6

Network+ Page 1
IPv6 addresses are 128 bits

It's a big hassle to write out IPv6 addresses!

8 groups separated by 7 colons

So we abbreviate:
- Drop all the leading 0s
- Anywhere you have a group of four 0s you can replace it with a single 0.

- Lastly you can replace 2 groups of 0s with a double colon:

*You cannot replace one 0 with a double colon!

IPv6 Loopback Address is all 0s with just a 1 on the end:

(is the equivalent of 127.0.0.1 in IPv4)

Abbreviated it is just ::1

Network+ Page 2
Network+ will ask you to compress IPv6 addresses and bring them out to their full size. Know how to do 
both!

2. Advanced IPv6 Addressing


In this episode, Mike explores automatic and manual IPv6 addressing.

From <https://hub.totalsem.com/content/2257#path=2257,2468,2470> 

When setting up IPv6 on your computers on your network you will never type in a subnet mask because 
ALL IPv6 subnet masks are always /64

2 pieces to IPv6 addresses:
1. Front half: 
2. Back half: is generated from your MAC address

Take a look at Properties of his main network card. 
You can have IPv4 and IPv6 together running at the same time! This is called a dual stack.

Network+ Page 3
IPv6 is pretty similar setup to IPv4 in a Windows environment

Command: ipconfig

We have 3 IPv6 addresses? 
1. Fe80 = Link‐Local Address. Each computer generates its own Link local address. They always start 
with fe80. Usually the last half is based on the MAC address, or it can be generated randomly.  
Used for talking within your own network.

Takes the MAC address (48 bits), split it in half, and shoves in an extra 16 bits to make it 64 bits. 
This is called Extended Unique Identifier 64 (EUI‐64)

Network+ Page 4
IPV6 address is the real public IP address. Most start around 2001 or 2002. Is generated from 
upstream on the network. The network tells it what the first half of the address is, the second half 
of the

If you want your computer to be on IPv6 you have to join  the IPv6 internet itself. Most ISPs don't 
have IPv6 turned on though. Over the next couple of years it is all going to get turned on. How do 
you get your IPv6 address (the first half) turned on?

We have a router at the top of the internet with "2002" in its address. Routers connected to this 
get the "2002" in their address. Then a router connected to it has "2002:00c9" and so successive 
routers connected to this one have the same IPv6 beginning.

Then the router adds additional alpha numeric characters to hand out the IPv6 addresses to other 
things in its network

Network+ Page 5
This concept is known as Aggregation (the tool by which you have get a legitimate IPv6 internet 
address).

How to setup IPv6 to work:
1. It's pretty trivial on a home network. He has Comcast and his router is IPv6 ready.
2. He is logged into his router via a web browser and is currently connected:

The Default Gateway is the link local address of his router.

This is really DHCP.

DUID (DHCP Unique Identifier): this value is used by your router to get DHCP information.

Network+ Page 6
1. When you plug the router in, it will yell upstream "I need an IPv6 address!" and it will provide the 
DUID to help with this request.

2. ISP send out the Delegated Prefix (2001:470:b8f9:ff00)

3. Each computer will have their own unique network ID. First 64 bits will be unique and the ISP 
passes that out for you. It will also pass out DNS information.

Network+ Page 7
4. The WAN side of the router gets an internet address. It's on a different network than the other 
side of things note (the first part of the IPv6 address is different).

5. Now the router can pass out IPv6 addresses to everyone on the network via Router 
Advertisements.
6. So as soon as you plug in your computer on the network it will hear a router advertisement which 
gives it the delegated prefix, DNS info, etc. 

That is how we get IPv6 addresses!

Network+ Page 8
This is called native addressing. Individual routers from ISPs will be assigning groups of IP addresses to 
our routers. Our routers via router advertisements tell our individual systems what their IP address is. 
This is not working yet.

If you want to get on the internet today you have to do tunneling. 

3. IPv6 Tunnels
Because most ISPs don't provide IPv6 access, you need to use a tunneling protocol to get to the IPv6 
Internet. Mike goes through the processes required.

From <https://hub.totalsem.com/content/2257#path=2257,2468,2471> 

IPv6 is already here. You can get on the IPv6 internet. The challenge we have is that ISPs in general do 
not provide IPv6 to their customers. So we can't use "native IPv6" but you can get on the IPv6 internet 
via tunneling.

Here's what he means:

Here's an IP packet w/ IPv6 addresses.

Encapsulate IPv6 data inside IPv4.

This allows you to take your data and send to an endpoint (some server in the sky) which will strip the 
IPv4 away and leave us with.

Network+ Page 9
Tunneling basically means to do a VPN between your system and some system that is connected to the 
IPv6 internet. 

Microsoft realized this was going to be a problem and built a ton of tunneling programs into Windows. 
For example, if you type in ipconfig , there are a bunch of Tunnel adapters. These are built in tools to try 
to give you a way to get to the IPv6 internet.

There are 2 in particular:
1. Teredo
2. 6TO4

Teredo is a primitive, slow, horrible way to connect to the IPv6 internet. But it is FREE!

6TO4 takes IPv6 packets and encapsulates them into IPv4.

Most of us are going to use 3rd party tools. The one Mike likes best is the Gogo client. It's completely 
free and anyone can do this. Just go to www.gogo6.com , download a copy, install it, and it pretty much 
works out of the box.

Here's what the gogo6 client looks like:

Network+ Page 10
Start it up, it will find a Gogo server that will connect you to the IPv6 internet. Pretty much just install it 
and hit Go then you are connected to the IPv6 internet. Once it is up and running you are on the IPv6 
internet.

Because this is a tunneling protocol it creates a virtualized network card.

Gogo6 Virtual Mutli‐Tunnel Adapter. Uses your IPv4 connection to get you an IPv6 box.

Local Area Connection 2 shows he has a public IPv6 address:

He can go to www.test‐IPv6.com and 

Network+ Page 11
Test by going to somewhere that's IPv6 only…i.e. ipv6.google.com:

Once you get onto IPv6, nothing new and different happens. It's just a new numbering system. 

The most important thing to remember about IPv6 is that it doesn't change the internet. The great 
power is that when it is fully installed and running you're still just on the internet.

Network+ Page 12
Network+ Page 13

You might also like