Networking Assignment
Networking Assignment
Solutions.
• Binary:
11111111.11111111.11111111.11111000
• Decimal:
255.255.255.248
256-248=8
The subnet ranges around 192.168.19.24 are:
192.168.19.24/29:192.168.19.24 to 192.168.19.31
Answers:
Solutions.
• Determine the class of IP address.
-172.16.0.0 is a class B IP address.
-For class B the default subnet mask is /16.
-In this case the subnet mask is /19, which means 3 additional
bits are borrowed for subnetting(19-16=3).
So;
So;
Solutions.
• This 29 bits are used for the network portion leaving 342-29=3
bits for the host portion.
Network address=192.168.192.8
Broadcast address=192.168.192.15
So ;
The formula for calculating the number of usable hosts in a subnet is:
Number of usable hosts = 2n – 2
2n≥16
To find the smallest value of , solve for :
24= 16
So, each subnet requires 4 host bits to accommodate at least 16 hosts.
To find the correct subnet mask, combine the network bits with enough host
bits to divide the network into subnets while keeping the hosts counts in mind.
Given the need for 5 subnets and 4 host bits, let’s calculate the subnet mask.
Network bits: 8 bits for Class C (since Class C ranges from 192.0.0.0 to
223.255.255.255)
Host bits: 4 bits (to allow for at least 16 hosts)
255.255.255.192:
First 26 bits are used for the network (8 bits of Class C + 18 bits for
subnetting).
The remaining 6 bits are used for hosts.
255.255.255.224:
First 27 bits are used for the network (8 bits of Class C + 19 bits for
subnetting).
The remaining 5 bits are used for hosts.
This would give:
Subnets: 23 = 8 subnets
Hosts per subnet:55 – 2=30 usable hosts.
255.255.255.240:
First 28 bits are used for the network (8 bits of Class C + 20 bits for
subnetting).
The remaining 4 bits are used for hosts.
First 29 bits are used for the network (8 bits of Class C + 21 bits for
subnetting).
Conclusion:
The correct classful subnet mask to use is 255.255.255.240.
5. Which two statements describe the IP address 10.16.3.65/23? The
subnet address is 10.16.3.0 255.255.254.0. The lowest host address in
the subnet is 10.16.2.1 255.255.254.0. The last valid host address in the
subnet is 10.16.2.254 255.255.254.0. The broadcast address of the
subnet is 10.16.3.255 255.255.254.0.
Solutions.
-Identify the block size ,each subnet start at multiple of 2 in the third
octent.
-The IP address 10.16.3.65 falls in the range where the third octent is
2 to 3.
o The starting address (subnet address) is 10.16.2.0
o The broadcast address is 10.16.3.255.
o The usable host address are
▪ Start: Subnet address +1 = 10.16.2.1
▪ End : Broadcast address -1 =10.16.3.254.
Let’s verify each statements:
Final answers:
6. You have been allocated a class C network address of 211.1.1.0 and are
using the default subnet mask of 255.255.255.0 how may hosts can you
have?
Solutions.
So; in this case 24 bits are used for the network portion and 8 are used
for the host portion.
Total IPs = 2h
In any subnet:
• 1 address is reserved for the network address e.g 211.1.1.0
• 1 address is reserved for the broadcast address e.g 211.1.1.255
The number of usable host = 256 – 2 =254
So;
Final Answer, The class C network 211.1.1.0/24 allows 254 usable
hosts.
Solutions.
2n ≥ 30
Here,
Since 5 bits are used for the subnetting , the new subnet mask is:
Final answers;
Subnet mask:255.255.255.248 or /29
Hosts per subnet: 6 usable hosts
IP address of hosts 3 on subnet 2: 205.11.2.11
Solutions.
11111111.11111111.11111111.11000000
255 . 255 . 255 . 192
9. How many hosts can be located on a network, where the IPv4 netmask is
27 bits?
Solutions.
The subnet mask is /27 which ,means 27 bits are used for the network
portion and 5 bits are used for the host portion.
Total IPs = 2h , Where h is the number of host bits; h=5
Total IPs = 25 = 32
Final answer:
A network with an IPv4 netmask of /27 can accommodate 30 usable
hosts.
Solutions.
CIDR notation :/16 means 16 bits are reserved for the network portion
Of the address,
32 – 16 = 16 bits are for host portion.
Solutions.
01101101=(0×27)+(1×26)+(1×25)+(0×24)+(1×23)+(1×22)+(0×21)+(1×20)
01101101= 0 + 64 + 32 + 0 + 8 + 4 + 0 + 1
01101101= 109
13. Refer to the exhibit. The user at Workstation B reports that Server
A cannot be reached. What is preventing Workstation B from reaching
Server A?
Solutions.
Server A :IP : 131.1.123.24/27,
Gateway:131.1.123.33
So