| IP Version 6 (IPv6) |
| General Info - General Info | |||||||||||||||
| Wednesday, 15 December 2010 20:18 | |||||||||||||||
|
IPv4 is the current protocol used for sending data over the internet. The main issue with IPv4 is its limited address space. With the amount of available IPv4 address rapidly shrinking IPv6 overcomes this by introducing 128 bit addresses and a much larger address space to that of IPv4. 1. Changes Introduced by IPv6Summary
Changes
2. IPv6 AddressingIn IPv4 addressing each address comprises of 4 octets (X.X.X.X). With each octet being 8 bits which can be assigned a value between 0-255 using decimal notation. An IPv6 address is represented via 8 octets. With each octet being 16 bits in length and addressable via 4 Hex characters. For example: 2a00:1450:8006:0000:0000:0000:0000:0093 To make the reading of IPv6 addresses easier there are 2 rules that can be applied: Rule 1 - The first rule is that consecutive zeros can be omitted with a "::". This can though, be done only once. Below is an example: 2a00:1450:8006:0000:0000:0000:0000:93 > 2a00:1450:8006::93 Rule 2 - The second rule permits the removal of leading zeros from within each octet. 2a00:1450:8006:0000:0000:0000:0000:93 > 2a00:1450:8006:0:0:0:0:93 3. SubnettingIPv6 subnetting concepts are based on VLSM (Variable Length Subnet Masking) and Classless Inter-Domain Routing methodology. [global routing prefix][subnet ID][interface ID] Each address consists of 128 bits. Organisations are often assigned a /48 (48 bit) block of address space. With 48 bits being assigned to the global routing prefix the remaining 80 bits are assigned to either the subnet ID or interface ID bits. Example : Based on splitting a /48 down into smaller subnets, a total of 65536 64bit subnets could be obtained. This is calculated using the following values:
Note : It is worth mentioning that IPv6`s auto configuration requires an interface ID of 64 bits. This is because auto configuration assigns a EUI-64 (64-bit) address to the Interface ID. EUI-64 addresses are explained in more depth later on within this article. 4. Address TypesPrevious with IPv4 there were 3 types of addresses: Unicast, Multicast and Broadcast. This is where IPv6 differs. With IPv6 there are 3 types of addresses. They are:
"Broadcasts" have now been moved into the role of the multicast address type. Any device needing to send multiple packets to multiple devices can now do so by transmitting a multicast packet with the necessary scope ID set. 4.1 UnicastUnicast addresses are addresses that are associated exclusively to an interface. Just like IPv4 the address can be split into 2 parts; the subnet prefix and the interface ID. The subnet prefix is used to route the packet and the interface ID identifies the network associated with the target IPv6 interface. Global Addresses are conventional, publicly routable address, just like conventional IPv4 publicly routable addresses.
4.2 MulticastThis allows multiple interfaces to all receive the same packet. Packets sent to a multicast address are sent to all interfaces linked to that address. IPv6 multicast address consist of four fields.
4.3 AnycastAn anycast address is a single address assigned to multiple nodes. A packet sent to an anycast address is then delivered to the first available node. This is a slick way to provide both load-balancing and automatic failover. The idea of anycast has been around for a long time; it was proposed for inclusion in IPv4 but it never happened. 5. EUI-64 AddressesEUI-64 addresses are used in the automatic address configuration process. EUI-64 addresses are created by amending the existing host MAC address (48-bits) to form a 64-bit address. This is achieved via inserting a 16-bit Hex value (0xFFFE) into the middle of the MAC address, then followed by the changing of the 7th bit to a 1. 6. Neighbour Discovery IPv6 Neighbour Discovery incorporates ARP, ICMP Router Discovery and ICMP redirects.
7. Interface ModesIPv6 allows for 2 types of interface Modes; Host mode and Router mode. Host Mode - When an interface is configured for Host mode, it functions as an IPv6 host. The interface accepts Router Advertisement (RA) messages from other devices and broadcasts Router Solicitation (RS) messages to other devices. 8. Auto ConfigurationOne of the main benefits (other than address space) to IPv6 is auto configuration. Auto configuration provides state-less address auto configuration (SLAAC) to your hosts using ICMP6 Router Solicitation and Router Advertisement messages. Depending on the mode type auto configuration works in one of two ways: Host - Host mode devices send a Router Solicitation message in order to obtain the network prefix from the on-link router. Once it receives the required configuration parameters it uses (along with the EUI-64 address) to auto configure the IP address of the interface. /var/log/manifest.problems
|
Latest Articles
- F5 LTM VE 10.2.x - Interfaces not recognised
- Cisco ASA - Security Levels / NAT Control
- F5 LTM - OneConnect
- Django - CSRF verification failed. Request aborted.
- F5 LTM VE - Unable to attach to PCI device 02:01.00 for Interface 1.1
- F5 LTM - Connection Management
- Brocade ADX - FTP
- PKI - Chain of Trust
- Juniper SRX - Site to Site VPN using a Dynamic IP address
- F5 LTM - How do I perform software installations ?
- Juniper SRX - NAT
- Juniper SRX - How to configure a route based VPN
- Juniper SRX - Dynamic VPN
- Juniper SRX - How to configure a policy based VPN
- Brocade ADX - NAT
- Brocade ADX - CSW nested rules
- How do I upgrade a Juniper SRX Series gateway
- Cisco ASA - How do I capture ARP`s ?
- Juniper SRX - Configuring Source NAT with pool
- Running a packet capture on a Juniper SRX
Popular
- Proxy ARP – SPLAT
- Check Point Commands
- IPSO - Commands
- ASA 8.3 - How to configure NAT
- vSphere - Creating User and Group Permissions
- PEMU - Free Cisco PIX Firewall Emulator / Simulator
- Configuring Wireless Connectivity within Backtrack 4 r2
- Juniper Netscreen Commands
- Juniper Netscreen - NAT Explained
- How do I install snmpwalk / snmpget using Yum ?
- Netscreen - NSRP
- ESX Convertor - The session is not authenticated
- Troubleshooting a Netscreen Site 2 Site VPN
- ESX - ViClient Cannot connect to host
- Endpoint Connect Installation / Troubleshooting Guide
- Check Point - How to Reset SIC
- ESXi - Connecting to a named pipe
- Netscreen - Routing Basics / Virtual Routers / PBR
- Check Point Logging Troubleshooting Guide
- Configuring Windows 2008 R2 as an NTP Server

