top of page

IP Addressing For The Cyber Cafe Network

Writer's picture: khoozhenxiankhoozhenxian

Updated: Jan 11, 2024

Detailed calculation of the IP subnetting

Base IP Address: 192.168.1.0 (Class C private IP address)

Subnet Mask: 255.255.255.0 (Class C subnet mask)

Normal Area: 30 hosts

Gaming / Tournament Area : 20 hosts

Staff : 4 hosts

Type of Subnetting : VLSM (Variable Length Subnet Mask)


Calculate Subnets Based on Host Requirements:

The largest subnet is normal area with 30 hosts, so we do subnetting for normal area first.

Subnet 1 (Normal Area - 30 Hosts):

Required Hosts: 30 hosts

Quantity of host = 2ᴴ - 2 ≈ 30

                                2ᴴ = 2⁵ (equal or more than 30)

                                 H = 5, 2⁵ – 2 >= 32 - 2 >= 30


Subnet Mask: 255.255.255.224

32 – 5 = 27

 

Since we use 5 bits for hosts, leaving 27 bits for the network,

1st subnet: 11000000.10101000.00000001.000XXXXX

2nd subnet (for next subnetting): 11000000.10101000.00000001.001XXXXX

 

Subnet 1:

NN: 11000000.10101000.00000001.00000000

IP Range: 11000000.10101000.00000001.00000001 - 11000000.10101000.00000001.00011110

BN: 11000000.10101000.00000001.00011111


Subnet 2 (Tournament Area - 20 Hosts):

Required Hosts: 20 hosts

Quantity of host = 2ᴴ - 2 ≈ 20

                                2ᴴ = 2⁵(equal or more than 30)

                                H = 5, 2⁵ – 2 >= 32 - 2 >= 20


32 – 5 = 27

Since we use 5 bits for hosts, leaving 27 bits for the network,

1st subnet: 11000000.10101000.00000001.001XXXXX 

2nd subnet (for next subnetting): 11000000.10101000.00000001.010XXXXX 

 

Subnet 2:

NN: 11000000.10101000.00000001.00100000

IP Range: 11000000.10101000.00000001.00100001 - 11000000.10101000.00000001.00111110

BN: 11000000.10101000.00000001.00111111


Subnet 3 (Staff - 4 Hosts):

Required Hosts: 4 hosts

Quantity of host = 2ᴴ - 2 ≈ 4

                                 2ᴴ = 2³

H = 3, 2³ – 2 = > 8 – 2 >= 4

 

32 – 3 = 29

Since we use 3 bits for hosts, leaving 29 bits for the network,

1st subnet: 11000000.10101000.00000001.01000XXX

2nd subnet (for next subnetting): 11000000.10101000.00000001.01001XXX

 

Subnet 3:

NN: 11000000.10101000.00000001.01000000

IP Range: 11000000.10101000.00000001.01000001 - 11000000.10101000.00000001.01000110

BN: 11000000.10101000.00000001.01000111 

 

The IP Address Table:

Subnet

Subnet Address

Subnet Mask (/X)

First Host Address

Last Host Address

Broadcast Address

Subnet 1 (Normal Area)

192.168.1.0

/27

192.168.1.1

192.168.1.30

192.168.1.31

Subnet 2 (Tournament Area)

192.168.1.32

/27

192.168.1.33

192.168.1.62

192.168.1.63

Subnet 3 (Staff)

192.168.1.64

/29

192.168.1.65

102.168.1.70

192.168.1.71



63 views

Recent Posts

See All

תגובות


SUBSCRIBE VIA EMAIL

  • Facebook
  • Pinterest
  • Twitter
  • Instagram

Thanks for submitting!

© Powered and secured by Wix

bottom of page