Beruflich Dokumente
Kultur Dokumente
Part Three
Make the correct answer and calculations.
CLASSFUL ADDRESSES:
2. 129.14.6.8
a) What is the binary representation of this address? 10000001 00001110 00000110 00001000
b) What Class is this address? B
c) What is the NetID portion of this address? 129.14
d) What is the HostID portion of this address? 6.8
e) What is the address of the network on which this IP address is found? 129.14.0.0.
f) What is the first address of this network? 129.14.0.0.
g) What is the last address of this network? 129.14.255.255
3. 208.34.54.12
a) What is the binary representation of this address? 11010000 00100010 00110110
00001100
b) What Class is this address? C
c) What is the NetID portion of this address? 208.34.54
d) What is the HostID portion of this address? .12
e) What is the address of the network on which this IP address is found? 208.34.54.0
f) What is the first address of this network? 208.34.54.0
g) What is the last address of this network? 208.34.54.255
4. 238.34.2.1
a) What is the binary representation of this address? 11101111 00100010 00000010 00000001
b) What Class is this address? D
Subnetwork mask binary: 1111 1111 1111 0000 0000 0000 0000 0000
Subnetwork mask dotted-decimal: 255.240.0.0
2. You want to create a set of 24 subnetworks. Give the network mask in binary and
dotted-decimal notation. Then, give the subnetwork mask in binary and in dotted decimal
notation: (Notice that you will have some subnetworks “left over.”)
Network mask binary: 1111 1111 0000 0000 0000 0000 0000 0000
Network mask dotted-decimal: 255.0.0.0
Subnetwork binary: 1111 1111 1111 1000 0000 0000 0000 0000
Subnetwork dotted-decimal: 255.248.0.0
3. You want to create a set of 100 subnetworks. Give the network mask in binary and dotted-
decimal notation. Then, give the subnetwork mask in binary and in dotted decimal notation:
(Notice that you will have some subnetworks “left over.”)
Network mask binary: 1111 1111 0000 0000 0000 0000 0000 0000
Network mask dotted-decimal: 255.0.0.0
Subnetwork binary: 1111 1111 1111 1110 0000 0000 0000 0000
Subnetwork dotted-decimal: 255.254.0.0
23) Using the network 180.25.0.0, create the subnet masks as
specified below.
1.You want to create a set of 14 subnetworks. Give the network mask in binary and dotted-
decimal notation. Then, give the subnetwork mask in binary and in dotted decimal
notation: (Notice that you will have some subnetworks “left over.”)
Network mask: binary: 1111 1111 1111 1111 0000 0000 0000 0000
Network mask: dotted-decimal: 255.255.0.0
Subnetwork mask binary: 1111 1111 1111 11111 1111 0000 0000 0000
Subnetwork mask dotted-decimal: 255.255.240.0.
2.You want to create a set of 24 subnetworks. Give the network mask in binary and dotted-
decimal notation. Then, give the subnetwork mask in binary and in dotted decimal
notation: (Notice that you will have some subnetworks “left over.”)
Network mask: binary: 1111 1111 1111 1111 0000 0000 0000 0000
Network mask: dotted-decimal: 255.255.0.0
Subnetwork maskbinary: 1111 1111 11111 11111 1111 1000 0000 0000
Subnetwork mask dotted-decimal: 255.255.248.0.
3.You want to create a set of 100 subnetworks Give the network mask in binary and
dotted-decimal notation. Then, give the subnetwork mask in binary and in dotted decimal
notation: (Notice that you will have some subnetworks “left over.”)
Network mask: binary: 1111 1111 1111 1111 0000 0000 0000 0000
Network mask: dotted-decimal: 255.255.0.0
24) Suppose you use classful addressing and your network contains the IP address
183.28.5.9 and you want to create 6 subnetworks (don’t use the subnetwork whose
network address is the same as the network address of your network and don’t use the
subnetwork the non-zero portion of which ends in 255. )
A. What is the network mask of your network in binary?
11111111 11111111 00000000 00000000
B. What is the network mask of your network in dotted decimal? 255.255.0.0
C. What is the network address of your network in dotted decimal notation? 183.28.0.0
D. What is the subnet mask of your network in binary?
11111111 11111111 11100000 00000000
E. What is the subnet mask of your network in dotted decimal? 255.255.224.0
F. Write the network addresses (first addresses) of every subnetwork you can create using
this subnetwork mask:
183.28.00000000.00000000 = 183.28.0.0 This is the network address and not used for a real
host
183.28.00100000.00000000 = 183.28.32.0
183.28.01000000.00000000 = 183.28.64.0
183.28.01100000.00000000 = 183.28.96.0
183.28.10000000.00000000 = 183.28.128.0
183.28.10100000.00000000 = 183.28.160.0
183.28.11000000.00000000 = 183.28.192.0
183.28.11100000.00000000 = 183.28.225.0 This is the broadcast to all subnetworks and is
not used for a real host
25) For each host IP address below on the network in problem II tell which subnetwork it
is on.
A- 183.28.75.14
B- 183.28.75.14 AND 255.255.224.0 = 183.28.(do this in binary).75 = 0 1 0 0 1 0 1 1 AND
1 1 1 0 0 0 0 0 = 0 1 0 0 0 0 0 0 = 64 so the subnetwork is 183.28.64.0
C- 183.28 40.85 183.28.32.0
D- 183.28 200.225 183.28.192.0
E- 183.28 135.5 183.28.128.0
In problem II, write the first address and last address on the subnetwork whose subnetwork
address is 183.28.32.0.
F- First address = 183.28.32.0
G- Last address = 183.28.32.255
26)In problem II, write the first address and last address on the subnetwork whose
subnetwork address is 183.28.128.0
A- First address = 183.28.10000000 00000000 = 183.28.128.0
B- Last address = 183.28.11111111 11111111 = 183.28.128.255
27) For each of the four IP addresses given below in dotted decimal notation,
answer the questions that follows.
28) . Using the network 135.48.0.0, create the subnet masks as specified below.
You want to create a set of 5 subnetworks. Give the network mask in binary and dotted-decimal
notation. Then, give the subnetwork mask in binary and in dotted decimal notation: (Notice that
you will have some subnetworks “left over.”)
1. What is the network mask in binary: 1111 1111 1111 1111 0000 0000 0000 0000
2. What is the network mask in dotted-decimal: 255.255.0.0
3. What is the subnetwork mask in binary: 1111 1111 1111 1111 1110 0000 0000 0000
4. What is the subnetwork mask in dotted-decimal: 255.255.224.0
5. How many subnetworks can you identify using this mask? 8____
29) . Suppose you use classful addressing and your network contains the IP
address 53.22.18.79 and you want to create 12 subnetworks.
1. What is the network mask of your network in binary?
11111111 00000000 00000000 00000000
2. What is the network mask of your network in dotted decimal? 255.0.0.0
3. What is the network address of your network in dotted decimal notation? 53.0.0.0
4. What is the subnet mask you will use, given in binary notation?
11111 1111 0000 0000 0000 0000 0000
5. What is the subnet mask you will use, given in dotted decimal notation?
255.240.1.0
6. Write the network addresses (first addresses) of every subnetwork you can create using
this subnetwork mask:
CLASSLESS ADDRESSES
31) In a block of IP addresses, we know the IP address of one host is 25.34.12.56/16.
a. What is the network address (first address) of this block? 25.34.0.0
b. What is the limited broadcast address (last address) of this block? 25.34.255.255
c. What is the number of addresses in the block? 216
34)For each of the addresses below, apply the three criteria to determine if the address can
be the first address of a CIDR network. Give the first address and the last address of
the network on which this address is found.
1-Is it possible that 123.56.77.39/29 could be the first address of a CIDR network?
a. How many addresses could there be on this network? 32-29 = 3 -> 23 = 8 addresses in the block
b. Write the address as a decimal: 123 x 2563 + 56 x 2562 + 77 x 2561 + 39 x 2560 = 2067287335
c. Divide the decimal value you just calculated by the number of possible addresses. Apply restriction 3
on page 555: divide this by 8 = 258410916.9.
d. Can this be a first address? No. The result of the division in c. above not a whole number, so the
first address is not divisible by the number of addresses. Therefore this could not be the first
address of a CIDR network.
e. First address of the network : 123.56.77.32
f. Last address of the network: 123.56.77.255
2-Is it possible that 200.17.21.128/27 could be the first address of a CIDR network?
a. How many addresses could there be on this network? 32-27 = 5 -> 25 = 32 addresses in the block
b. Write the address as a decimal: 200 x 2563 + 17 x 2562 + 21 x 2561 + 128 x 2560 = 35793664
c. Divide the decimal value you just calculated by the number of possible addresses.
35793664 / 32 = 1118552
d. Can this be a first address? Yes. The result of the division in c. is a whole number, so the first
address is divisible by the number of addresses. Therefore this could be the first address of a CIDR
network.
e. First address of the network: 200.17.21.128
f. Last address of the network: 200.17.21.255
3-Is it possible that 17.34.16.0/23 could be the first address of a CIDR network?
a. How many addresses could there be on this net
b. work? 32-23 = 9 -> 29 = 512 addresses in the block
b. Write the address as a decimal: 17 x 2563 + 34 x 2562 + 16 x 2561 + 0 x 2560 = 287444992
c. Divide the decimal value you just calculated by the number of possible addresses.
287444992 / 512 = 561416
d. Can this be a first address? Yes. The result of the division in c. is a whole number, so the first
address is divisible by the number of addresses. Therefore this could be the first address of a CIDR
network.
e. First address of the network : 17.34.16.0
f. Last address of the network: 17.34.17.255
4-Is it possible that 180.34.25.200/26 could be the first address of a CIDR network?
a. How many addresses could there be on this network? 32-26 = 6 -> 26 = 64 addresses in the block
b. Write the address as a decimal: 180 x 2563 + 34 x 2562 + 25 x 2561 + 200 x 2560 = 3019898880 +
2228224 + 6400 + 200 = 3022133704
c. Divide the decimal value you just calculated by the number of possible addresses.
3022133704 / 64 = 47220839.13
d. Can this be a first address? No. The result of the division in c. is not a whole number, so the first
address is not divisible by the number of addresses. Therefore this could not be the first address of
a CIDR network.
e. First address of the network: 180.34.25.192
f. Last address of the network: 180.34.25.255
5- Is it possible that 205.16.37.32/28 could be the first address of a CIDR network?
a. How many addresses could there be on this network? 32-28 = 4 -> 24 = 16 addresses in the block
b. Write the address as a decimal: 205 x 2563 + 16 x 2562 + 37 x 2561 + 32 x 2560 = 3439329280 +
1048576 + 9472 + 32 = 3440387360
c. Divide the decimal value you just calculated by the number of possible addresses.
3440387360 / 16 = 215024210
d. Can this be a first address? Yes. The result of the division in c. is a whole number, so the first
address is divisible by the number of addresses. Therefore this could be the first address of a CIDR
network.
e. First address of the network: 205.16.37.32
f. Last address of the network: 205.16.37.255
35) An ISP gets a block of addresses 28.0.0.0 /8 from ICANN
The blocks identified by its first address followed by the /n
The customers of the ISP is providing to smaller ISPs:
A. The first ISP-1 has its own 256 ISP customers and each of those customers wants 256 IP
addresses
B. The second ISP2 has its own 64 ISP customers and each of those customers wants 128 IP
Addresses
C. The third ISP-3 has its own256 ISP customers and each of those customers want 64 IP
addresses
The first ISP has 256 customers and each of those customers wants 256 IP addresses
To create 256 unique host addresses, how many bits do I need? You can find calculating the Log 2 256 = 8
or 28 = 256, so I need to use 8 of the suffix bits to create the addresses
That leaves me 32 - 8 = 24 bits for my prefix
I have a block of addresses whose first address is 28.0.0.0
So I can assign a block of addresses to my first ISP as follows: 28.0.0.0 / 24 = 28.0. (0-255). (0-255)
It is easiest if you convert to binary right away as follows:
28. 0. 0. 0 =
00011100 00000000 00000000 00000000 is the network address
28.0.X.X == 00011100 00000000 xxxxxxxx xxxxxxxx represents all the different addresses you can
possibly make on this network
We need blocks of 256 addresses, so it is pretty easy to assign the blocks of :
00011100 00000000 00000001 xxxxxxxx = 28.0.0. (0-255)
00011100 00000000 00000001 xxxxxxxx = 28.0.1. (0-255)
00011100 00000000 00000010 xxxxxxxx = 28.0.2. (0-255)
00011100 00000000 00000011 xxxxxxxx = 28.0.3. (0-255)
……..
00011100 00000000 00111111 xxxxxxxx = 28.0.255. (0-255)
Expressed in dotted decimal notation:
My first ISP which has 256 customers will provide:
As his First customer gets the block of addresses: 28.0.0.0 through 28.0.0.255
Then second customer gets the block of addresses: 28.0.1.0 through 28.0.1.255
Then third customer gets the block of addresses: 28.0.2.0 through 28.0.2.255
……
At the end the sixty-fourth customer gets the block of addresses: 28.0.255.0 through 28.0.255.255
The second ISP-2 has 64 customers and each of those customers wants 128 IP addresses
To create 128 unique host addresses, how many bits do I need ? You can find calculating the Log 2128 =
Log2 27= 7, so I need to use 7 of the suffix bits to create the addresses
That leaves me 32 - 7 = 25 bits for my prefix
I have already assigned 28.0.(0-255).(0-255)
So I can assign a block of addresses to my second ISP starting from : 28.1.0.0 they are as follows 28.1.
(0-31).(0-256)/25
Note: there are 64x128 = 56x 27 = 213 addresses, this is what was needed, since 64x 128 = 2 6x 27 = 213