6.5 IPv6 Flashcards
IPv6
Internet Protocol version 6 or IPv6.
IPv6 addresses are 128 bits in size.
IPv6 addresses are just 128-bit binary numbers.
IPv6 addresses are usually written out as eight groups of 16 bits each.
Each one of these groups is further made up of four hexadecimal numbers.
2001:0db8
2001:0db8 has been reserved for documentation and education or for books and courses just like this one.
There are two rules when it comes to shortening an IPv6 address.
The first is that you can remove any leading zeros from a group.
The second is that any number of consecutive groups composed of just zeros can be replaced with two colons.
I should call out that this can only happen once for any specific address.
LOOPBACK ADDRESS
With IPv6, the loopback address is 31 zeros with a one at the end, which can be condensed all the way down to just::1.
MULTICAST
FF00: : is used for multi-cast, which is a way of addressing groups of hosts all at once.
LINK LOCAL UNICAST
Link-local unicast addresses allow for local network segment communications and are configured based upon a host’s MAC address.
The link-local address are used by an IPv6 host to receive their network configuration.
NETWORK ID
The first 64 bits of any IPv6 address is the network ID.
HOST ID
The second 64 bits of any IPv6 address is the host ID.
IPv6 SUBNETTING
IPv6 subnetting uses the same cider notation that you’re already familiar with.
This is used to define a sub-net mask against the network ID portion of an IPv6 address.
1 VERSION FIELD
The version field is a 4-bit field that defines what version of IP is in use.
2 TRAFFIC CLASS FIELD
Is an 8-bit field that defines the type of traffic contained within the IP datagram and allows for different classes of traffic to receive different priorities.
3 FLOW LABEL FIELD
Is a 20-bit field that’s used in conjunction with the traffic class field for routers to make decisions about the quality of service level for a specific datagram.
4 PAYLOAD LENGHT FIELD
This is a 16-bit field that defines how long the data payload section of the datagram is.
5 NEXT HEADER FiELD
IPv6 addresses are four times as long as IPv4 addresses. That means they have more ones and zeros which means that they take longer to transmit across a link. To help reduce the problems with additional data that IPv6 addresses impose on the network, the IPv6 header was built to be as short as possible. One way to do that is to take all of the optional fields and abstract them away from the IPv6 header itself.
6 NEXT HEADER FIELD
The next header field defines what kind of header is immediately after this current one. These additional headers are optional, so they’re not required for a complete IPv6 datagram. Each of these additional optional headers contain a next header field and allow for a chain of headers to be formed if there’s a lot of optional configuration.