Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
14 views4 pages

Solved Exercises On Subnetting

The document provides a series of exercises related to computer networking, specifically focusing on subnetting, IP address conversions, and CIDR notation. It includes calculations for subnet masks, number of hosts per subnet, and the identification of broadcast addresses. Additionally, it discusses the validity of certain IP addresses based on their class and subnet masks.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views4 pages

Solved Exercises On Subnetting

The document provides a series of exercises related to computer networking, specifically focusing on subnetting, IP address conversions, and CIDR notation. It includes calculations for subnet masks, number of hosts per subnet, and the identification of broadcast addresses. Additionally, it discusses the validity of certain IP addresses based on their class and subnet masks.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

COMPUTER NETWORKS: Qualified Practice 01

1. There is a class B address that must be initially divided into 25 subnets with a
minimum of 1000 hosts in each subnet. It is planned to go up to 55 subnets. What mask of
Which subreddit should be used?
1000 hosts/subnet is approaching 1024 hosts/subnet

55 subnets approaches 64 subnets

With 64 subnets, each subnet will have: 256*256 hosts/64 subnets = 1024 hosts/subnet
(requirement fulfilled)

2^n = 64 => n=6

The mask will be:

/16 (default class B) + 6 = /22

255.255.252.0

2. Convert 190.167.11.12 to hexadecimal


BE-A7-0B-0C

3. The IP address 175.21.51.12 with a subnet mask /21, which subnet does it belong to and what is its
broadcast?
175.21.51.12 00110|011 00001100

255.255.248.0 11111|000 00000000 Applying the AND operator results in:

00110

110 in decimal is 6, so the address belongs to subnet 6.

21 - 16 = 5 => 2^5 = 32 subnets

Hosts/subnet = 256*256/32 = 2048 hosts/subnet

To determine the broadcast:

2048 * 7 = 14336 - 1 = 14335 => 37-FF = 55.255


The broadcast will be: 175.21.55.255

4. The IP address 156.233.42.56 has lent 7 bits to the network part. How many subnets and how many
Are hosts per subnet possible to form?
Loan: 7 bits for the subnets:

2^7 = 128 subnets

Host/subnet = 256*256 / 128 = 512 host/subnet

5. Given the address 200.1.17.0 with subnet mask 255.255.255.240 indicate the maximum amount
subnets that can be created and the number of hosts that would be in each of them
255.255.255.240 = /28

28 - 24 = 4 => No. Subnets = 2^4 = 16 subnets


256 hosts / 16 subnets = 16 hosts / subnet

6. The network 100.0.0.0 with a subnet mask of 255.0.0.0 is divided into subnets using the mask
255.255.255.0. Indicate the number of resulting subnets and how many hosts are lost as a result of
subnetting
New mask: 255.255.255.0 = /24

Number of subnets: 24 - 8 = 16 ==> 2^16 = 65536 subnets

Hosts that are lost: 65536 * 2 = 131072

7. Set the necessary parameters (IP address, subnet mask, and gateway) for a workstation.
of work belonging to network 193.5.5.0. 13 subnets are needed and the workstation will be
in the fourth subnet
13 subnets approaches the immediate superior: 16 subnets

Class C: 256 host/subnet

Number of host/subnet: 256 Hosts / 16 subnets = 16 hosts/Subnet


Fourth subnet, it will be number 3

3 * 16 = 48

193.5.5.49

193.5.5.63

IP Address: Any in the range: 193.5.5.50 to 193.5.5.62

8. E7B2C78C
E79159C8

9. What would be the CIDR notation for the following subnet masks?
a) 255.255.192.0 /18

255.223.0.0 Not Valid

c) 255.255.254.0 /23

10. ¿Cuántas subredes produce la siguiente máscara: 255.255.255.240 en redes de clase A, B y C?


255.255.255.240 = /28

Class A: 28 - 8 = 20 then 2^20 = 1048576 Subnets

Class B: 28 - 16 = 12 then 2^12 = 4096 subnets

Class C: 28 - 24 = 4 then 2^4 = 16 Subnets

11. For the following networks, obtain the subnet mask in CIDR format.
Network 192.254.23.0 7 subnets and about 25 hosts per subnet
Class C, default mask /24

25 hosts/subnet approaches 32 hosts/subnet

256 hosts / 32 hosts/subnet = 8 subnets

2^n = 8, then n = 3

24 + 3 = 27

b) Network 222.232.2.0 120 hosts per subnet


Class C, default mask: /24
120 hosts/subnet is close to 128 hosts/subnet

256 hosts / 128 hosts/subnet = 2 subnets

2^n = 2, then n = 1

24 + 1 = 25

Network 199.99.109.0 30 subnets


Class C, default mask: /24

30 hosts/subnet approaches 32 hosts/subnet

2^n = 32, then n = 5


24 + 5 does not equal 29

Net 203.34.123.0 55 hosts per subnet


Class C, default mask: /24

55 hosts/subnet approaches 64 hosts/subnet

256 hosts /64 hosts/subnet = 4 subnets

2^n = 4, then n = 2

24 + 2 = 26

192.168.3.64/27
that network?
192.168.3.67 C

255.255.255.224 11100000 applying the AND operator, we have:

010

The address belongs to subnet 2

27 - 24 = 3 => 2^3 = 8 subnets

256 hosts/8 subnets = 32 hosts/subnet

Broadcast of subnet 2: 3 * 32 - 1 = 95 192.168.3.95


13. For the network 165.100.0.0, find the mask that allows us to have 1000 usable subnets.
60 useful hosts, each of them.
Class B, default mask: 255.255.0.0

Host number: 256*256

60 usable hosts + 2 unassignable = 62, rounds up to 64 hosts/subnet

256*256 hosts / 64 hosts/subnet = 1024 subnets

2^n = 1024, then n = 10 (8+2)

The mask will be: 255.255.255.192

14. For the network 101.0.0.0, how many bits will be borrowed to have 250 usable subnets?
250 subnets is close to 256 subnets

2^n = 256, then: n = 8


8 bits will be provided
15. How many useful IP addresses do we find in a /25 mask applied to addresses of the
class A, B, and C?
Class A: 25 - 8 = 17 2^17 = 131072

256*256*256/131072 = 128 – 2 = 126


Class B: 25 - 16 = 9 2^9 = 512

256*256/512 = 128 - 2 = 126

Class C: 25 - 24 = 1 2^1 = 2

256/2 = 128 - 2 = 126

16. For the address 165.200.0.0 /26 what is the subnet identification number for the tenth
useful subreddit?

Class B: Default mask: /16

26 - 16 = 10

Number of subnets: 2^10 = 1024

Hosts/Subnet = 256*256/1024 = 64 Hosts/Subnet

Tenth useful subnet: 11 * 64 = 704 = 2C0 (Hexadecimal) = 2.192

ID. Tenth Subnet: 165.200.2.192

17. Indicate whether the following IP addresses are valid or not. If they are not, state the reason:
136.70.255.255 Broadcast address
255.255.224.0
200.10.10.175 Class C address, must use 24 bits one
255.255.252.0
in the mask

c) 165.100.255.189 Correct address


255.255.255.192
d) 245.150.190.10 Reserved class, experimental use
255.255.255.0

You might also like