0% found this document useful (0 votes)
25 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)
25 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

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

[Link]

2. Convert [Link] to hexadecimal


BE-A7-0B-0C

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

[Link] 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: [Link]

4. The IP address [Link] 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 [Link] with subnet mask [Link] indicate the maximum amount
subnets that can be created and the number of hosts that would be in each of them
[Link] = /28

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


256 hosts / 16 subnets = 16 hosts / subnet

6. The network [Link] with a subnet mask of [Link] is divided into subnets using the mask
[Link]. Indicate the number of resulting subnets and how many hosts are lost as a result of
subnetting
New mask: [Link] = /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 [Link]. 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

[Link]

[Link]

IP Address: Any in the range: [Link] to [Link]

8. E7B2C78C
E79159C8

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

[Link] Not Valid

c) [Link] /23

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


[Link] = /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 [Link] 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 [Link] 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 [Link] 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 [Link] 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

[Link]/27
that network?
[Link] C

[Link] 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 [Link]


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

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: [Link]

14. For the network [Link], 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 [Link] /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: [Link]

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

c) [Link] Correct address


[Link]
d) [Link] Reserved class, experimental use
[Link]

You might also like