Overblog Suivre ce blog
Editer l'article Administration Créer mon blog
19 juin 2013 3 19 /06 /juin /2013 13:57

In this last post about IPv6 Static Networking, we'll breifly see how to use a routed /48 network, and how to disignin its subnets. See the previous posts for basics like turning a Windows OS PC into an IPv6 router, basic IPv6 routing, creating a Hurricane Electric tunnel, etc ...


The basic network topology will look like this :





But first, let's have a quick look at something very static indeed : the host file




IPv6 and the host file


Reaching a certain complexity, managing the network can be eased up a little bit by the use of the host file.

The host file holds records of host name/IP address couples.


it's located at C:\Windows\System32\drivers\etc\


you can edit it with the notepad ( admin mode ). As an exemple :




having a good static host file on the main PC makes access to network hosts for monitoring and configuration fast and easy.





Creating a routed /48 tunnel with Hurricane Electric



To create the routed /48 tunnel, first we create a regular tunnel at Hurricane Electric.

We then click the ' assign /48 ' link :




We will get this screen :



We have a new value ( [ G ] ) : our routed /48 prefix


please note


Server IPv4 and IPv6 addresses : [ D ] and [ E ]


Client IPv6 address : [ B ]


Routed /48 prefix : [ G ]


for the client IPv4 address, you will use your IPv6 Tunnel Endpoint Router's Wan IPv4 Address, which is likely to be a private address, not the displayed public IPv4 [ A ]. See previous posts.




a routed /48 subnet using 1 IPv6 Router and 1 routing Windows OS



using a Windows OS PC as a second IPv6 router, the network topology looks like this :




PC 1 and PC 2 have Router 2 as default gateway. Router 2 has OS Router 1 as default gateway.


We first setup the tunnel endpoint on OS Router 1 :




then check the 2 Routing interfaces Indexes using : netsh int ipv6 show interface


and issue the routing commands :




we finally assign an IPv6 address from our routed /48 [ G ] to the Lan interface.

Let's create a first /64 subnet, that we'll number 1, out of our /48 :


[ G ]:1:: / 64                                                                  ( replace [G] with your routed /48 prefix )


so we will assign the Lan Interface the IP [ G ]:1::1


As an exemple, if [ G ] = 2001:DB8:0::/48, our Lan IP will be 2001:DB8:0:1::1


As OS Router 1 has no knowledge of the [ G ]:2:: /64 subnet location, we have to add a route to it :


netsh int ipv6 add route 2001:DB8:0:2::/64 [Idx] 2001:DB8:0:1::230


( replace [Idx] with the OS Router Lan Interface Index )

( we could use netsh int ipv6 add route 2001:DB8:0::/48 [Idx] 2001:DB8:0:1::230 so to route the whole /48 subnet beyond Router 2. It just works the same in the present case )



all hosts in the network are able to ping each other. Just not forget Router 2 Firewall settings.



One final note : like in the previous exemple, OS Router 1 doesn't need 2 network interfaces, it can do fine with just one.

Here is the network topology then :




the settings for the tunnel should change in this last case :


Client IPv4 = OS Router 1 Lan IPv4


Router 2 IPv6 default gateway = OS Router 1 Lan IPv6




a routed /48 subnet using 2 networks IPv6 Routers


The network topology is :




Well, if you read the previous post, nothing is different here. The Router 1 IPv6 Tunnel is setup the same way.


We need to add Router 1 a static IPv6 route to the [ G ]:2:: /64 Subnet.

( We can add Router 1 a static IPv6 route to the [ G ]:: /48 Subnet.to provide route aggregation beyond Router 2. It just works the same in the present case )


Take care of your firewall rules, and all is easy.



Three Subnets Routing


For this last topology, we will add a third router to the situation. Here is the network topology :




If you followed the last two parts, this should be very easy for you.

Here is the default gateway design :


Hosts                                                    Default Gateway


PC1 PC2                                               Router 2

Router 2                                                Router 1

PC 2                                                      OS Router

OS Router                                             Router 1


Here are the routes that need to be added, all hosts to be able to ping each other :


Hosts                                                     Needed Additionnal Route


Router 2 Router 1                                Subnet 3

OS Router 1 Router 1                          Subnet 2



We have then made 3 /64 subnets out of our /48 subnet, and all hosts are able to ping each other.

The network topology is :




This concludes this serie of articles about Static IPv6 Networking. The next serie will be about IPv6 Dynamic Networking.


Partager cet article

Repost 0
Published by computer outlines - dans IPv6
commenter cet article



  • : Computer Outlines Blog
  • : Blog mainly focused over IPv6, Windows Server, and Networking in general.
  • Contact