0% found this document useful (0 votes)
31 views5 pages

CCN Questions

The document discusses subnetting and network addressing concepts including: 1) Choosing a subnet mask that allows for 1100 subnets and the largest number of host addresses per subnet for a Class A network with 1000 existing subnets and a need for 100 new subnets over 3 years. 2) Creating a subnet mask for the 172.16.0.0 network that supports 900 subnets with at least 50 hosts per subnet. 3) Answering questions about subnetting, network addresses, subnet masks, number of subnets and host addresses for various scenarios. 4) Determining the optimal subnet mask and network parameters to support specific department network needs in terms of number of hosts per department. 5) Calculating

Uploaded by

Saba
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views5 pages

CCN Questions

The document discusses subnetting and network addressing concepts including: 1) Choosing a subnet mask that allows for 1100 subnets and the largest number of host addresses per subnet for a Class A network with 1000 existing subnets and a need for 100 new subnets over 3 years. 2) Creating a subnet mask for the 172.16.0.0 network that supports 900 subnets with at least 50 hosts per subnet. 3) Answering questions about subnetting, network addresses, subnet masks, number of subnets and host addresses for various scenarios. 4) Determining the optimal subnet mask and network parameters to support specific department network needs in terms of number of hosts per department. 5) Calculating

Uploaded by

Saba
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

1.

You work for a large communications corporation named GlobeComm which has been
assigned a Class A network address. Currently, the company has 1,000 subnets in
offices around the world. You want to add 100 new subnets over the next three years,
and you want to allow for the largest possible number of host addresses per subnet.
Which subnet mask would you choose?
Ans: requirement = 1000 subnets + 100 subnets
= 1100 subnets
11
2 = 2048 – 2 = 2046 usable subnets
Defaultclass A subnet mask= 255.0.0.0
= 11111111 00000000 00000000 00000000

Class A subnet maskwith our = 255.255.224.0


11 bits of subnetting
= 11111111 11111111 11100000 00000000

2. You have been asked to create a subnet mask for the 172.16.0.0 network. Your
organization requires 900 subnets, with at least 50 hosts per subnet. What subnet
mask should you use?

Ans: required = 900 subnets


Host = 50 per subnet
210= 1024
As it is class C so, Subnet Mask = 255.255.0.0
= 11111111.1111111.0.0
Borrow 10 bits so, subnet mask = 255.255.255.192 / 26
= 11111111.1111111.1111111.11000000
The subnet mask is 255.255.255.192 or /26 which means there are 6 bits remaining for
hosts26 = 64
64-2 = 62 valid hosts per subnet, which meets the requirements
Our subnet mask is 255.255.255.192. Giving us 1024 subnets and 62 hosts per subnet.
3. Consider the following scenario
Number of needed subnets: 6
Number of needed usable hosts: 30
Network Address: 195.85.8.0

Answer the following


a) Address class
Ans: Class C
b) Default subnet mask
Ans: 255.255.255.0
c) Custom subnet mask
Ans: 255.255.255.224
d) Total number of subnets
Ans: 23 = 8
e) Total number of host addresses
Ans: 23Class C so, 24 bits is on 24+3 = 27 32-27 = 5 25
f) Number of usable addresses
Ans: 25 32-2 30
g) Number of bits borrowed
Ans: 3 bits

4. Consider the table below

Department No of Hosts
Engineering 27
Customer Care 18
IT 8
Finance 12
HR 4

Answer the following


a) Address class suitable for this scenario
Ans:Class C
b) Default subnet mask
Ans:255.255.255.0
c) Custom subnet mask
Ans:255.255.255.254
d) Total number of subnets
Ans: 5
e) Total number of host addresses
Ans:32
f) Number of usable addresses
Ans:30
g) Number of bits borrowed
Ans: 7
5. In Stop and wait protocol, assume every 3rd packet is lost and we need to send total
20 packets so how many transmissions it took to send all the packets?
Ans: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 (Initially)
1 2 3 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20(Packet 3 retransmitted)
1 2 3 4 5 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20(Packet 5 retransmitted)
1 2 3 4 5 6 7 7 8 9 10 11 12 13 14 15 16 17 18 19 20(Packet 7 retransmitted)
1 2 3 4 5 6 7 8 9 9 10 11 12 13 14 15 16 17 18 19 20(Packet 9 retransmitted)
1 2 3 4 5 6 7 8 9 10 11 11 12 13 14 15 16 17 18 19 20(Packet 11 retransmitted)
1 2 3 4 5 6 7 8 9 10 11 12 13 13 14 15 16 17 18 19 20(Packet 13 retransmitted)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 15 16 17 18 19 20(Packet 15 retransmitted)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 17 18 19 20(Packet 17 retransmitted)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 19 20(Packet 19 retransmitted)

We transmitted packet no. 3, 5, 7, 9, 11, 13, 15, 17, 19


Total count = 29

6. In GBN protocol, assume sender Window size = 15 and Tp = 79.5ms & Tt = 10ms. What
is the Efficiency of the protocol and Throughput given Bandwidth = 100 bps?

Ans: Window size = 15


Tp = 79.5ms
Tt = 10ms.
Bandwidth = 100 bps
Efficiency =?
Throughput =?

Efficiency = N/(1+2a)
A = Tp/Tt
= 79.5/10
= 7.95
Efficiency = 15/(1+2 (7.95))
= 0.88
Throughput = Efficiency x Bandwidth
= 0.88 x 100
= 88

7. Host A receives a datagram of size 5500 bytes from its transport layer along with an IP
header of length 20 bytes. The datagram is sent to host B having router with a
Maximum Transmission Unit (MTU) of 1000 bytes. Apply process of Fragmentation.
Ans:
5500 20
Data IP header
Number of packet fragments = (Total size of packet / MTU )
= 5520 / 1000
= 5.52
=6
So,Datagram with data 5500 byte fragmented into 6 fragments

976 20 976 20
Data IP headerData IP header
The offset for this datagram is 0 The offset for this datagram is 976/8 = 122

976 20 976 20
Data IP headerData IP header
The offset for this datagramThe offset for this datagram is 0
is (976+976)/8 = 244 is (976+976)/8 = 244

976 20 620 20
Data IP headerData IP header
The offset for this datagram is 0 The offset for this datagram is 0
is (976+976)/8 = 244 is (976+620)/8 = 244

8. Calculate the Hamming codeword for the message 0100010101011101. Assume that
there is an error in 13thbit.

Ans:
P1 P2 0 P4 1 0 0 P8 0 1 0 1 0 1 0 P16 1 1 1 0 1

P1 = 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21 ?0100000111 0

P2 = 2, 3, 6, 7, 10, 11, 14, 15, 18, 19 ?000101011 0

P4 = 4, 5, 6, 7, 12, 13, 14, 15, 20, 21 ?100101001 0

P8 = 8,9, 10,11, 12, 13, 14, 15 ?0101010 1

P16= 16, 17, 18, 19, 20, 21 ?11101 0


0 0 0 0 1 0 0 1 0 1 0 1 0 1 0 0 1 1 1 0 1

Error in 13 bit
0 0 0 0 1 0 0 1 0 1 0 1 1 1 0 0 1 1 1 0 1

P1 = 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21 ?0100010111 1

P2 = 2, 3, 6, 7, 10, 11, 14, 15, 18, 19 ?000101011 0

P4 = 4, 5, 6, 7, 12, 13, 14, 15, 20, 21 ?100111001 1

P8 = 8,9, 10,11, 12, 13, 14, 15 ?0101110 0

P16= 16, 17, 18, 19, 20, 21 ?11101 0

01000
+ 00101
01101
16 8 4 2 1
(13)10
The answer is correct there is an error in bit 13.

You might also like