Skip to content

IPv6, the someday protocol

First of all, all IPv6 adresses is a biiiiig number!! (2128).

An example of an IPv6 address is:

1051:2ABC:3500:0004:5ABC:7662:AB79:08A1

So the subnetmask always just represents the network bits in IPv6.

So what’s a /64 network in IPv6? -> each hextet is 16bits

1051:  2ABC:3500:0004:5ABC:7662:AB79:08A1
NETWORKBITSHOSTBITS

You could do subnetting but we don’t need to, because there are so many addresses.

IPv6 Address Shortcuts

there are 2 rules:

  • Leading Zero -> dropping off any leading zero
2001:  001A:0000:0000:0001:AB10:0A71:1101/64
2001:1A:0000:0000:1:AB10:A71:1101/64
  • Abbreviate successive groups of Zeros ->with ::
    you can only use the “::” ONCE! And it has to be a group of zeros
2001:1A:0000:0000:1:AB10:A71:1101/64
2001:1A:::1:AB10:A71:1101/64
RFC
  1. Leading zero MUST be removed
  2. :: MUST be used..
  3. … except when its only one hextet
  4. And MUST be used for the longest group
  5. And hex characters MUST be lower case

Configuring IPv6 Overlay at Castle Rysen Cafe

  1. Overlay
  2. Subnets
  3. Addressing

What you might get from your ISP:

2001:db9:1:0:: /48

So the /48 are the networkbits, the rest are your host its for you to use.

ipv6 unicast-routing turns on routing for ipv6, it won’t let traffic pass through.

Configuring IPv6 at Castle Rysen

IPv6 types
  • Global unicast
    comes usually from the ISP
  • Unique local
    the private addresses of IPv6, two addresses: FC00/8 (don’t use yet) and FD00/8 (use it yet)
  • Link local
    multiple addresses assigned to one interface, FE80::EUI64, designed for local communication
    EUI64 is a standard to create your IPv6 address out of your mac address
    so FE80::207:ECFF:FE41:7701 defines the following
FE80::207:ECFF:FE41:7701
Link local addressAll 0sMac addressSqueezed in the standardRest of mac address 

The IOS command to represent:     
Ipv6 address 2001:db9:1:1::/64 eui-64

  • Multicast
    assigned for a group
  • Anycast
    assign the same ip address to different devices and then use routing to find the shortest path to it (useful for DNS servers)

Cisco IOS commands learned in this lesson

CommandExplanation
ipv6 unicast-routingEnables IPv6 packet forwarding globally on the router (without this, the router won’t route IPv6 traffic).
ipv6 address 2001:db9:1:1::/64 eui-64Assigns a Global Unicast Address prefix to the interface using the EUI-64 format to automatically generate the 64-bit host portion from the device’s MAC address.
show ipv6 interface briefDisplays a summary of IPv6 configurations and operational statuses for all interfaces.
show ipv6 interface ethernet 0/0.10Displays detailed IPv6 status and parameters for a specific interface or subinterface.
ipv6 address <address>/<prefix-length> (Static Assignment)The general form used to manually configure a standard static Global Unicast, Unique Local, or Link-Local IPv6 address without using EUI-64.
ipv6 enableAutomatically enables IPv6 processing and generates an IPv6 Link-Local address (FE80::/10) on the interface without assigning a Global Unicast address.

Leave a Reply

Your email address will not be published. Required fields are marked *