Hurricane Electric's IPv6 Tunnel Broker Forums

Advanced search  

News:

Welcome to Hurricane Electric's Tunnelbroker.net forums!

Author Topic: How to assign and understand the assign IPv6 Prefixes (/64 & /48)  (Read 4858 times)

sparkyccnp

  • Newbie
  • *
  • Posts: 1

I have configured and setup my Tunnel to Hurricane successfully along with default route.

I can ping the IPv6 remote end and have configured the given IPv6 DNS server on the router (Cisco 2621XM)
and can ping the DNS server;


R1#ping 2001:470:20::2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:470:20::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/18/20 ms

Im just alittle confused as to how to assign/break up the network prefix, could you advise please?

I have Routed /64:2001:470:1f09:ff7::/64


How do i break this? is it a simple case of say

2001:470:1F08:FF7::2/64 on say R1's interface
2001:470:1F08:FF7::3/64 on another router interface
etc etc?

Many thanks people, sorry if this has been asked already
Logged

cholzhauer

  • Hero Member
  • *****
  • Posts: 2731
Re: How to assign and understand the assign IPv6 Prefixes (/64 & /48)
« Reply #1 on: January 06, 2014, 01:31:15 PM »

That will work, but you're really free to do what you want.  Normally the ::1 address from your routed subnet goes on the inside interface of your router and you assign addresses from there
Logged

broquea

  • Sr. Network Engineer, HE.NET AS6939
  • Administrator
  • Hero Member
  • *****
  • Posts: 1735
Re: How to assign and understand the assign IPv6 Prefixes (/64 & /48)
« Reply #2 on: January 06, 2014, 02:28:00 PM »

and make certain to use 1f09
Logged

Lonney1

  • Newbie
  • *
  • Posts: 3
Re: How to assign and understand the assign IPv6 Prefixes (/64 & /48)
« Reply #3 on: February 05, 2014, 08:55:44 PM »

I'm also trying to understand this and get a picture of how it all fits together..

I have a tunnel with HE setup on pfsense, and DHCPv6 on my LAN, and everything works as expected after following this guide https://doc.pfsense.org/index.php/Using_IPv6_on_2.1_with_a_Tunnel_Broker

I have OpenVPN setup, on the IPv4 settings for this it has a tunnel network that is a different subnet from the IPv4 LAN, OpenVPN that clients are assigned addresses from this tunnel network. There is also matching options for IPv6 - IPv6 Tunnel Network and IPv6 Local Network/s.

From my (limited) understanding I need to get a /48 routed prefix, which will allow a /64 for the LAN, and a /64 for the tunnel network which is used to assign addresses to the OpenVPN clients.

At the moment I only have a /64 routed prefix which appears to be the default.

What happens when I click the "Assign /48" link on the HE tunnel details page? I'm guessing this might affect the existing HE tunnel settings in pfsense?
Logged

cholzhauer

  • Hero Member
  • *****
  • Posts: 2731
Re: How to assign and understand the assign IPv6 Prefixes (/64 & /48)
« Reply #4 on: February 06, 2014, 06:27:47 AM »

No to all of the above.

You're assigned two /64's by default...one for your tunnel and one for you to assign to clients.

You only need a /48 if you are doing VLAN's or multiple subnets where you need to assign a /64 to each one.
Logged

Lonney1

  • Newbie
  • *
  • Posts: 3
Re: How to assign and understand the assign IPv6 Prefixes (/64 & /48)
« Reply #5 on: February 06, 2014, 08:06:07 AM »

Lets not confuse HE tunnel with my OpenVPN tunnel network for the VPN clients - which needs to be on its own different sunbet from the LAN (this it how it works in IPv4 land, and there are the same options for IPv6 land in the OpenVPN server setup) - I effectively need two IPv6 subnets.

From what I understand the correct way to do this is to request a /48, from which I can make 2 or more /64 networks. I cant take my existing /64 and "slice" it up (even though it's possible it breaks things).
Logged

cholzhauer

  • Hero Member
  • *****
  • Posts: 2731
Re: How to assign and understand the assign IPv6 Prefixes (/64 & /48)
« Reply #6 on: February 06, 2014, 09:51:28 AM »

You're better off requesting a /48, splitting it up into as many /64's as you need, and changing your routing to reflect that.
Logged

Lonney1

  • Newbie
  • *
  • Posts: 3
Re: How to assign and understand the assign IPv6 Prefixes (/64 & /48)
« Reply #7 on: February 06, 2014, 10:10:43 AM »

Thank you, that's the answer I needed.  ;D
Logged