Table of Contents
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 |
| NETWORKBITS | HOSTBITS | ||||||
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: | 0000: | 0000: | AB10: | 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: | 1: | AB10: | A71: | 1101 | /64 | ||
| 2001: | 1A: | : | : | 1: | AB10: | A71: | 1101 | /64 |
RFC
- Leading zero MUST be removed
- :: MUST be used..
- … except when its only one hextet
- And MUST be used for the longest group
- And hex characters MUST be lower case
Configuring IPv6 Overlay at Castle Rysen Cafe
- Overlay
- Subnets
- 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 address | All 0s | Mac address | Squeezed in the standard | Rest 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
| Command | Explanation |
| ipv6 unicast-routing | Enables IPv6 packet forwarding globally on the router (without this, the router won’t route IPv6 traffic). |
| ipv6 address 2001:db9:1:1::/64 eui-64 | Assigns 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 brief | Displays a summary of IPv6 configurations and operational statuses for all interfaces. |
| show ipv6 interface ethernet 0/0.10 | Displays 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 enable | Automatically enables IPv6 processing and generates an IPv6 Link-Local address (FE80::/10) on the interface without assigning a Global Unicast address. |