Lab6 (1130229)
Текст из файла
Лабораторная работа № 6. Маски подсети
Objectives:
This lab will focus on your ability to accomplish the following tasks:
-
Work with Class B network addresses and subnets
-
Determine the subnets available with a particular IP network address and subnet mask
-
Given a network address and requirements, be able to determine how many subnets and hosts
-
Be able to determine what subnet mask should be used to give the appropriate number of hosts and subnets
-
Assign IP addresses and subnet masks to hosts and router interfaces
-
Use the "ANDing" process to track an IP packet from a local host to a remote host through a router
Step 1 – IP Address Basics
Explanation: For reference, the IP addressing table is included here. IP network addresses are assigned by ARIN. You will work with a Class B.
Cls | 1st Octet Decimal Range | 1st Octet High Order Bits | Network / Host ID (N=Network, H=Host) | Default Subnet Mask | Number of Networks | Hosts per Network (usable addresses) |
A | 1 – 126* | 0 | N.H.H.H | 255.0.0.0 | 126 (27 – 2) | 16,777,214 (2 24 – 2) |
B | 128 – 191 | 1 0 | N.N.H.H | 255.255.0.0 | 16,382 (214 - 2) | 65,534 (2 16 – 2) |
C | 192 – 223 | 1 1 0 | N.N.N.H | 255.255.255.0 | 2,097,150 (221 – 2) | 254 (2 8 – 2) |
D | 224 – 239 | 1 1 1 0 | Reserved for Multicasting | |||
E | 240 – 254 | 1 1 1 1 0 | Experimental, used for research |
Step 2 – Class B network address with 3 subnets.
Task: Use the information below and from prior labs to help determine your valid subnets and host IP addresses. Answer the following questions.
Explanation: Your institution has a Class B network address of 150.193.0.0. This class B network address will be subdivided to accommodate your physical network and you will need at least 50 subnets interconnected with routers. Each subnet needs to be able to handle at least 750 hosts per subnet (workstations, servers and router interfaces). As the network manager for your local campus at the institution, you were given the first 10 of these subnets for use with your local campus. You will be using 6 of these subnets now and will keep the others for future growth. Do NOT use the first or last subnet.
-
What is the binary equivalent of the Class B network address 150.193.0.0 in the exercise?
_______ . _________ . _________ . __________ -
Which octet(s) and how many bits are used to represent the network portion of this network address?
-
Which octet(s) and how many bits represent the host portion of this Class B network address?
-
How many original Class B networks are there?
-
What is the total number of hosts that can be created with a Class B network address if it has not been subdivided?
-
How many bits must you borrow from the host portion of the network address in order to provide at least 50 subnets and at least 750 hosts per subnet?
-
What will the Subnet Mask be (using dotted decimal notation) based on the number of bits borrowed in step 6?
-
What is the binary equivalent of the subnet mask above:
_______ . ________ . ________ . ________
Step 3 – Class B network address with 3 subnets.
Task: Complete the table below according to the instructions. Use the information in the table to answer the questions and complete the diagram at the end of this lab.
Explanation: Be sure to specify all four octets for the subnet address and subnet mask. The same subnet mask should be used for all hosts, router interfaces and all subnets. Having a common subnet mask will allow hosts and routers to determine which subnet the IP packet is intended for. Router interfaces will usually be numbered first when assigning IP addresses and hosts will receive higher numbers.
-
Fill in the following table for each of the possible subnets that can be created by borrowing 6 bits for subnets from the third octet (1st host octet). Identify the Network Address, the Subnet Mask, the Subnetwork Address, the range of possible host IP addresses for each subnet, the broadcast address of each subnet and also indicate whether the subnet is useable or not. You will only use 3 of these subnets for the exercise.
SN# | Network Address | Subnet mask | Subnetwork Address | Range of possible Host IP Addresses | Broadcast Address | Use? |
0 | ||||||
1 | ||||||
2 | ||||||
3 | ||||||
4 | ||||||
5 | ||||||
6 | ||||||
7 | ||||||
8 | ||||||
9 |
-
Assign an IP Address and Subnet Mask to router interface A and write it down here.
-
Assign an IP Address and Subnet Mask to router interface B and write it down here.
-
Assign an IP Address and Subnet Mask to router interface C and write it down here.
-
Assign a host IP Address to Host X on Subnet A and assign an IP address to Host Z on Subnet C (answers may vary). Describe the steps (using ANDing) for the process of sending an IP packet from Host X to Host Z through the router. Remember, when ANDing two 1s together the result is a 1, ANDing any other combination (1 and 0, 0 and 1 or 0 and 0) results in a zero (0). Also, when ANDing two network IP addresses together the result of the ANDing process will be the network (or subnetwork) address of the destination IP address in the packet. Use the information from the diagram above to help assign IP addresses and subnet masks.
-
What is the result of the ANDing process for Host X?
Decimal Host X IP addr: ______ . ______ . ______ . _______
Binary Host X IP addr: ______ . ______ . _______ . _______
Binary Subnet Mask: ______ . _____ . _______ . ________
Binary ANDing Result: _______ . _______ . _______ . ________
Decimal ANDing Result: ______ . ______ . _______ . ________ -
What is the result of the ANDing process for Host Z?
Decimal Host Z IP addr: ____ . _____ . _______ . ______
Binary Host Z IP addr: ______ . _____ . _______ . _______
Binary Subnet Mask: _____ . ______ . ______ . _______
Binary ANDing Result: ______ . ______ . _______ . _______
Decimal ANDing Result: _____ . _____ . ______ . ______ -
The Decimal ANDing result from questions 7 is the network/subnet that Host X is on. The result from question 8 is the network/subnet that Host Z is on. Are Host X and Host Z on the same network/subnet?
-
What will Host X now do with the packet ?
-
Fill in the blanks in the following diagram with the correct Network and IP addresses.
Step 4 – IP Address Basics
Explanation: For reference, the IP addressing table from the prior lab is included here. IP network addresses are assigned by the Internet Network Information Center (InterNIC). You will work with a Class C.
Cls | 1st Octet Decimal Range | 1st Octet High Order Bits | Network / Host ID (N=Network, H=Host) | Default Subnet Mask | Number of Networks | Hosts per Network (usable addresses) |
A | 1 – 126* | 0 | N.H.H.H | 255.0.0.0 | 126 (27 – 2) | 16,777,214 (2 24 – 2) |
B | 128 – 191 | 1 0 | N.N.H.H | 255.255.0.0 | 16,382 (214 - 2) | 65,534 (2 16 – 2) |
C | 192 – 223 | 1 1 0 | N.N.N.H | 255.255.255.0 | 2,097,150 (221 – 2) | 254 (2 8 – 2) |
D | 224 – 239 | 1 1 1 0 | Reserved for Multicasting | |||
E | 240 – 254 | 1 1 1 1 0 | Experimental, used for research |
Step 5 – Class C network address with 3 subnets.
Task: Use the following information and use the information from the worksheet in the prior lab to help determine your valid subnets and host IP addresses. Do NOT use the zero or last subnet.
Explanation: Your company has a class C network address of 200.10.57.0. You want to subdivide your physical network into 3 subnets (A, B and C) using a router as shown in the diagram at the end of the worksheet. You will need at least 20 hosts per subnet. Answer the following questions.
-
What is the binary equivalent of the Class C network address 200.10.57.0 in the exercise?
__________ . __________ . __________ . __________ -
Which octet(s) represent the network portion and which octet(s) represent the host portion of this Class C network address?
-
How many bits must you borrow from the host portion of the network address in order to provide at least 3 subnets and at least 20 hosts per subnet?
-
What will the Subnet Mask be (using dotted decimal notation) based on the number of bits borrowed in step 3?
_________ . _________ . __________ . __________ -
What is the binary equivalent of the subnet mask above:
_________ . _________ . __________ . __________
Step 6 – Class C network address with 3 subnets.
Task: Complete the table below according to the instructions. Use the information in the table to answer the questions and complete the diagram at the end of this lab.
Explanation: Be sure to specify all four octets for subnet address and subnet mask. The same subnet mask should be used for all hosts, router interfaces and all subnets. Having a common subnet mask will allow hosts and routers to determine which subnet the IP packet is intended for. Router interfaces will usually be numbered first when assigning IP addresses and hosts will receive higher numbers.
-
Fill in the following table for each of the possible subnets that can be created by borrowing 3 bits for subnets from the fourth octet (host octet). Identify the Network Address, the Subnet Mask, the Subnetwork Address, the range of possible host IP addresses for each subnet, the broadcast address of each subnet and also indicate whether the subnet is useable or not. You will only use 3 of these subnets for the exercise.
SN# | Network Address | Subnet mask | Subnetwork Address | Range of possible Host IP Addresses | Broadcast Address | Use? |
1st | ||||||
2nd | ||||||
3rd | ||||||
4th | ||||||
5th | ||||||
6th | ||||||
7th | ||||||
8th |
-
Assign an IP Address and Subnet Mask to router interface A and write it down here.
__________________ / ___________________ -
Assign an IP Address and Subnet Mask to router interface B and write it down here.
__________________ / ___________________ -
Assign an IP Address and Subnet Mask to router interface C and write it down here.
__________________ / ___________________ -
Assign a host IP Address to Host X on Subnet A and assign an IP address to Host Z on Subnet C (answers may vary). Describe the steps (using ANDing) for the process of sending an IP packet from Host X to host Z through the router. Remember, when ANDing, two 1s together the result is a 1, ANDing any other combination (1 and 0, 0 and 1 or 0 and 0) results in a Zero (0). Also, when ANDing two network IP addresses together the result of the ANDing process will be the network (or subnetwork) address of the destination IP address in the packet. Use the information from the diagram above and prior lab to help assign IP addresses and subnet masks.
Характеристики
Тип файла документ
Документы такого типа открываются такими программами, как Microsoft Office Word на компьютерах Windows, Apple Pages на компьютерах Mac, Open Office - бесплатная альтернатива на различных платформах, в том числе Linux. Наиболее простым и современным решением будут Google документы, так как открываются онлайн без скачивания прямо в браузере на любой платформе. Существуют российские качественные аналоги, например от Яндекса.
Будьте внимательны на мобильных устройствах, так как там используются упрощённый функционал даже в официальном приложении от Microsoft, поэтому для просмотра скачивайте PDF-версию. А если нужно редактировать файл, то используйте оригинальный файл.
Файлы такого типа обычно разбиты на страницы, а текст может быть форматированным (жирный, курсив, выбор шрифта, таблицы и т.п.), а также в него можно добавлять изображения. Формат идеально подходит для рефератов, докладов и РПЗ курсовых проектов, которые необходимо распечатать. Кстати перед печатью также сохраняйте файл в PDF, так как принтер может начудить со шрифтами.