Computer Systems Servicing: Quarter 3 Self-Learning Module 12 Ipv4 and Ipv6 Addressing
Computer Systems Servicing: Quarter 3 Self-Learning Module 12 Ipv4 and Ipv6 Addressing
Computer Systems Servicing: Quarter 3 Self-Learning Module 12 Ipv4 and Ipv6 Addressing
SERVICING
Quarter 3
Self-Learning Module 12
IPV4 and IPv6 Addressing
After completing this lesson, you should be able to:
1. List down the difference between IPV4 and IPV6 addresses;
2. Understand the process on how to compress an IPV6 address;
3. Appreciate the importance of knowing the difference
between an IPV4 and IPV6 addresses.
DIRECTION: Read the following statement carefully. Choose the best answer by
encircling your answer.
INTRODUCTION
These days TCP/IP is a protocol of choice on a network, which means all of
the devices on a network will be assigned an IP address. IP address is a unique
number.
Here is an example of an IP address.
IPv6 Addresses
IPv6 is an update to IPV4 which greatly expands the capabilities of an IP
protocol. With an IPv4 address, people can have approximately millions unique
addresses around the globe. But with the IPv6 you can have Undecillion addresses
around the globe. If the value of millions is define using 8 zeros on the right of the
number, undecillion use 27 zeros to the right of a number.
The major difference between an IPv4 address and an IPv6 address is their
total length.
IPv6 Compression
Writing out the entire IPv6 address is not easy because of its length. But
there are ways on how to abbreviate and compress this address down to smaller
size that will make easier for us to manage.
SAMPLE 1
Let us start compressing the given IPv6 above. So first, we remove all the
leading zero.
Leading zeros means:
1. A group of hexadecimal which has only zeros on them.
2. A group of zeros to the left of a number or letter.
So in our example, zeros with underline are leading zeros.
• fe80
• 0000
• 0000
• 0000
• cabc
• c800
• 00a7
• 08d5
Therefore, the IPv6 can now take the form
fe80:0:0:0:cabc:c800:a7:8d5
After taking out all the leading zeros, we may now abbreviate the groups of
zeros with double colons. However, we can only use this once. So, if there is
another group of zeros on the other side of IPv6, you can only choose which of the
two to be abbreviated and leave the other as it is.
Therefore, the IPv6 can now take the final form
fe80::cabc:c800:a7:8d5
SAMPLE 2
Compress the IPv6 address
2601:04c3:4002:be00:0000:0000:0000:0066
2601:4c3:4002:be00:0:0:0:66
Now let us abbreviate using double colon. The final answer should be,
2601:4c3:4002:be00::66
DIRECTION: Compress the following IPv6 addresses.
1. 2A03:2880:10FF:0008:0000:0000:FACE:B00C
2. 2A01:04C8:143A:1C08:D8A4:BAA7:A410:4AEB
3. AB1E:2B00:0000:1234:5678:9101:1112:1113
4. 0000:0000:0000:0000:0000:FFFF:9F8A:9C34
5. 0000:0000:0000:0000:0000:FFFF:AEDD:003C
DIRECTION: Read the following statement carefully. Write your answer in two to
three sentences each number.
DIRECTION: Read the following statement carefully. Choose the best answer by
encircling your answer.