Welcome to CAVI, the Cisco Academy for the Vision Impaired. Course Fees Linux Wiki HTML Wiki Documentation Index PmWiki FAQ |
Main /
Chapter 8 - IP Addressing8.0 IP Addressing8.0.1 Introduction >8.0.1.1 IntroductionUpon completion of this chapter you will be able to:
8.0.1 Introduction >8.0.1.2 Activity - The Internet of Everything (IoE)The image on this page shows a skyscraper, a car, an electric meter, a bundle of network cables, and an overhead view of an interstate interchange. This represents the “Internet of Everything”. The description for this image is, “Today, more than 99 percent of our world remains unconnected. Tomorrow, we connect everything.” How will the IoE use IP addressing services for network communication? ObjectivesExplain how network devices use routing tables to direct packets to a destination network. IPv6 is important to help manage the data traffic identification, which will be needed in the future. Many addresses will assist in this endeavor, and IPv6 helps to alleviate this need. 8.1 IPv4 Network Addresses8.1.1 IPv4 Address Structure >8.1.1.1 Binary NotationFigure 1 on this page is an interactive media element that allows the learner to enter any character and have it translated to the corresponding ASCII bit value. For example a capital letter A is converted to the following binary byte pattern, 01000001. The figure also has the following 2 buttons:
Figure 2 on this page shows how the decimal number one hundred ninety two is formed. It is the combination of one set of the hundreds position, nine sets of the tens position, and two ones from the ones position. Positional Notation:
100 + 90 + 2 8.1.1 IPv4 Address Structure >8.1.1.2 Binary Number SystemFigure 1 on this page shows the breakdown of an IPv4 address. The figure also has the following 3 buttons:
Selecting Dotted Decimal Address highlights an IPv4 address as the dotted decimal value of 192.168.10.10. Selecting Octets highlights the binary octets. Decimal 192 is equivalent to binary 11000000. Decimal 168 is equivalent to binary 10101000. Decimal 10 is equivalent to binary 00001010. The last octet is again 10 and is binary 00001010. Selecting 32-Bit Address shows the four binary octets combined to give the IP address in binary as a total of 32 bits, 1100000 10101000 00001010 00001010. Figure 2 on this page shows the eight bits positions that form a byte and their equivalent decimal values. Each binary bit position represents two raised to a power, starting from two to the power of zero for the right-most bit and going through two raised to the power of 7 for the left-most bit in the eight bit byte. Each Binary Address position that has a 1 effectively turns on that position and a 0 turns it off. The resulting decimal number is the addition of all the on bits added together.
Add the binary bit values: 128 + 64 = 192 8.1.1 IPv4 Address Structure >8.1.1.3 Converting a Binary Address to DecimalThe figure on this page is an animation that shows the conversion from a 32 bit IP Address to a Dotted Decimal Address.
Dotted Decimal Address = 192.168.10.10 8.1.1 IPv4 Address Structure >8.1.1.4 Activity - Binary to Decimal ConversionsThe figure on this page is an interactive media element that presents the learner with a byte of data and the learner has to calculate the decimal value. For example:
The figure also has the following 3 buttons:
8.1.1 IPv4 Address Structure >8.1.1.5 Converting from Decimal to BinaryThe 6 figures on this page show the steps involved in calculating a binary number when given a decimal number. The starting decimal number is 168. In figure 1 the decimal number is compared to the left-most binary bit, which is 128 and the question of “do I need 128 to make 168?” is posed. The answer is yes so the 128 bit is turned on by placing a 1 in the bit position. The value of 128 is subtracted from 168 with the result of 40. Figure 2 moves to the next bit and asks the question “do I need 64 to make 40?”. The answer is no, so this bit is turned off with a zeroby placing a 0 in the bit position. Figure 3 moves to the next bit and asks the question “do I need 32 to make 40?”. The answer is yes so the bit is turned on and 32 is subtracted from 40 for a result of 8. Figure 4 moves to the next bit and asks the question “do I need 16 to make 8?”. The answer is no, so this bit is turned off with a zero. Figure 5 moves to the next bit and asks the question “do I need 8 to make 8?”. The answer is yes so the bit is turned on and 8 is subtracted from 8 for a result of 0. Figure 6 shows the last two bits are set to zero since there is no remainder to calculate bits. The final binary equivalent of 168 is 10101000.
8.1.1 IPv4 Address Structure >8.1.1.6 Converting from Decimal to Binary (Cont.)The 5 figures ion this page show the conversions steps from the decimal number 192.168.10.10 to its binary equivalent In figure 1 the decimal number is compared to the left-most binary bit, which is 128 and the question of “do I need 128 to make 192?” is posed. The answer is yes so the 128 bit is turned on and the value of 128 is subtracted from 192. The result is 64. The process continues to the next octet and asks the question “do I need 64 to make 64?”. The answer is yes, so this bit is turned on and 64 is then subtracted from 64 for a result of zero. Since we don’t need any more bits turned on, the remaining six bits in this octet are turned off. The byte is 11000000.
Figure 2 begins with the decimal number of 168. In step one the decimal number is compared to the left-most binary bit, which is 128 and the question of “do I need 128 to make 168?” is posed. The answer is yes so the 128 bit is turned on and the value of 128 is subtracted from 168. The result is 40. The next step is to move to the next bit and ask the question “do I need 64 to make 40?”. The answer is no, so this bit is turned off with a zero. The process moves to the next bit and asks the question “do I need 32 to make 40?”. The answer is yes so the bit is turned on and 32 is subtracted from 40 for a result of 8. The process moves to the next bit and asks the question “do I need 16 to make 8?”. The answer is no, so this bit is turned off with a zero. The process moves to the next bit and asks the question “do I need 8 to make 8?”. The answer is yes so the bit is turned on and 8 is subtracted from 8 for a result of 0. The last two bits are set to zero since there is no remainder to calculate bits. The final binary equivalent of 168 is 10101000.
Figure 3 begins with the decimal number of 10. In step one the decimal number is compared to the left-most binary bit, which is 128 and the question of “do I need 128 to make 168?” is posed. The answer is no, so this bit is turned off with a zero. The next step is to move to the next bit and ask the question “do I need 64 to make 10?”. The answer is no, so this bit is turned off with a zero. The process moves to the next bit and asks the question “do I need 32 to make 40?”. The answer is no, so this bit is turned off with a zero. The process moves to the next bit and asks the question “do I need 16 to make 10?”. The answer is no, so this bit is turned off with a zero. The process moves to the next bit and asks the question “do I need 8 to make 10?”. The answer is yes so the bit is turned on and 8 is subtracted from 10 for a result of 2. The process moves to the next bit and asks the question “do I need 4 to make 2?”. The answer is no, so this bit is turned off with a zero. The process moves to the next bit and asks the question “do I need 2 to make 2?”. The answer is yes so the bit is turned on and 2 is subtracted from 2 for a result of 0. The last bit is set to zero since there is no remainder to calculate bits. The final binary equivalent of 10 is 00001010.
Figure 4 begins with the decimal number of 10. In step one the decimal number is compared to the left-most binary bit, which is 128 and the question of “do I need 128 to make 168?” is posed. The answer is no, so this bit is turned off with a zero. The next step is to move to the next bit and ask the question “do I need 64 to make 10?”. The answer is no, so this bit is turned off with a zero. The process moves to the next bit and asks the question “do I need 32 to make 40?”. The answer is no, so this bit is turned off with a zero. The process moves to the next bit and asks the question “do I need 16 to make 10?”. The answer is no, so this bit is turned off with a zero. The process moves to the next bit and asks the question “do I need 8 to make 10?”. The answer is yes so the bit is turned on and 8 is subtracted from 10 for a result of 2. The process moves to the next bit and asks the question “do I need 4 to make 2?”. The answer is no, so this bit is turned off with a zero. The process moves to the next bit and asks the question “do I need 2 to make 2?”. The answer is yes so the bit is turned on and 2 is subtracted from 2 for a result of 0. The last bit is set to zero since there is no remainder to calculate bits. The final binary equivalent of 10 is 00001010.
Figure 5 shows the IP address of 192.168.10.10 converts to the Binary IPv4 Address 11000000101010000000101000001010. 192.168.10.10
11000000 10101000 00001010 00001010 8.1.1 IPv4 Address Structure >8.1.1.7: Activity - Decimal to Binary Conversion ActivityThe figure on this page is an interactive media element that presents the learner with a decimal number that needs to be converted into binary. The learner will enter either a one or a zero for each bit. For example:
The figure also has the following 3 buttons:
8.1.1 IPv4 Address Structure >8.1.1.8 Activity - Binary GameThe figure on this page is a web link to the Cisco Binary game. There is also a link to download a mobile version. in the game the learner is asked to either convert binary to decimal or decimal to binary. This game is not accessible. 8.1.2 IPv4 Subnet Mask >8.1.2.1 Network Portion and Host Portion of an IPv4 AddressFigure 1 on this page shows the breakdown of an IPv4 address. The address is listed in both decimal and binary. The decimal value is 192.168.10.10. The binary equivalent of 192 is 11000000. Decimal 168 is equivalent to binary 10101000. Decimal 10 is equivalent to binary 00001010. The last octet is again 10 and is binary 00001010. The subnet mask is listed in decimal as 255.255.255.0. The binary equivalent is 11111111.11111111.11111111.00000000. This is a class C IPv-4 network so the first three octets represent the network portion and the last host represents the host portion.
Figure 2 on this page lists the valid subnet mask values. The bits that are set to 1 in a subnet mask must be consecutive from left to right so there are only certain values that can be used in subnet masks. When all eight bits are set to 1 it equals 255. The first seven bits working left to right set to 1 equals 254. The first six bits working left to right set to 1 equals 252. The first five bits working left to right set to 1 equals 248. The first four bits working left to right set to 1 equals 240. The first three bits working left to right set to 1 equals 224. The first two bits working left to right set to 1 equals 192. The first bit working left to right set to 1 equals 128. The last combination is when all eight bits are set to 0 it equals 0.
8.1.2 IPv4 Subnet Mask >8.1.2.2 Examining the Prefix LengthFigure 1 on this page shows three tables, each with an example network address. The first table has a network address of 10.1.1.0/24. The last eight bits in the address are the host bit positions. The first host address is 10.1.1.1, the last host address is 10.1.1.254 and the broadcast address is 10.1.1.255. The number of hosts on this network is 2 raised to the power of 8, then subtract 2 for a total of 254 hosts.
The second table has a network address of 10.1.1.0/25. The last seven bits in the address are the host bit positions. The first host address is 10.1.1.1, the last host address is 10.1.1.126 and the broadcast address is 10.1.1.127. The number of hosts on this network is 2 raised to the power of 7, then subtract 2 for a total of 126 hosts.
The third table has a network address of 10.1.1.0/26. The last six bits in the address are the host bit positions. The first host address is 10.1.1.1, the last host address is 10.1.1.62 and the broadcast address is 10.1.1.63. The number of hosts on this network is 2 raised to the power of 6, then subtract 2 for a total of 62 hosts.
Figure 2 on this page has two tables, each with an example network address. The first table has a network address of 10.1.1.0/27. The last five bits in the address are the host bit positions. The first host address is 10.1.1.1, the last host address is 10.1.1.32 and the broadcast address is 10.1.1.31. The number of hosts on this network is 2 raised to the power of 5, then subtract 2 for a total of 30 hosts.
The second table has a network address of 10.1.1.0/28. The last four bits in the address are the host bit positions. The first host address is 10.1.1.1, the last host address is 10.1.1.14 and the broadcast address is 10.1.1.15. The number of hosts on this network is 2 raised to the power of 4, then subtract 2 for a total of 14 hosts.
8.1.2 IPv4 Subnet Mask >8.1.2.3 IPv4 Network, Host and Broadcast AddressesThe 4 figures on this page illustrate the three types of addresses within the address range of an IPv4 network. Figure 1 shows one router connected to a switch, and there are four computers connected to the switch:
PC3 ||10.1.1.12 || PC4 ||10.1.1.254 || Figure 2 shows the Network Address and expands it into binary. The last eight bits is the host portion. The rule for a network address is all 0 bits in the host portion. This is true for each of the four computers:
Figure 3 shows the Host Address of the computer with the IP address of 10.1.1.10. TThe rule for a Host Address is any combination of 0 and 1 bits in the host portion of the address but cannot contain all o bits or all 1 bits:
Figure 4 shows the the Broadcast Address. The rule for this address is all 1 bits in the host portion:
8.1.2 IPv4 Subnet Mask >8.1.2.4 First Host and Last Host AddressesThe 2 figures on this page show the same network as on the previous page. Figure 1 shows the first available IP address on the network. The rule is all 0 bits in the host portion except for the right-most bit, which will be set to 1:
Figure 2 shows the last available IP address on the network. The rule is all 1 bits in the host portion except for the right-most bit, which will be set to 0:
8.1.2 IPv4 Subnet Mask >8.1.2.5 Bitwise AND OperationThe 4 figures on this page shows the process of ANDing a 1 bit with a 1 bit using the 192.168.10.10/24 address. The IP address and the subnet mask are both listed in binary with the IP address above the subnet mask:
In figure 1 the first two bits in the first octet for the IP address and the subnet mask are both 1 bits so the network address will start with the left most two bits set to 1. The next octet has the first, third and fifth bits from left to right set to 1 in the IP address, so these bits become set to 1 in the network address. The third octet also has the first, third and fifth bits from left to right set to 1 in the IP address, so these bits become set to 1 in the network address.
Figure 2 fills in the blanks in the network address with 0 bits since ANDing a 0 and a 1 will result in 0:
Figure 3 is ANDing a 0 and a 0, which is 0. The subnet mask is all 0 bits in the host portion, so the host octet is all 0 bits:
Figure 4 is ANDing a 1 and a 0, which will equal 0. This causes all the host bits to be 0 bits and results in the network identification address of 192.168.10.10/24:
8.1.2 IPv4 Subnet Mask >8.1.2.6 Importance of ANDingThe figure on this page illustrates the importance of ANDing a 1 bit with a 1 bit using the 192.168.10.10/24 address. The IP address and the subnet mask are both listed in binary with the IP address above the subnet mask:
8.1.2 IPv4 Subnet Mask >8.1.2.7: Lab - Using the Windows Calculator with Network AddressesSee Lab Descriptions. 8.1.2 IPv4 Subnet Mask >8.1.2.8: Lab - Converting IPv4 Addresses to BinarySee Lab Descriptions. 8.1.2 IPv4 Subnet Mask >8.1.2.9 Activity - ANDing to Determine the Network AddressThe figure on this page is an interactive media element that presents the learner with a host address and a subnet mask in both decimal and binary. The learner is asked to perform the ANDing and provide the network address in both binary and decimal. For example:
The figure also has the following 3 buttons:
8.1.3 IPv4 Unicast, Broadcast, and Multicast >8.1.3.1 Assigning a Static IPv4 Address to a HostFigure 1 on this page shows the graphical user interface for the network adapter properties for a Windows computer and it is highlighting the IPv4 setting option. Figure 2 on this page shows the IPv-4 properties window and the option for static addressing is selected. In the figure the IP address, subnet mask and a default gateway are being configured. 8.1.3 IPv4 Unicast, Broadcast, and Multicast >8.1.3.2 Assigning a Dynamic IPv4 Address to a HostFigure 1 on this page shows the IP4 properties window and in the window the setting for the adapter to automatically obtain an IP address is selected. Figure 2 on this page is a command prompt window showing the output of the IP config command, which is displaying the IP address, subnet mask, default gateways, and DNS server address 8.1.3 IPv4 Unicast, Broadcast, and Multicast >8.1.3.3 Unicast TransmissionThe figure on this page is an animation showing a unicast transmission. A computer with the IP address of 172.16.4.1 needs to send a packet to a network printer with the IP address of 172.16.4.253. The packet is sent to a switch and then the packet is forwarded to the printer. 8.1.3 IPv4 Unicast, Broadcast, and Multicast >8.1.3.4 Broadcast TransmissionThe figure on this page is an animation showing a limited broadcast transmission. A computer with the IP address of 172.16.4.1 is sending a broadcast message to the broadcast address of 255.255.255.255. The switch receives the packet and sends the packet out to all of the ports except the port on which the switch received the packet. In the figure a router receives the broadcast, but the router will drop the message because routers do not forward broadcast messages. 8.1.3 IPv4 Unicast, Broadcast, and Multicast >8.1.3.5 Multicast TransmissionThe figure on this page is an animation of a multicast transmission. A computer with the IP address of 172.16.4.1 is sending a multicast message to the multicast address of 224.10.10.5. Two devices on the switch are members of this multicast group and they each receive a copy of the frame. 8.1.3 IPv4 Unicast, Broadcast, and Multicast >8.1.3.6 Activity - Unicast, Broadcast, or MulticastThe figure on this page is an interactive media element that presents the learner with a network and a destination IP address from the source host. The network consists of a switch connected to a source host and five other computers. The figure also has the following 2 buttons:
When Start is selected the learner is given 10 seconds to select the host(s) which will receive a packet based on the address type (Unicast, Broadcast, or Multicast). For example:
8.1.3 IPv4 Unicast, Broadcast, and Multicast >8.1.3.7 Activity - Calculate the Network, Broadcast and Host AddressesThe figure on this page is an interactive media element that presents the learner with an IP address and a prefix. The learner is asked to calculate the network, broadcast, first usable host, and last usable host addresses. The learner is asked to enter the last octet of each of the addresses in both binary and decimal. They are also asked to enter the full address in decimal:
The figure also has the following 4 buttons:
8.1.3 IPv4 Unicast, Broadcast, and Multicast >8.1.3.8 Packet Tracer - Investigate Unicast, Broadcast, and Multicast TrafficObjectives:Part 1: Generate Unicast Traffic Part 2: Generate Broadcast Traffic Part 3: Investigate Multiicast Traffic 8.1.4 Types of IPv4 Addresses >8.1.4.1 Public and Private AddressesThe figure on this page shows three private local area networks. The first one is the 192.168.1.0 network, the second is the 172.16.0.0 network, and the third is the 10.0.0.0 network. Routers that are connected to the Internet will not forward packets from these networks to the Internet. 8.1.4 Types of IPv4 Addresses >8.1.4.2 Activity - Pass or Block IPv4 AddressesThe figure on this page is an interactive media element that presents the learner with a packet from a specified IP address. The figure also has the following 4 buttons:
When Start is selected a packet is presented, the learner needs to decide if the Internet router will pass or block the packet based on the destination IP address. The learner is given 5 points at the start of the activity and points are added or subtracted according to the decision made. The activity continues until the the point total reaches either 0 or 10. 8.1.4 Types of IPv4 Addresses >8.1.4.3 Special Use IPv4 AddressesThe figure on this page shows two local area networks, and each is using a special IPv4 network address. The first network is using the link-local network 169.254.0.0/16. Routers that are connected to the Internet will not forward packets from this network to the Internet. The second network is using the TEST-NET address of 192.0.2.0/24 network. Routers that are connected to the Internet will not forward packets from this network to the Internet. 8.1.4 Types of IPv4 Addresses >8.1.4.4 Legacy Classful AddressingFigure 1 on this page is a table that illustrates how the address classes are divided:
Figure 2 on this page shows the classful address ranges:
Note: All zeros (0) and all ones (1) are invalid hosts addresses 8.1.4 Types of IPv4 Addresses >8.1.4.5 Assignment of IP AddressesThe figure on this page is a map of the world and places the five Regional Internet Registries on the geographical area they represent. See page description for details. 8.1.4 Types of IPv4 Addresses >8.1.4.6 Assignment of IP Addresses (Cont.)The three figures on this page highlight the three tiers of ISP. two Tier 3 ISPs are connected to one of two Tier 2 ISPs which in turn are connected to the Tier 1 ISP. The Tier 1 ISP is connected to the Internet Backbone. Figure 1 highlights Tier 1 ISPs. A Tier 1 ISP will have direct, multiple connections to the Internet backbone, providing reliability. It will primarily serve very large companies and Tier 2 ISPs. Figure 2 highlights Tier 2 ISPs. A Tier 2 ISP connects to the Internet via a Tier 1 ISP. It willy primarily serve large companies and Tier 3 ISPs. Figure 3 highlights Tier 3 ISPs. A Tier 3 ISP connect to the Internet via a Tier 2 ISP. It primarily serves small to medium companies and homes. 8.1.4 Types of IPv4 Addresses >8.1.4.7 Activity - Public or Private IPv$ AddressesThe figure on this page is an interactive media element that presents the learner with lists of eight IPv4 addresses. The leaner needs to classify them as either public or private. For example, one list of IP addresses is:
The figure also has the following 2 buttons:
8.1.4 Types of IPv4 Addresses >8.1.4.8: Lab - Identifying IPv4 AddressesSee Lab Descriptions. 8.2 IPv6 Network Addresses8.2.1 IPv4 Issues >8.2.1.1 The Nees for IPv6The figure on this page shows an infographic titled “The Internet of Things” stating that: During 2008, the number of things connected to the internet exceeded the number of people on earth. by the year 2020 there will be fifty billion. These things are not just smartphones and tablets. They're everything. A Dutch startup, Sparked, is using wireless sensors on cattle so that when one is sick or pregnant, it sends a message to the farmer. Each cow transmits 200 mb of data per year. We can monitor ourselves this way too. Corventismakes a wireless cardiac monitor that physicians can check for health risks. And this is just the beginning. These things are starting to talk to each other and develop their own intelligence. Imagine a scenario where your meeting was pushed back forty five minutes. This is communicated to your alarm clock, which allows you five extra minutes sleep, signals your car to start in five minutes to melt the ice accumulated in overnight snow storms and signals your coffee maker to turn on five minutes late as well.. Your car knows it will need gas to make it to the train station. Fill-ups usually take five minutes. There was an accident on your driving route causing a fifteen minute detour and your train is running twenty minutes behind schedule. We are all on our way. By the end of 2011, 20 typical households will generate more internet traffic than the entire internet in 2008. Cisco's Planetary Skin will use billions of networked sensors on land and in sea, air and space to detect and predict changes to the environment. We already have cameras and computers that are one cubic millimeter. You could fit one hundred and fifty of them on an icon. With the IPv6 protocol, we will have 340,282,366,920,938,463,463,374,607,431,768,211,456 possible internet addresses. That's 100 for every atom on the face of the Earth. Technological limitations are receding exponentially. When billions of things are connected, talking and learning, the only limitation left will be our own imaginations. 8.2.1 IPv4 Issues >8.2.1.2 IPv4 and IPv6 CoexistenceThe three figures on this page show the three IPv4 to IPv6 migration categories. Figure 1 illustrates Dual-stack. A Dual-stack IPv4 and IPv6 router is connected to three network segments. Each has a computer running IPv4 and IPv6 in Dual-stack mode, which allows the two protocols to co-exist. Figure 2 illustrates Tunnelling. It shows two Dual-stack routers. Each router has a network segment on one of the Fast Ethernet ports. There is a computer on each network segment that is running only IPv6. There is a an IPv4 only tunnel connecting the two routers. The tunnel encapsulates the IPv6 packet within an IPv4 packet for transmission. Figure 3 illustrates Translation. It shows a router that has an IPv6 only segment on one Fast Ethernet port and an IPv4 only segment on another Fast Ethernet port. The router is serving as a Network Address Translation (NAT) 64 device allowing IPv6 enabled devices to communicate with IPv4 enabled devices. 8.2.1 IPv4 Issues >8.2.1.3 Activity - IPv4 Issues and SolutionsThe figure on this page is an interactive media element that has the learner match 5 terms with the correct description. The terms are:
The descriptions are:
The figure also has the following 2 buttons:
8.2.2 IPv6 Addressing >8.2.2.1 Hexadecimal Number SystemFigure 1 on this page is a table listing the decimal numbers from zero to fifteen with the hexadecimal and binary equivalents:
Figure 2 on this page lists two digit hexadecimal values, and their decimal and binary equivalents for a select set of numbers:
8.2.2 IPv6 Addressing >8.2.2.2 IPv6 Address RepresentationFigure 1 on this page shows the preferred format for writing an IPv6 address, which is x:x:x:x:x:x:x:x:
Four hexadecimal dihits = sixteen binary digits:
Figure 2 on this page lists example IPv6 addresses:
8.2.2 IPv6 Addressing >8.2.2.3 Rule 1 - Omitting Leading 0sThe eight figures on this page show several examples of how omitting leading 0s (marked in bold) can be used to reduce the size of an IPv6 address. Figure 1:
Figure 2:
Figure 3:
Figure 4:
Figure 5:
Figure 6:
Figure 7:
Figure 8:
8.2.2 IPv6 Addressing >8.2.2.4 Rule 2 - Omitting all 0 SegmentsThe seven figures on this page show several examples of how using the double colon (::) and omitting leading 0s can reduce the sixe of an IPv6 address. Figure 1:
Figure 2:
Only one set of double colons (::) may be used. Figure 3:
Figure 4:
Figure 5:
Figure 6:
Figure 7:
8.2.2 IPv6 Addressing >8.2.2.5: Activity - Practicing IPv6 Address RepresentationsFigures one through 10 on this page are interactive media elements that present the learner with a full IPv6 address. First the learner is required to enter the address by omitting leading zeros, and then by applying the double colon method.
Each figure also has the following 2 buttons:
8.2.3 Types of IPv6 Addresses >8.2.3.1 IPv6 Address TypesThe figure on this page shows a router with a switch connected on one of the Fast Ethernet ports. There are two computers, a server, and a network printer attached to the switch. Computer 1 is sending an IP unicast message to the server.
8.2.3 Types of IPv6 Addresses >8.2.3.2 IPv6 Prefix LengthThe figure on this page shows the prefix notation used in I.Pv6 addressing:
Example: 2001:0DB8:000A::/64
8.2.3 Types of IPv6 Addresses >8.2.3.3 IPv6 Unicast AddressesThe figure on this page shows the six types of IPv6 unicast addresses with a few examples:
8.2.3 Types of IPv6 Addresses >8.2.3.4 IPv6 Link-local Unicast AddressesFigure 1 on this page shows an example of communication using IPv6 link-local addresses. A router with a switch on a Fast Ethernet port. There are two computers, a server, and a printer attached to the switch. Computer 1 sends a job to the printer. The switch will forward the print job because the two devices are on the same link. In the figure there is a red X on the two other Fast Ethernet ports, not the one with the switch. The x indicates that the router will not route any link local addresses.
Figure 2 on this page shows the format of the IPv6 link local address in its expanded form:
8.2.3 Types of IPv6 Addresses >8.2.3.5 Activity - Identify Types of IPv6 AddressesThe figure on this page is an interactive media element that has the learner match IPv6 address terms to the proper definition. The IPv6 address terms are:
The definitions are:
The figure also has the following 2 buttons:
8.2.4 IPv6 Unicast Addresses >8.2.4.1 Structure of an IPv6 Global Unicast AddressFigure one shows the structure and range of a global unicast address and the range of the first hextet:
The range of the first hextet is:
Figure 2 on this page shows the structure of a global unicast address using a /48 global routing prefix:
Figure 3 shows how to read a global unicast address: Compressed: 2001:DB8:ACAD:1::10 Preferred: 2001:0DB8:ACAD:0001:0000: 0000: 0000: 0010 Global routing prefix: 2001:0DB8:ACAD 8.2.4 IPv6 Unicast Addresses >8.2.4.2 Static Configuration of a Global Unicast AddressFigure 1 on this page shows a router with two active gigabit Ethernet ports with a switch on each port and a PC connected to each switch. The router also has an active serial port that is connected to a WAN cloud.
Figure 2 on this page shows the first step in configuring IPv6 routing, which is assigning addresses to the router ports. Command line interface mode is shown in the figure for the router: R1(config)#interface gigabitethernet 0/0
Figure 3 on this page shows the Windows Internet Protocol Version 6 (TCP/IPv6) Properties dialog box displaying the default gateway for PC1 as 2001:DB8:ACAD:1::1 Figure 4 on this page is a Syntax Checker used to practice entering the command to configure the IPv6 global unicast addresses in the following order. The Syntax Checker is inaccessible: The figure also has the following 3 buttons:
Router(config)#interface gigabitethernet 0/0 You successfully configured the R1 interfaces with IPv6 addresses 8.2.4 IPv6 Unicast Addresses >8.2.4.3 Dynamic Configuration of a Global Unicast Address using SLAACThe figure on this page shows the router solicitation process by displaying a computer sending the following request for IPv6 addressing information to all IPv6 routers, "I need addressing information from the router.". The figure also shows the following router advertisement message being sent by a router to all IPv6 nodes, "Option 1 (SLAAC Only) - I'm everything you need (Prefix, Prefix-length, Default Gateway)". Router Advertisement Options are as follows::
8.2.4 IPv6 Unicast Addresses >8.2.4.4 Dynamic Configuration of a Global Unicast Address using DHCPv6The figure on this page shows the router solicitation process by displaying a computer sending the following request for IPv6 addressing information to all IPv6 routers, "I need addressing information from the router.". The figure also shows the following router advertisement message being sent by a router to all IPv6 nodes, "Option 2 (SLAAC and DHCPv6) - Here is my information but you need to get other information such as DNS addresses from a DHCPv6 server.". The computer then sends out the following DHCPv6 solicit request looking for DNS information, "I need addressing information from the DHCPv6 server.". Note: An RA with Option 3 (DHCPv6 Only) enabled will require the client to obtain all information from the DHCPv6 Server. 8.2.4 IPv6 Unicast Addresses >8.2.4.5 EUI-64 Process or Randomly GeneratedFigure 1 on this page illustrates the EUI-64 process using R1’s GigabitEthernet MAC address of:
Step 1: The hexadecimal MAC address is split between the Organizationally Unique Identifier and the device ID, and converted into binary. Step 2: The hexadecimal value FFFE is inserted between the OUI and the device ID to make the 64 bits. Step 3: Locate the seventh bit in from the left on the OUI and flip the value. This is the Universally slash Locally bit, also known as the U slash L bit.
Figure 2 on this page shows that an easy way to identify that an address was more than likely created using EUI-64 is the FFFE located in the middle of the Interface ID> R1#show interface gigabitethernet 0/0
Hardware is CN Gigabit Ethernet, address is fc99:4775:c3e0
(bia fc99:4775:c3e0)
R1#show ipv6 interface brief
FE80::FE99:47FF:FE75:C3E0 (Link-local Address using EUI-64)
GigabitEthernet0/1 [up/up]
FE80::FE99:47FF:FE75:C3E1 (Link-local Address using EUI-64)
Serial0/0/0 [up/up]
FE80::FE99:47FF:FE75:C3E0 (Link-local Address using EUI-64)
Serial0/0/1 [administratively down/down]
unassigned
R1#
8.2.4 IPv6 Unicast Addresses >8.2.4.6 Dynamic Link-Local AddressesThe figure on this page shows the format of an IPv6 link local address:
8.2.4 IPv6 Unicast Addresses >8.2.4.7 Static Link-Local AddressesFigure 1 on this page shows the steps to configure the link local address on a router: R1(config)#interface gigabitethernet 0/0
Link-local Use link-local address
R1(config-if)#ipv6 address fe80::1 link-local
Figure 2 on this page is showing the output of the show IPv6 interface brief command: R1#show ipv6 interface brief
FE80::1 (Statically configured link-local address)
GigabitEthernet0/1 [up/up]
FE80::1 (Statically configured link-local address)
Serial0/0/0 [up/up]
FE80::1 (Statically configured link-local address)
Serial0/0/1 [administratively down/down]
unassigned
R1#
8.2.4 IPv6 Unicast Addresses >8.2.4.8 Verifying IPv6 Address ConfigurationFigure 1 on this page shows a router (R1) with two active gigabit Ethernet ports (G0/0 & G0/1) with a switch on each port (S1 & S2) and a PC connected to each switch (PC1 & PC2). The router also has an active serial port (S0/0/0) that is connected to a WAN cloud. The figure also shows the output of the show IPv6 interface brief command:
R1#show ipv6 interface brief
FE80::FE99:47FF:FE75:C3E0
GigabitEthernet0/1 [up/up]
FE80::FE99:47FF:FE75:C3E1
Serial0/0/0 [up/up]
FE80::FE99:47FF:FE75:C3E0
Serial0/0/1 [administratively down/down]
unassigned
R1#
Figure 2 on this page shows the output from the show IPv6 route command. This command lists the I.P. v-6 routing table for the router: R1#show ipv6 route
C 2001:DB8:ACAD:1::/64 [0/0] via GigabitEthernet0/0, directly connected L 2001:DB8:ACAD:1::1/128 [0/0] via GigabitEthernet0/0, receive C 2001:DB8:ACAD:2::/64 [0/0] via GigabitEthernet0/1, directly connected L 2001:DB8:ACAD:2::1/128 [0/0] via GigabitEthernet0/1, receive C 2001:DB8:ACAD:3::/64 [0/0] via Serial0/0, directly connected L 2001:DB8:ACAD:3::1/128 [0/0] via Serial0/0/0, receive L FF00::/8 [0/0] via Null0, receive R1# Figure 3 on this page shows the IPv6 ping command and output from sending a ping request to a computer: R1#ping 2001:db8:acad:1::10
Figure 4 on this page is a Syntax Checker used to practice entering the commands to verify the IPv6 interface configuration as stated in figures 1 - 3. The figure also has the following 3 buttons:
8.2.5 IPv6 Multicast Addresses >8.2.5.1 Assigned IPv6 Multicast AddressesThe figure on this page shows a router with a switch connected to one gigabit Ethernet port. There are 2 computers, a server, and a printer connected to the switch. The router is sending an IPv6 all-nodes multicast message from source address 2001:DB8:ACAD:1::1 to the destination .Pv6 address FF02::1, which is the All-nodes multicast group. The message is sent out to all the I.Pv6 enabled devices that are connected to the switch. 8.2.5 IPv6 Multicast Addresses >8.2.5.2 Solicited-Node IPv6 Multicast AddressesThe figure on this page shows an IPv6 solicited-node multicast address being formed from an IPv6 global unicast address. The example in the figure lists the unicast address bits in hexadecimal, therefore the format of the first one hundred four binary bits in hexadecimal is the combination of the global routing prefix, the subnet ID, and a portion of the interface ID. The remaining twenty-four binary bits are the last twenty-four bits of the interface ID. The figure then shows the first one hundred four bits being changed to form the solicited node multicast address.The final twenty-four bits keep their original values. Global unicast address :
Solicited node multicast address:
8.2.5 IPv6 Multicast Addresses >8.2.5.3: Packet Tracer - Configuring IPv6 AddressingObjectives:Part 1: Configure IPv6 Addressing on the Router Part 2: Configure IPv6 Addressing on Servers Part 3: Configure IPv6 Addressing on Clients Part 4: Test and Verify Network Connectivity 8.2.5 IPv6 Multicast Addresses >8.2.5.4: Lab - Identifying IPv6 AddressesSee Lab Descriptions. 8.2.5 IPv6 Multicast Addresses >8.2.5.5: Lab - Configuring IPv6 Addresses on Network DevicesSee Lab Descriptions. 8.3 Connectivity Verification8.3.1 ICMP >8.3.1.1 ICMPv4 and ICMPv6 MessagesThe figure on this page is an animation that shows computer H1 with an IPv4 address of 192.168.10.1 sending an ICMP echo request to computer H2 with an IPv4 address of 192.168.30.1. H1 has a callout saying, "Is H2 reachable?". The message travels from H1 through a switch to a router. That router sends the request to another router, then to a switch, and finally to H2. H2 sends back an ICMP reply. H2 has a callout saying, "Yes, I am here.". 8.3.1 ICMP >8.3.1.2 ICMPv6 Router Solicitation and Router Advertisement MessagesThe figure on this page shows a computer sending an IPv6 router solicitation message. The computer has a callout saying, "I need addressing information from the router.". The router responds with a router advertisement message. This message can have one of the following three options configured:
8.3.1 ICMP >8.3.1.3 ICMPv6 Neighbor Solicitation and Neighbor Advertisement MessagesThe figure on this page shows two additional messages within the ICMPv6 Neighbor Discovery Protocol, the neighbor solicitation, and the duplicate address detection. A neighbor solicitation message is sent across a link by a device that is looking for the MAC address of a known IPv6 address. In the figure, PC1 is sending a Address Resolution message to FF02:0:0:0:0:1:FF00::20. PC1 has a callout saying, "I need the Etherenet MAC address of the device that has this unicast address. In the figure, PC2 is sending a Duplicate Address Detection (DAD) message to FF02:0:0:0:0:FF00::30 . PC2 has a callout saying, "Before I use this address is anyone else on this link using this global unicast address? 8.3.2 Testing and Verification >8.3.2.1 Ping - Testing the Local StackThe figure on this page shows the command line utility to test the local TCP/IP stack on a computer running IPv4. The command is: C:\>ping 127.0.0.1
Pinging the local host confirms that TCP/IP is installed and working on the local host. Pinging 127.0.0.1 causes a device to ping itself. 8.3.2 Testing and Verification >8.3.2.2 Ping - Testing Connectivity to the Local LANThe figure on this page shows a router with a switch connected to its Fast Ethernet port F0/1 and with IPv4 address 10.0.0.254. The switch has a computer connected to it. The computer is testing connectivity to the router, which is the default gateway, by using ping to send an echo request to the router port. The command used is: C:\>ping 10.0.0.254
The router responds with an echo reply. 8.3.2 Testing and Verification >8.3.2.3 Ping - Testing Connectivity to RemoteThe figure on this page is an animation that shows a computer sending an echo request to a remote host. The echo request is sent to a switch which then forwards the request to a router. The receiving router sends the request to a switch, which then directs it to the destination host. The host will respond by sending an echo reply back to the sender. 8.3.2 Testing and Verification >8.3.2.4 Traceroute - Testing the PathThe figure on this page is an animation of the trace route process. A host forms an echo request with a T T L of 1 and a destination IP address and sends the packet. The first router receives this packet and it decrements the T T L by 1 since it is a hop. The T T L is now 0 so the packet is returned to the sender. The sending host does not receive the expected echo reply so it increases the T T L to a value of 2 and resends the packet. The first router receives the packet and decrements the T T L by 1. The T T L now has a value of 1 so the router sends the packet to the next router, and this router will decrement the T T L by 1. Now that the T T L is 0 the router returns the packet to the sender. The sender increments the T T L to 3 and again sends the packet through the network. When the third router receives the packet the T T L is decremented to 0 and the packet is returned to the sender. Still not receiving an echo reply, the sender increases the T T L to 4 and sends it across the network. The packet moves through three routers and now has a T T L of 1. The receiving host receives the packet and sends back the echo reply to the sender. 8.3.2 Testing and Verification >8.3.2.5: Packet tracer - Verifying IPv4 and IPv6 AddressingObjectives:Part 1: Complete the Addressing Table Documentation Part 2: Test Connectivity Using Ping Part 3: Discover the Path by Tracing the Route 8.3.2 Testing and Verification >8.3.2.6: Packet tracer - Pinging and Tracing to Test the PathObjectives:Part 1: Test and Restore IPv4 Connectivity Part 2: Test and Restore IPv6 Connectivity 8.3.2 Testing and Verification >8.3.2.7: Lab - Testing Network Connectivity with Ping and TracerouteSee Lab Descriptions. 8.3.2 Testing and Verification >8.3.2.8: Packet tracer - Troubleshooting IPv4 and IPv6 AddressingObjectives:Part 1: Troubleshoot First issue Part 2: Troubleshoot Second issue Part 3: Troubleshoot Third issue 8.4 Summary8.4.1 Summary >8.4.1.1: Class Activity - The Internet of Everything...Naturally!The figure on this page is made up of four images:
Objectives:Explain the need for IPv6 network addresses.
This is an application based activity. You will develop a plan to show how IoE subnets, unicasts, and multicasts could be used in our daily lives to affect data communication.
8.4.1 Summary >8.4.1.2: Packet tracer - Skills Integration Challenge8.4.1 Summary >8.4.1.3 SummaryThe figure on this page shows the breakdown of an IPv4 address. The address is listed in both decimal and binary. This is a class C IPv4 network so the first three octets represent the network portion and the last host represents the host portion.IPv4 Address:
End of Chapter 8: IP Addressing. Next - Chapter 9: Subnetting IP Networks. |