ilovepdf_merged (3)
pdf
keyboard_arrow_up
School
University of Texas, Dallas *
*We aren’t endorsed by this school
Course
2303
Subject
Computer Science
Date
Dec 6, 2023
Type
Pages
138
Uploaded by EarlGiraffe3136
Page
1
of
5
Exercise Set 26
Answers are shown in red colors
You will assume that all 0 and all 1 subnets are USABLE unless otherwise stated
Each question is 4 points.
1‐
An organization uses a Class‐A IP address with an FLSM subnet mask of 255.255.192.0. How many hosts will be available in each
subnet of this organization?
.a)
2
10
b) 2
12
c) 2
10
– 2
d) 2
14
– 2
e) None of the given are correct
2‐
Which of the following is
NOT
a legitimate IP address to assign to a host for the given IP address and subnet mask?
(a)
192.168.255.176/28
(b)
10.1.3.255/22
(c)
163.162.161.160/27
(d)
172.16.254.0/25
(e)
None of the above is a legitimate IP addresses
3‐
A
broadcast
Ethernet frame has its “
Type
” field value is set to hexadecimal value “
x0800
”. What kind of payload would this
frame be carrying?
(a)
It is carrying an IP broadcast packet
(b)
It is carrying an ARP response message
(c)
It is carrying an ICMP destination unreachable message
(d)
It is carrying a ARP request broadcast packet
(e)
None of the above
4‐
What is the purpose of the Checksum field in IP packet header?
a)
To detect and correct errors in IP packet
b)
To detect errors in IP packet payload
c)
To detect and correct errors in IP header
d)
To correct errors in IP header
e)
None of the above is true
5‐
In the following figure how many “cross‐over” Ethernet cables must be used?
.a) 1
b) 2
c) 3
d) 4
e) None of the given numbers is correct
.
6‐
A small company has acquired 192.168.222.0/24 Class C IP address to be used for its four locations and also for its serial links to
interconnect those locations. Subnetting will be done using VLSM method. The four locations are: Houston (headquarters),
Dallas, Austin and El Paso. The company has 95 hosts in Houston, 47 hosts in Dallas, 23 hosts in Austin and 10 hosts in El Paso.
Based on the given information, how many serial links (leased line links) would be possible after all address allocations are made
for the four cities? Remember that in VLSM serial links use /30 subnet mask.
a)
16 serial links are possible
b)
12 serial links are possible
c)
8 serial links are possible
d)
4 serial links are possible
e)
None of the above is true
Page
2
of
5
7‐
Assume that UH System
has been assigned the
Class B
IP address
172.16.0.0/16
which is subnetted among five campuses
(Main, Victoria, Clear Lake, Downtown and Sugar Land). Assume that
Sugarland
campus is assigned 172.16.224.0/21 subnet,
and it needs to further subnet this address space among its four buildings which have the following host counts:
Building 1 (B1): 980 hosts
Building 2 (B2): 468 hosts
Building 3 (B3): 190 Hosts
Building 4 (B4): 101 Hosts
What should be the subnet masks for those buildings?
(a)
B1: /22,
B2: /23,
B3: /24,
B4: /25
(b)
B1: /21,
B2: /22,
B3: /23,
B4: /24
(c)
B1: /23,
B2: /23,
B3: /24,
B4: /24
(d)
B1: /23,
B2: /24,
B3: /25,
B4: /26
(e)
None of the above
8‐
Which of the following
CAN
be used as a mask with the
host
IP address 126.135.248.0?
.a) /24
b) /23
c) /22
d) /20
e) all of these can be used as subnet mask
9‐
Given the IP address
191.191.214.213
and the subnet mask of
/17
, which one of the following cases will be
true
about
subnet
ID
and
actual host ID numbers
?
(a)
SI= 1.0
AHID= 214.214
(b)
SID=128.0
AHID= 86.213
(c)
SID= 160.0
AHID= 54.213
(d)
SID= 96.0
AHID= 118.213
(e)
None of the above
10‐
The Type of Service (TOS) bits in an IP packet header has the following binary settings: 00100100. What can be said about the
requested type of service for this packet?
a)
Packet is set with the default priority (i.e. zero priority) and one of the flags (Delay, Throughput, Reliability) is set.
b)
Packet is set with priority 32 and none of the flags (Delay, Throughput, Reliability) is set.
c)
Packet is set with the priority 2 and one of the flags (Delay, Throughput, Reliability) is set.
d)
Packet is set with the priority 1 and one of the flags (Delay, Throughput, Reliability) is set.
e)
None of the above is correct
11‐
The figure below shows two subnets that are built on coaxial Ethernet LANs. MAC addresses and IP addresses of the PCs and the
router interfaces are as shown in the figure.
Assume that
R1
boots up and then PC‐A “
pings
” four hosts; PC‐B, PC‐C, PC‐D, and PC‐E. After the ping operations are completed,
how many entries (i.e. lines) will be present
in the
ARP cache
of
R1
?
a)
1 entry
b)
2 entries
c)
3 entries
d)
4 entries
e)
None of the above
Page
3
of
5
12‐
In the figure given below,
Houston PC (PC‐HOU1) sends a packet to Dallas PC (PC‐DA1). The packet carries an ICMP Echo Request message
which is 1400 Bytes long. The packet has a TTL setting of 5 hops. What happens to the packet as it travels from PC‐HOU1 to PC‐DA1?
a)
The packet will be fragmented and fragmented packets will arrive at PC‐DA1 individually.
b)
TTL of the packet will reach to 0 at PC‐DA1 it will be discarded
c)
Dallas router discards the packet and it will send PC‐HOU1 and ICMP “time exceeded” message.
d)
TTL value of the packet will be incremented by 1 at every router on the path.
e)
None of the above is true
13‐
A host computer “
X”
with IP address
200.200.200.146/28
can’t seem to be able
ping
a host
Y
with IP address
200.200.200.160/28
. What is the reason?
a)
Address of computer Y is a broadcast address
b)
Address of computer Y is a subnet address
c)
Address of computer X is a subnet address
d)
Address of computer X is a broadcast address
e)
None of the above is the reason.
14‐
Assume that in the following figure both routers are configured correctly but no static routes are entered into those routers yet.
If PC1 performs a Ping operation to PC0, what will happen?
(a)
Austin router will send a “Destination Unreachable” message to PC1
(b)
Austin router will throw away the Ping packet and does nothing else
(c)
Houston router will send a “Destination Unreachable” message to PC1
(d)
Hub0 will throw away the packet
(e)
None of the above is true
15‐
In the network shown below, Austin Ethernet LAN has the subnet address 172.16.100.0/25, the serial Link has the subnet
address 172.16.0.0/25 and Houston Ethernet LAN has the subnet address 172.16.100.128/25. Austin and Houston routers’
Ethernet interfaces are assigned the last usable IP addresses in their subnets. On the serial link, Austin serial interface is
assigned the first usable IP address and Houston serial interface is assigned the last usable IP address. Which of the following
statements are true about the Default Gateway (DGW) IP addresses
a)
PC1 DGW: 172.16.100.254, PC0 DGW: 172.16.100.254
b)
PC1 DGW: 172.16.100.126, PC0 DGW: 172.16.100.254
c)
PC1 DGW: 172.16.100.254, PC0 DGW: 172.16.0.254
d)
PC1 DGW: 172.16.0.254, PC0 DGW: 172.16.100.254
e)
None of the above is correct
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
4
of
5
16‐
Which of the following operations must be performed
first
when an Ethernet card
receives
a broadcast Ethernet frame?
(a)
Destination MAC address in the Ethernet frame must be checked to make sure ffff.ffff.ffff
(b)
CRC field must be examined to detect errors
(c)
Source MAC address in the Ethernet frame must be checked to make sure ffff.ffff.ffff
(d)
Type field must be check to make sure it is 0800 hexadecimal
(e)
None of the above is correct
17‐
A company with
9 locations
has acquired the Class C IP address 192.168.111.0/24.
FLSM
method will be used for subnetting for
all subnets including the serial links (i.e. leased lines). What is the maximum number of serial links this company can have?
.
a) 7
b) 8
c) 12
d) 16
e) None of the given numbers is correct
18‐
A computer with IP address
192.168.111.222/28
wants to send a packet to another computer with IP address
192.168.111.209.
What should it do?
(a)
the destination computer is on the same subnet and it should send directly
(b)
the destination computer is on a different subnet and it should send via the default gateway
(c)
the destination computer address is not a legitimate address because it represents a subnet address
(d)
the destination computer address is not a legitimate address because it represents a broadcast address
19‐
In a subnet the broadcast IP address is given as 192.168.10.191/28. What is the subnet IP address for this particular subnet?
a)
192.168.10.184
b)
192.168.10.224
c)
192.168.10.180
d)
192.168.10.160
e)
None of the above
20‐
A Cisco 2621xm router has
two
FastEthernet,
eight
Serial interfaces and
one
console port. What is the maximum number of IP
addresses that can be assigned to this router?
(a)
10 IP addresses
(b)
8 IP address
(c)
11 IP addresses
(d)
2 IP addresses
(e)
None of the above
21‐
Ethernet card of a computer has the MAC address as
a01b.9c38.0000
(in hexadecimal). For the given MAC address, what would
be the
IP address
for this computer?
(a)
160.27.156.56
(b)
156.56.208.177
(c)
27.156.56.208
(d)
IP address can’t be determined from MAC address
22‐
Which one of the following ICMP types is sent in an IP broadcast packet?
(a)
ICMP “time exceeded”
(b)
ICMP “echo request”
(c)
ICMP “echo response”
(d)
ICMP “destination unreachable”
(e)
None of the above are sent in an IP broadcast packet.
23‐
The word “
Datagram
” is a term which is used for:
a)
For IP packets and ICMP messages in particular
b)
For any encapsulation block that is used in TCP/IP architecture which does not guarantee delivery of data
c)
For Ethernet frames in particular
d)
For ICMP messages in particular
e)
For any payload data that is measured in units of “grams” which are carried in segments, packets or frames.
Page
5
of
5
24‐
An IP packet is known to carry 24 Bytes in its “Options” field. What would be the “Header Length” field setting of this packet in
binary?
a)
1011
b)
00101100
c)
00011000
d)
0101
e)
None of the above is true
25‐
The following hexadecimal number sequence is the first 45 Bytes of a long Ethernet frame which is carrying an IP packet as its
payload. The source computer which is sending this frame is using /27 as the subnet mask. What can be said about the
recipient [i.e. destination host(s)] of this frame?
ff ff ff ff ff ff 4b 2c 3c 1f 3d b7 08 00
45 00 01 4f
f2 3d 00 00
16 06 89 39
c0 a8 7b 46
c0 a8 7b 5f
71 ce 3d fa 27 3b
56 d2 e5 67 32
…………
a)
This frame is carrying a broadcast IP packet destined for computers on the same subnet as the source computer
b)
This frame is carrying a broadcast IP packet destined for computers on a different subnet than the source computer
c)
This frame is carrying a unicast IP packet sent to a computer on the same subnet
d)
This frame is carrying a unicast IP packet sent to a computer on a different subnet
e)
None of the above is true
26‐
Two PCs, PC‐A and PC‐B are interconnected with a long communication cable. PC‐A sends to PC‐B 8 data bits appended with a
parity bit as shown in the figure below. Due to electrical noise shown in the figure, four of the bit values change during the
transmission. What would PC‐B do when it receives the shown 9‐bit message?
a)
PC‐B, using the parity bit concludes that there is no error in the received message and accepts the message
b)
PC‐B, with the help of parity bit, decides that there is an error in the message and discards the message
c)
Parity bit allows PC‐B to correct the errors in the message and PC‐B accepts the corrected message
d)
PC‐B cannot decide whether there is error or not and waits PC‐A to send the message again
e)
None of the above is true
Page
1
of
6
3/10/2023
FCN
MIDTERM
TEST
Special Code:
000001
75 Minutes
LAST NAME______________________
FIRST NAME____________________________
You will assume that all
0
and
all
1
subnets
are
USABLE
unless otherwise stated.
1-
An organization uses a Class-A address with a subnet mask of 255.255.128.0. How many subnets will be available in this
organization?
(a)
2
9
(b)
2
17
(c)
2
17
– 2
(d)
2
9
– 2
(e)
None of the above
2-
In the network given below, assume that PC1 and PC3 has the same Ethernet address (assume possible). What kind of problem
does this pose in the operation of the shown network?
(a)
It will create an issue when an ARP request is sent on PC1’s network
(b)
There will be no problem in the operation of the network.
(c)
It will create an issue when an ARP request is sent on PC3’s network.
(d)
Both (a) and (c) above are true
(e)
None of the above is true
3-
Which of the following is
NOT
a legitimate IP address to assign to a host?
(a)
192.168.255.254/24
(b)
10.255.255.254/8
(c)
191.191.191.191/24
(d)
172.16.254.0/25
(e)
All of the above are legitimate IP addresses
4-
A
broadcast
Ethernet frame has its “
Type
” field value is set to hexadecimal value “
x0806
”. What kind of payload would this
frame be carrying?
(a)
It is carrying an IP broadcast packet
(b)
It is carrying an ARP response message
(c)
It is carrying an ICMP destination unreachable message
(d)
It is carrying a “IP Unicast” packet
(e)
None of the above
5-
In which one of the following cases there is
NO
subnetting
?
(a)
IP address =
10.10.10.10
subnet mask = 255.255.0.0
(b)
IP address = 191.168.169.170
subnet mask = 255.255.255.0
(c)
IP address = 172.22.190.189
subnet mask = 255.255.255.0
(d)
IP address = 192.168.0.0,
subnet mask = 255.255.255.128
(e)
In all of the above cases there is subnetting
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
2
of
6
6-
In an IP packet, originating from computer X in the figure below has in its total length field (16 bits) the following binary value:
00000001 00001001.
The packet arrives at R1 which needs to forward it to N1 via the serial link (leased line link).
Which one of
the following statements will be true?
(a)
R1 examines the destination IP address, decrements the TTL field by 1 and forwards the packet
(b)
R1 determines that the total length field is an invalid number and discards the packet
(c)
R1 fragments the packet into multiple packets and forwards them to N1
(d)
R1 sends the packet back to X because its field length must be 4 bits long.
(e)
None of the above is true
7-
Assume that UH System
has been assigned the
Class B
IP address
172.16.0.0/16
which
is subnetted among its five campuses
(Main, Victoria, Clear Lake, Downtown and Sugar Land). Downtown campus, which is assigned 172.16.224.0/20 subnet, needs to
further subnet this address space among its four buildings which have the following host counts:
Building 1 (B1): 1225 hosts
Building 2 (B2): 680 hosts
Building 3 (B3): 440 Hosts
Building 4 (B4): 190 Hosts
What should be the subnet masks for those buildings?
(a)
B1: /20,
B2: /22,
B3: /23,
B4: /24
(b)
B1: /21,
B2: /23,
B3: /23,
B4: /24
(c)
B1: /20,
B2: /23,
B3: /24,
B4: /24
(d)
B1: /21,
B2: /22,
B3: /23,
B4: /24
(e)
None of the above
8-
Given the IP address
129.7.214.213
and the subnet mask of
/17
, which one of the following cases will be
true
about
subnet ID
and
actual host ID numbers
?
(a)
SI= 1.0
AHID= 214.214
(b)
SID=128.0
AHID= 86.213
(c)
SID= 160.0
AHID= 54.213
(d)
SID= 96.0
AHID= 118.213
(e)
None of the above
9-
The Type of Service (TOS) bits in an IP packet header has the following settings: 01000100. What can be said about the
requested type of service for this packet?
a)
Packet is set with the default priority (i.e. zero priority) and one of the flags (Delay, Throughput, Reliability) is set.
b)
Packet is set with the default priority (i.e. zero priority) and none of the flags (Delay, Throughput, Reliability) is set.
c)
Packet is set with the priority 2 and one of the flags (Delay, Throughput, Reliability) is set.
d)
Packet is set with the priority 68 and none of the flags (Delay, Throughput, Reliability) is set.
e)
None of the above is correct
10-
A host computer “
X”
with IP address
192.168.150.146/28
can’t seem to be able to send packets to a host
Y
with IP address
192.168.150.144/28
. What is the reason?
a)
Address of computer Y is a broadcast address
b)
Address of computer Y is a subnet address
c)
Address of computer X is a subnet address
d)
Address of computer X is a broadcast address
e)
None of the above is the reason.
Page
3
of
6
11-
The figure below shows two subnets that are built on coaxial Ethernet LANs. MAC addresses and IP addresses of the PCs and the
router interfaces are as shown in the figure.
Assume that PC-A boots up and immediately “
pings
” three hosts; PC-B, PC-C, and PC-E. After the ping operations are completed,
how many entries (i.e. lines) will be present
in the
ARP cache
of
PC-A
?
a)
1 entry
b)
2 entries
c)
3 entries
d)
4 entries
e)
None of the above is correct
12-
Which one of the following is
NOT
a broadcast address?
a)
IP address = 129.7.255.255,
subnet mask = 255.255.0.0
b)
IP address = 129.7.251.255,
subnet mask = 255.255.254.0
c)
IP address = 129.7.191.255,
subnet mask = 255.255.224.0
d)
IP address = 129.7.253.255,
subnet mask = 255.255.240.0
e)
All of the above are broadcast addresses
13-
In the network shown below, the router is assigned the last usable IP address in the subnet. PC-A is assigned the first usable IP
address, PC-B, the next usable IP address and so on. MAC addresses of PCs are aaaa.aaaa.aaaa for PC-A, bbbb.bbbb.bbbb for PC-
B and so on. R1 has the MAC address 1111.1111.1111. PC-A sends a packet in a unicast frame to PC-D. Which one of the
following statements will be true?
a)
Frame from PC-A will be received only by PC-D Ethernet card and packet will be delivered to IP protocol
b)
Frame from PC-A will be received by all Ethernet cards but only PC-D delivers the packet to IP protocol.
c)
Frame and its payload from PC-A will be received by IP protocols of PC-D and R1 only.
d)
Frame and its payloads from PC-A will be received by R1 which will forward it to PC-D
14-
In the network shown below, routers’ Ethernet interfaces are assigned the last usable IP addresses in their subnets. On the
serial link, R1 serial interface is assigned the first usable IP address and R2 serial interface is assigned the last usable IP address.
Which of the following statements are true about the Default Gateway (DGW) IP addresses of PC1 and PC2?
a)
PC1 DGW: 172.16.1.1, PC2 DGW: 172.16.3.254
b)
PC1 DGW: 172.16.1.254, PC2 DGW: 172.16.3.254, R1 DGW: 172.16.2.254, R2 DGW: 172.16.2.1
c)
PC1 DGW: 172.16.1.254, PC2 DGW: 172.16.3.254, R1 DGW: 172.16.2.1, R2 DGW: 172.16.2.254
d)
PC1 DGW: 172.16.1.254, PC2 DGW: 172.16.3.1, R1 DGW: 172.16.2.254, R2 DGW: 172.16.2.254
e)
None of the above is correct
Page
4
of
6
15-
Which of the following operations must be performed
first
when an Ethernet card
receives
a broadcast Ethernet frame?
(a)
Destination MAC address in the Ethernet frame must be checked to make sure ffff.ffff.ffff
(b)
CRC field must be examined to detect errors
(c)
Source MAC address in the Ethernet frame must be checked to make sure ffff.ffff.ffff
(d)
Type field must be check to make sure it is 0800 hexadecimal
(e)
None of the above is correct
16-
In an IP packet, the source IP address appears as “
c0 a8 b2 b2”
in hexadecimal with subnet mask /28 (in decimal).
What is the
AHID number of this host?
(a)
AHID number is 2
(b)
AHID number is 50
(c)
AHID number is 18
(d)
AHID number is 78
(e)
None of the above
17-
Two computers, PC1 and PC2 are on the same coaxial Ethernet LAN. Both PCs attempt to access the LAN at the same time and
they collide. Later, they both PCs try and collide for the second time again. On the third attempt, as part of exponential binary
back-off algorithm, each PC picks a random number which defines the amount of time slots to be waited. Which of the following
will be true about this random number the PCs pick?
a)
It will be a number between 1 and 4
b)
It will be a number between 1 and 8
c)
It will be a number between 1 and 2
d)
It will be a number between 1 and 16
e)
It will be a number between 1 and 3
18-
A computer with IP address
192.168.111.222/28
wants to send a packet to another computer with IP address
192.168.111.205.
What should it do?
(a)
the destination computer is on the same subnet and it should send directly
(b)
the destination computer is on a different subnet and it should send via the default gateway
(c)
the destination computer address is not a legitimate address because it represents a subnet address
(d)
the destination computer address is not a legitimate address because it represents a broadcast address
19-
In a subnet the broadcast IP address is given as 192.168.10.191/29. What is the subnet IP address for this particular subnet?
a)
192.168.10.184
b)
192.168.10.176
c)
192.168.10.180
d)
192.168.10.160
e)
None of the above
20-
Ethernet card of a computer has the MAC address as
a01b.9c38.0000
(in hexadecimal). For the given MAC address, what would
be the
IP address
for this computer?
(a)
160.27.156.56
(b)
156.56.208.177
(c)
27.156.56.208
(d)
IP address can’t be determined from MAC address
21-
What is the purpose of “
Listen Before Talking
(LBT)” part of Ethernet medium access method?
a)
To detect potential collisions
b)
To sense idleness of the communications medium
c)
To avoid potential reflections from cable ends
d)
To reduce the effect of errors resulting from CRC field.
e)
None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
5
of
6
22-
In the following network, how many static routes will be needed for
R1
?
.
a) 2
b) 3
c) 4
d) 5
e) 6
23-
A computer with IP address 129.7.196.197/21 needs to send a broadcast IP packet on its subnet. What would be the destination
address on this broadcast packet?
a)
129.7.199.255
b)
129.7.191.255
c)
129.7.255.255
d)
129.7.223.255
e)
None of the above
24-
The following hexadecimal number sequence is the first 42 Bytes of a long Ethernet frame which is carrying an IP packet as its
payload:
eb 2c 3a 05 f2 fa
4b 2c 3c 1f 3d b7
08 00
45 00 01 4f
f2 3d 00 00
95 06 89 39
81 07 88 33
81 07 49 91
71
ce 3d fa 27 3b 56
d2…………
YOUR TASK:
Determine the source IP address in dotted decimal notation.
ANS E
25-
Two PCs, PC-A and PC-B are interconnected with a long communication cable. PC-A sends to PC-B 8 data bits appended with a
parity bit as shown in the figure below. Due to electrical noise shown bit values change during the transmission. What would PC-
B do when it receives the shown 9-bit message?
a)
PC-B, with the help of the parity bit, corrects the erroneous bits
b)
PC-B decides that there is an error in the bit sequence and discards the message
c)
Parity bit does not allow PC-B to detect the bit errors and PC-B assumes the message is OK
d)
PC-B cannot decide whether there is error or not and waits PC-A to send the message again
e)
None of the above is true
Page
6
of
6
THIS PAGE IS LEFT BLANK INTENTIONALLY
Page
1
of
5
Exercise Set 28
Answers are shown in red colors
You will assume that all
0
and
all
1
subnets
are
USABLE
unless otherwise stated
Each question is 4 points.
1-
IP header length field in an IP packet is 4 bits long. This means that the largest possible IP header length is the following:
a)
20 Bytes
b)
30 Bytes
c)
40 Bytes
d)
60 Bytes
e)
None of the above
2-
In wireless LANs MTU is 2304. If a PC is using Wireless LAN card at the link layer, what will be the maximum possible IP packet
payload size in Bytes assuming typical packet header size?
a)
2304
b)
1480
c)
2284
d)
2204
e)
None of the above
.
3-
Which one of the following is
NOT
a broadcast address?
(a)
IP address = 129.7.191.255,
subnet mask = 255.255.224.0
(b)
IP address = 129.7.254.255,
subnet mask = 255.255.254.0
(c)
IP address = 129.7.207.255,
subnet mask = 255.255.240.0
(d)
IP address = 129.7.192.255,
subnet mask = 255.255.255.0
(e)
All of the above are broadcast addresses
4-
A small company has acquired 192.168.222.0/24 Class C IP address to accommodate its four locations and its serial links to
interconnect those locations. The company uses VLSM method for its subnets. The four locations are the following: Houston
(headquarters), Dallas, Austin and El Paso. The company has 95 hosts in Houston, 47 hosts in Dallas, 23 hosts in Austin and 10
hosts in El Paso. Based on the given information, how many serial links (i.e. leased line links) would be possible after all address
allocations for the four cities? Remember that in VLSM serial links use /30 subnet mask.
a)
16 serial links are possible
b)
12 serial links are possible
c)
8 serial links are possible
d)
4 serial links are possible
e)
None of the above is true
5-
The IP address 199.199.199.183 has the
AHID
value “23”. Which of the following choices would be the correct subnet mask for
this IP?
(a)
/25
(b)
/26
(c)
/27
(d)
/28
(e)
/29
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
2
of
5
6-
As you know, a class C address with no subnets will allow 254 usable addresses.
Determine the number of total
usable
addresses will that be available in all the subnets collectively if a Class C address with mask /29 is used in FLSM subnetting.
a)
192
b)
224
c)
160
d)
248
e)
None of the above
7-
Two computers, PC1 and PC2 are on the same subnet of a small organization. PC1’s IP address is 193.194.195.138/29.
Which of
the following will be a usable address for PC2?
(a)
193.194.195.136
(b)
193.194.195.143
(c)
193.194.195.135
(d)
193.194.195.142
(e)
None of the above is a usable address for PC2
8-
Which one of the following subnet masks can
NOT
be used with host IP address
192.168.3.168?
(a)
/26
(b)
/27
(c)
/28
(d)
/29
(e)
All of the above can be used with the given address
9-
The figure below shows a network with two subnets on built coaxial Ethernet LANs. MAC addresses and IP addresses of the PCs
and the router interfaces are as shown in the figure. Assume that
PC-A
boots up and then tries to ping
PC-D
. What will be the
“type” field content (in hexadecimal) of the first Ethernet frame that will be sent by PC-A?
a)
0x0080
b)
0x0800
c)
0x8000
d)
0x0806
e)
None of the above
10-
The following binary number is the MAC address of an Ethernet network interface card (NIC):
10011100 01001100 10100001 10010001 11001101 10111100
What is the serial number of the Ethernet card in hexadecimal format?
a)
91 cd bc
b)
a1 91 cd bc
c)
9c 4c a1
d)
9c 4c a1 91
e)
None of the above
11-
Which of the following
CAN
you use as a mask with
host
IP address 126.135.248.0?
.a) /24
b) /23
c) /22
d) /20
e) all of these can be used as subnet mask
Page
3
of
5
12-
A host computer “
X”
with IP address
200.200.200.136/27
cannot
ping
a host
Y,
with IP address
200.200.200.159/27
. What is
the reason?
a)
Address of computer Y is a broadcast address
b)
Address of computer Y is a subnet address
c)
Address of computer X is a subnet address
d)
Address of computer X is a broadcast address
e)
None of the above is the reason.
13-
When
ARP Request
message is encapsulated in Ethernet frame, the destination MAC address is set to:
(a)
To the MAC address of the host to which the ARP request is sent to
(b)
It is set to the same value as the IP address of the destination host
(c)
It is set to the same value as the subnet address of the source host computer
(d)
It is set to ffff.ffff.ffff
(e)
None of the above is true
14-
In the network shown below, Austin Ethernet LAN has the subnet address 172.16.100.0/25, the serial Link has the subnet
address 172.16.0.0/25 and Houston Ethernet LAN has the subnet address 172.16.100.128/25. Austin and Houston routers’
Ethernet interfaces are assigned the last usable IP addresses in their subnets. On the serial link, Austin serial interface is
assigned the first usable IP address and Houston serial interface is assigned the last usable IP address. Which of the following
statements are true about the Default Gateway (DGW) IP addresses
a)
PC1 DGW: 172.16.100.254, PC0 DGW: 172.16.100.254
b)
PC1 DGW: 172.16.100.126, PC0 DGW: 172.16.100.254
c)
PC1 DGW: 172.16.100.254, PC0 DGW: 172.16.0.254
d)
PC1 DGW: 172.16.0.254, PC0 DGW: 172.16.100.254
e)
None of the above is correct
15-
A computer with IP address
192.168.111.222/27
wants to send a packet to another computer with IP address
192.168.111.192.
What should it do?
(a)
the destination computer is on the same subnet and it should send directly
(b)
the destination computer is on a different subnet and it should send via the default gateway
(c)
the destination computer address is not a legitimate address because it represents a subnet address
(d)
the destination computer address is not a legitimate address because it represents a broadcast address
16-
A small company has bought six
old style routers, which
do not allow using 0 and all 1 subnets. This company has acquired the
Class C address
192.168.168.0/24
. The company has the following locations: Clear Lake (headquarters), Alvin, Pasadena, League
City, Dickinson, Texas City, and Galveston.
Class C address needs to be allocated to those locations using FLSM method using
optimal subnet mask. Based on the given information, how many unused subnets this organization would end up with after the
required design? In your answer,
do not
take into account addresses required for the serial links.
.a) 1
b) 3
c) 5
d) 7
e) None of the given choices is correct
17-
The last usable address of a subnet is 192.168.10.206/28. What is the subnet address for this particular subnet?
a)
192.168.10.192
b)
192.168.10.200
c)
192.168.10.196
d)
192.168.10.176
e)
None of the above
Page
4
of
5
18-
Assume that
University of Houston system
consists of
four (4)
campuses:
Main
,
Victoria
,
Clear
Lake
and
Downtown
.
Furthermore, assume that UH system has the
Class B address 172.26.0.0/16.
Also, assume that the host counts for Main,
Victoria, Clear Lake and Downtown campuses are:
28,000 hosts,
12,500 hosts
,
6,900
hosts and
3,300 hosts
respectively.
The
given class B address space needs to be used by four campuses using
VLSM
design. Furthermore, assume that
Main campus has
14 building
s with all equal size host counts i.e all subnets are the same size meaning
FLSM
design in main campus). Based on the
given information, what would be the subnet mask that should be used in Main Campus subnets (i.e. buildings)?
a)
/21
b)
/20
c)
/22
d)
/23
e)
None of the above is true
19-
Which one of the following field contents change as an IP packet travels across a network of many routers?
(a)
Version Field
(b)
Source IP field
(c)
Header Length Field
(d)
TTL Field
(e)
All of the above field values remain intact as the packet travels
20-
An IP packet carries 20 Bytes in its “
Options
” field. What would be the “Header Length” field setting of this packet in binary?
a)
1010
b)
00101100
c)
00011000
d)
0101
e)
None of the above is true
21-
Which of the following is
wrong
about Ethernet frame format?
(a)
Ethernet headers are 18 Bytes long
(b)
Ethernet Type filed indicates what kind of payload is carried
(c)
CRC field is also known as FCS field
(d)
Ethernet Payload size can be at most 1500 Bytes
(e)
Ethernet addresses of Ethernet cards are unique by the design of the address structure
22-
The following hexadecimal number sequence is the first 45 Bytes of an Ethernet frame that is carrying an IP packet and TCP
segment as its payloads. What is the value of the first Byte in the TCP header (i.e. the first Byte after IP header) in hexadecimal
format?
ff ff ff ff ff ff 4b 2c 3c 1f 3d b7 08 00
46 00 01 4f
f2 3d 00 00
16 06 89 39
c0 a8 7b 46
c0 a8 7b 5f
71
ce 3d fa 27 3b
56 d2 e5 67 32…………
a)
71
b)
Ce
c)
3b
d)
27
e)
None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
5
of
5
23-
The network given below belongs to a company, which
has a headquarters in Clear Lake and three branch offices in Pasadena,
Alvin and League City. The company has the Class C Address 192.168.168.0/24. Each location has the following number of hosts
(including the default gateways):
Clear Lake
:
102
hosts
,
Pasadena: 49
hosts
,
Alvin:
25
hosts
and
League City: 13
hosts. What is
the broadcast address for Alvin LAN subnet?
a)
192.168.168.191
b)
192.168.168.223
c)
192.168.168.231
d)
192.168.168.192
e)
None of the above is correct
24-
In the previous question, how many static route commands will you need at router R1?
a)
3
b)
4
c)
5
d)
6
e)
None of the above is true
25-
A computer
X
with subnet mask /20 sends an IP packet to a computer
Y
. The source address in the IP packet appears as “
ac 10
92 78”
and the destination IP address as “
ac 10 8f 82”
(both addresses are written in hexadecimal format).
Should X send this
packet “directly” or should it send it to its default gateway?
(a)
X should send this packet to its default gateway
(b)
X should send this packet directly
(c)
The packet cannot be sent because the destination address is a subnet address
(d)
The packet cannot be sent because the destination address is a broadcast address.
(e)
None of the above
Page
1
of
6
Exercise Set 30
Answers are shown in RED colors
You will assume that all
0
and
all
1
subnets
are
USABLE
unless otherwise stated.
1-
Assume that a Cisco router has just been powered up. From what kind of memory does the CPU use the instructions
during the power-on-self-test part of the power up?
a)
CPU uses instructions in NVRAM
b)
CPU uses instructions in RAM
c)
CPU uses instructions in Boot ROM
d)
CPU uses instructions in Flash
e)
None of the above is correct
2-
The sequence of hexadecimal numbers given below happens to be the first 38 Bytes that are contained at the
beginning of an Ethernet frame.
What Class is the destination IP address in the packet header?
Use the IP Packet
Header format given below to determine your answer.
eb 2c 3a 05 f2 fa
4b 2c 3c 1f 3d b7
08 00
45 00 00 c4
f2 3d 00 00
08 06 2c 39
7a 24 d1 33
dc 7a a8 ec 71
ce 3d fa…
(a)
Class A
(b)
Class B
(c)
Class C
(d)
It is a reserved IP address (i.e. first Byte value is 127)
(e)
None of the above
3-
In the following network, how many static routes will be needed for
R2
?
.
a) 2
b) 3
c) 4
d) 5
e) 6
Page
2
of
6
4-
An organization is assigned the
Class C
IP address
200.201.202.0/24.
This organization is using FLSM subnetting. It
has its headquarters in Clear Lake and it has 9 additional branch locations.
The headquarters is assigned the first
(i.e. smallest value) usable subnet ID.
The next subnet ID is assigned to first branch location, the next to second
branch location etc. What is the broadcast address of the
third branch location
? Assume that
old style routers
are
used in this network.
a)
200.201.202.79
b)
200.201.202.47
c)
200.201.202.63
d)
200.201.202.95
e)
None of the above
5-
The hexadecimal number sequence shown below is the first 40 Bytes of an
Ethernet frame
. Determine what kind of
network or transport layer payload this frame is carrying.
0d
2c
3a
05
f2
fa
4b
2c
3c
1f
3d
b7
08
06
47
00
01
4f
f2
3d
00
00
08
06
2c
39
c0
a8 22 46
c0
a8
22
55
71
ce
3d
fa 27
. . . . . . . . . . . . . .
a)
It is carrying an IP packet
b)
It is carrying an ICMP echo request message
c)
It is carrying an ICMP echo response message
d)
It is carrying an ARP request
e)
It is carrying an ARP response
6-
Which one of the following
CAN
be used as a mask as
host
IP address 136.74.143.255?
(a)
/23
(b)
/22
(c)
/21
(d)
/20
(e)
None of the above can be used as mask
7-
An organization uses a Class-A IP address with an FLSM subnet mask of 255.255.192.0. How many hosts will be
available in each subnet of this organization?
.a)
2
10
b) 2
12
c) 2
10
– 2
d) 2
14
– 2
e) None of the given choices is correct
8-
What is the
subnet address
for the IP address (in hex form)
b2 1c 9a d7
with subnet mask 255.255.248.0?
.a)
178.28.152.0
b) 178.28.144.0
c) 178.28.154.0
d) 178.28.160.0
e) None of the given choices is correct
9-
In the network shown below, Austin Ethernet LAN has the subnet address 180.181.100.0/25, the serial Link has the
subnet address 180.181.0.0/25 and Houston Ethernet LAN has the subnet address 180.181.100.128/25. Austin and
Houston routers’ Ethernet interfaces are assigned the last usable IP addresses in their subnets. On the serial link,
Austin serial interface is assigned the first usable IP address and Houston serial interface is assigned the last usable
IP address. Which of the following statements are true about the Default Gateway (DGW) IP addresses
a)
PC1 DGW: 180.181.100.254, PC0 DGW: 180.181.100.254
b)
PC1 DGW: 180.181.100.254, PC0 DGW: 180.181.0.254
c)
PC1 DGW: 180.181.100.126, PC0 DGW: 180.181.100.254
d)
PC1 DGW: 180.181.0.254, PC0 DGW: 180.181.100.254
e)
None of the above is correct
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
3
of
6
10-
Assume that UH System
has been assigned the
Class B
IP address
172.16.0.0/16
which
is subnetted among five
campuses (Main, Victoria, Clear Lake, Downtown and Sugar Land). Assume that
Sugarland
campus is assigned
172.16.224.0/21 subnet, and it needs to further subnet this address space using VLSM among its four buildings
which have the following host counts:
Building 1 (B1): 468 hosts
Building 2 (B2): 980 hosts
Building 3 (B3): 190 Hosts Building 4 (B4): 101 Hosts
What should be the subnet masks for those buildings?
(a)
B1: /23,
B2: /23,
B3: /24,
B4: /24
(b)
B1: /21,
B2: /22,
B3: /23,
B4: /24
(c)
B1: /23,
B2: /22,
B3: /24,
B4: /25
(d)
B1: /23,
B2: /24,
B3: /25,
B4: /26
(e)
None of the above
11-
A computer with IP address
192.193.194.222/28
wants to send a packet to another computer with IP address
192.193.194.209.
What should it do?
(a)
the destination computer is on the same subnet and it should send directly
(b)
the destination computer is on a different subnet and it should send via the default gateway
(c)
the destination computer address is not a legitimate address because it represents a subnet address
(d)
the destination computer address is not a legitimate address because it represents a broadcast address
12-
Which of the following is not a legitimate IP address for a host?
(a)
192.168.255.254/24
(b)
10.255.255.254/8
(c)
191.191.191.191/24
(d)
157.254.255.254/24
(e)
All of the above are legitimate IP addresses
13-
In which one of the following cases there is
NO
subnetting?
(a)
IP address =
10.10.10.10
subnet mask = 255.255.0.0
(b)
IP address = 192.168.169.170
subnet mask = 255.255.255.0
(c)
IP address = 173.22.190.189
subnet mask = 255.255.255.0
(d)
IP address = 192.168.0.0,
subnet mask = 255.255.255.128
(e)
In all of the above cases there is subnetting
14-
The figure below shows two subnets that are built on coaxial Ethernet LANs. These subnets are interconnected using
its fa0/0 and fa0/1 interfaces of a Cisco router. The MAC addresses and the IP addresses of the PCs and the router
interfaces are as shown in the figure. Assume that in the given network, PC-A boots up and immediately performs
“
ping
” operations to hosts PC-D, and PCB. After those two ping operations are completed,
how many entries (i.e.
lines) will be present
in the
ARP cache
of
PC-A
?
.a) 1 entry
b)
2 entries
c) 3 entries
d) 4 entries
e) None of the given choices is true
Page
4
of
6
15-
Given the IP address
10.216.215.214
and the subnet mask of
/17
, which one of the following cases is
true
about
subnet ID
and
actual host ID
?
(a)
SID=216.1.0
AHID=0.214.214
(b)
SID=216.128.0
AHID=0.87.214
(c)
SID=216.160.0
AHID=0.55.214
(d)
SID=216.96.0
AHID=0.119.214
(e)
None of the above
16-
A host computer “
X”
with IP address
192.194.196.96/26
can’t seem to be able to send packets to a host “
Y”
with IP
address
192.194.196.127/26
. What is the reason?
a)
Address of computer Y is a broadcast address
b)
Address of computer Y is a subnet address
c)
Address of computer X is a subnet address
d)
Address of computer X is a broadcast address
e)
None of the above is the reason.
17-
We know that in the first Byte of the address field Class A addresses have values 1-126, Class B addresses have
values 128-191 and Class C addresses have values 192-223.
Assume that there was a Class “D” address category.
Also assume that Class D address is determined in the following way: The first three bits of the first byte of the
address is always 1 and the fourth bit is always 0.
According to this definition, what would be the possible first Byte
values for Class D addresses?
.a) 192-240
b) 200-240
c) 224-240
d) 224-239
e) None of the given choices is correct
18-
In the network shown below,
PC1
has the IP address
172.16.1.10/24
and
PC2
has the IP address
172.16.5.10/24
.
Furthermore, in all of the routers, fa0/0 and
s0/0 interfaces are assigned the first usable IP address
in their subnet
and
s0/1 interfaces are assigned the second usable IP address
in their subnet. Assume that
PC1
issues the
following command:
“tracert 172.16.5.10”.
What IP addresses will be displayed in
line 3
in the output shown
below?
C>tracert 172.16.1.10
Tracing route to 172.16.5.10
Over a maximum of 39 hops:
1
1 ms
2 ms 1 ms
172.16.1.1
2
1 ms
2 ms 1 ms
3
1 ms
2 ms 1 ms
??????????
4
1 ms
2 ms 1 ms
5
1 ms
2 ms 1 ms
.a) 172.16.4.1
b) 172.16.4.2
c) 172.16.3.2
d) 172.16.2.1
e) None of the given choices is correct
19-
Which of the following
CAN
be used as a mask with the
host
IP address 126.135.248.0?
.a) /24
b) /23
c) /22
d)
/20
e) All of the given choices can be used as a mask
Page
5
of
6
20-
You are given the IP address 191.191.0.0/16.
You are asked to connect a total of 31 offices in Texas including
Houston, Dallas, Austin, Brownsville, El Paso, Corpus Christi
and 25 more
cities.
Assume that all 0 and all 1 subnets
are NOT usable (i.e. you are using old style routers)
. You use the optimal mask for this purpose (use same mask for
all cities).
You assign the first available subnet ID to Houston, next one to Dallas, next to Austin, next to Brownsville,
next to El Paso, next to Corpus Christi and so on.
What would be El Paso broadcast address?
(a)
191.191.27.255
(b)
191.191.19.255
(c)
191.191.255.255
(d)
191.191.31.255
(e)
none of the above
21-
In an IP packet, the header length field has the following binary value: 0110. Is there “
options
” field in this packet
header?
(a)
Yes, there is “options” field.
(b)
No, there is no “options” field.
(c)
“Options” field does not depend on the packet header size.
(d)
“Options” field exist if the packet header field has the value 0101.
(e)
None of the above is true
22-
An organization has the Class B IP address 172.28.0.0/16. This organization needs subnets for its
28 locations
in USA
using FLSM. What is the maximum number of usable addresses that each location can have?
(a)
4096
(b)
2048
(c)
1024
(d)
1022
(e)
2046
23-
Which one of the following does
NOT
have the same meaning as “Ethernet Address”?
.a) MAC address
b) NIC Address
c) Physical Address
d) Hardware Address
e)
Global Address
24-
In the network given below assume that PCB sends a packet to PCC
What is the destination IP address in this packet
and what is the destination MAC address of the frame that encapsulates this packet?
(a)
192.168.3.10, ac.ab.aa.a9.a8.a7
(b)
192.168.3.1, a6.a5.a4.a3.a2.a1
(c)
192.168.1.1, a6.a5.a4.a3.a2.a1
(d)
192.168.3.10, a5.a6.a7.a8.a9.aa
(e)
None of the above
MAC Addresses:
PCA:
a1a2.a3.a4.a5.a6
PCB:
a0.a2.a4.a6.a8.aa
Houston E0: a6.a5.a4.a3.a2.a1
Dallas E0:
a5.a6.a7.a8.a9.aa
PCC:
ac.ab.aa.a9.a8.a7
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
6
of
6
25-
The hexadecimal number sequence shown below is the first 42 Bytes of an
Ethernet frame
which is carrying an IP
packet as its payload. This frame is sent from a source computer which is using
/28 as the subnet mask
. Using the
packet header format shown below, determine if the source and the destination computers are on the same subnet
or on the same network.
eb
2c
3a
05
f2
fa
4b
2c
3c
1f
3d
b7
08
00
47
00
01
4f
f2
3d
00
00
08
06
2c
39
c0
a8 67 46
c0
a8
76
55
71
ce
3d
fa
27
3b
56
d2
. . . . . . . . . . . . . .
a)
Source and destination computers are on the same network but on different subnets
b)
Source and destination computers are on different Class C networks
c)
Source and destination computers are on the same network and on the same subnet
d)
Source and destination computers are on different Class B networks
e)
None of the above is true
26-
Two PCs, PC-A and PC-B are interconnected with a long communication cable. PC-A sends to PC-B 8 data bits
appended with a parity bit as shown in the figure below. Due to electrical noise shown in the figure, four of the bit
values change during the transmission. What would PC-B do when it receives the shown 9-bit message?
a)
PC-B, using the parity bit concludes that there is no error in the received message and accepts the message
b)
PC-B, with the help of parity bit, decides that there is an error in the message and discards the message
c)
Parity bit allows PC-B to correct the errors in the message and PC-B accepts the corrected message
d)
PC-B cannot decide whether there is error or not and waits PC-A to send the message again
e)
None of the above is true
27-
An IP packet has the binary value 00100001 in the “
Upper Layer Protocol
” field (which is also called “
Protocol
”
field).
What kind of payload is this packet carrying?
a)
ICMP
b)
UDP
c)
TCP
d)
ARP
e)
None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
1
EXERCISE
SET 1
Assume that all 0 and all 1 subnets are NOT usable unless otherwise stated!!!
1-
Which of the following is wrong about
subnetting
(a) Subnetting is used to create multiple subnets from one network address
(b) Subnet mask determines what part of the host id to be used as subnet bits
(c) In subnetting
all “0” and all “1” are reserved
numbers
(d) Subnetting is only used with
class C and class B addresses.
(e) If no subnetting is used,
host id
and
actual host id
are
the same
2-
Which of the following is wrong about
LANs and
WANs
(a)
LANs
cover small areas
(b)
Historically WANs
precede
LANs
(c)
WANs
are built using
shared links
(d)
Ethernet is a type of
LAN
(e)
First
operational WAN
was
funded
by
DoD.
3-
Which of the following statements about networks and subnets is wrong
(a) A Calss C address with mask 255.255.255.224 allows up to 6 subnets.
(b) 192.168.255.5 is not an legitimate address because “255” is a reserved number.
(c) All Class A addresses
have
1 byte of Network ID and
3 bytes of Host ID
(d) A
Class C
address with mask
255.255.255.0 implies that subnetting is not used
(e) All Class C addresses start with a
number between
192 and
223
4-
What is the maximum number of hosts
that can be used in a class B network with a
subnet mask
255.255.254.0?
(a) 510
(b) 511
(c) 1022
(d) 509
(e) 1023
5-
What is the maximum subnets that can be used in a class C network with a
subnet mask
255.255.255.224?
(a) 14
(b) 16
(c) 30
(d) 32
(e) 6
6-
Which of the following
is wrong about packets in a TCP/IP network
(a) All packets must have a source address and a destination address
(b) Packet header is typically 20 bytes long
(c) At every router, packet and segment headers are examined
(d) Packets may make
multiple “hops”
before they can reach to the destination computer
(e) Packets may be lost on the way for variety of reasons
7-
Which of the following is a
not in IP header?
(a) TTL
(b) CRC
(c) ULP
(d) Version
(e) TOS
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
2
8-
Which of the following statements is wrong about Ethernet
(a) Ethernet is one of the most popular LANs
(b) Ethernet LANs use 6-byte source and destination addresses
(c) Ethernet allows to build subnets using subnet masks
(d) Ethernet uses
a random access
mechanism
(e) Ethernet allows sharing of the communication medium
9-
Which of the following statements is wrong about
class A, B and C addresses
(a) Class A
addresses
allow
largest number of
hosts
(b) Class
C
addresses
are usually used by
small
organizations
(c) All the class A addresses have already been
assigned
(d) All the class C addresses have already been assigned
(e) Class B addresses use
16 bits of
host id field.
10- Which of the following is not a broadcast address?
(a) IP address =
155.139.255.255,
subnet mask = 255.255.0.0
(b) IP address = 155.139.251.255,
subnet mask = 255.255.255.0
(c) IP address = 155.139.191.255,
subnet mask = 255.255.224.0
(d) IP address = 155.139.252.255,
subnet mask = 255.255.240.0
(e) IP address = 155.139.207.255,
subnet mask = 255.255.240.0
11- Which of the following statement is wrong
(a) CRC field in Ethernet Frame is used against errors
(b) Checksum field in Packet Header is used against errors
(c) Checksum field in Segment Header is used against errors
(d) Acknowledgement field in Segment Header is used against errors
(e) Parity bit in Ethernet Header is used against errors
12- Which of the following case there is no subnetting?
(f) IP address =
55.139.251.222,
subnet mask = 255.255.0.0
(g) IP address = 155.139.251.222,
subnet mask = 255.255.0.0
(h) IP address = 205.139.251.222,
subnet mask = 255.255.255.248
(i)
IP address = 172.139.251.222,
subnet mask = 255.255.192.0
(j)
IP address = 172.139.251.222,
subnet mask = 255.255.255.128
13- Which of the following
is wrong about IP headers
(a) TTL field is The Total Length field and measures the length of the packet
(b) Version number is about version of the protocol
(c) Checksum field allows detection of bit errors
(d) ULP field is the upper layer protocol field and indicateds the payload contents
(e) Header Length field indicates the length of the IP packet
14- Which one of the following does not have the same meaning as “Ethernet Address”?
(a) MAC address
(b) NIC Address
(c) Physical Address
(d) Global Address
(e) Hardware Address
15- There are two four bit messages,
1010
and
1110. The first one
is
appended
with an odd parity bit, the
second one with
an even parity bit.
What are the values of the parity bits for the first and second messages
respectively:
(a) First is
“1”
second
is “0”
(b) First is
“0”
second
is “1”
(c) First is
“1”
second
is “1”
(d) First is
“0”
second
is “0”
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
3
16- Which of the following is wrong about TCP header fields:
(a) F
flag is used for
terminating
connections
(b) Credit window field is used for flow control
(c) Sequence number field is used for orderliness and error control
(d) S
flag is used
for
signalling an error condition
(e) Acknowledgement number is used to indicate the next segment expected
17- Which one of the following statements is wrong about
error control in general
(a) FCS
is another name used instead of
CRC
(b) CRCs
are error detection mechansims used in Link layer
(c) Checksums are
error correction mechansims used by IP and TCP
(d) IP checksums only cover IP header
(e) UPD checksums cover the entire
segment
18- Which one of the statements about ARP
is wrong
(a) ARP entries are kept in tables for a limited amount of time
(b) ARP
stands for address resolution protocol
(c) ARP
is
a
link layer protocol
(d) ARP
allows mapping
IP addresses to NIC addresses
(e) ARP
works only within the same subnet
19- Which of the following statement is wrong about
TCP
and
UDP
(a) TCP
is a full duplex protocol.
(b) TCP
is
a
connection oriented
protocol
(c) UDP
is
a reliable protocol due to checksum field
(d) TCP
is a flow controlled protocol
(e) UDP
and TCP
both use
source and destination port numbers
20- Given the IP address 192.168.5.0, design a subnet mask that would allow
16 subnets.
21- A computer with
an IP address f 195.75.39.187 and a mask of 255.255.255.224
want to send a packet to
another computer with the IP address 195.75.39.198.
Should it send it direct or should it send it to the default
gateway?
22- An organization
has
the IP address 207.78.129.___ .
(a)
If this organization uses no subnetting, how many
computers (including the router) can be on the network.
(b) If this organization uses
255.255.255.192 as the
subnet, how many computers can be on the subnets (i.e.
all usable addresses in all subnets).
(c) How many IP
addresses are wasted between
case (a) and case (b) – i.e due to subnetting?
23- You are given the
IP address
131.161.___.___.
You have to connect 5 offices in Clear Lake, Alvin, Pasadena,
La Porte
and Texas City.
Determine the subnet mask and complete the following table.
City
Subnet
Number
Address of the first
computer in this subnet
Address of the last
computer in this
subnet
Network Address
Broadcast Address
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
4
ANSWERS TO QUESTIONS 1 - 23
1d, 2c, 3b, 4a, 5e, 6c, 7b, 8c, 9d, 10d, 11e, 12g, 13a, 14d, 15c, 16d, 17c
18c, 19c,
20
To get at least 16 subnet on a C class, we need at least 5 bits assigned to the Subnet, the mask would be:
255.255.255.248
21
The
computers should use default gateway to send a packet.
22
(a)
with no subnetting, the organization should be able to allocate up to 254 computer.
(b) Using a subnet mask (assuming all 0 and all 1 subnets are not allowed), the organization should be
able to have up to 62 computer per subnet on total of two subnets.
(c) Thus the company would waste a total of 254 – ( 2 x 62 ) =
130 IP address due to subnetting.
23
City
Subnet
Number
Address of the first
computer in this subnet
Address of the last
computer in this
subnet
Network Address
Broadcast Address
Clear Lake
32
131.161.32.1
131.161.63.254
131.161.32.0
131.161.63.255
Alvin
64
131.161.64.1
131.161.95.254
131.161.64.0
131.161.65.255
Pasadena
96
131.161.96.1
131.161.127.254
131.161.96.0
131.161.127.255
La porte
128
131.161.128.1
131.161.159.254
131.161.128.0
131.161.159.255
Texas City
160
131.161.160.1
131.161.191.254
131.161.160.0
131.161.191.255
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
1
EXERCISE SET II
NOTE
:
Assume that
all
0
and
all
1
subnets
are usable unless otherwise stated
1-
In a Cisco router which of the following is true about IOS and configuration file storage during the boot time:
(a) Boot file comes from NVRAM and configuration file comes from RAM
(b) Boot file comes from Flash and configuration file comes from NVRAM
(c) Boot file comes from RAM and configuration file comes from NVRAM
(d) Boot file comes from RAM and configuration file comes from Flash
(e) Boot file comes from Flash and configuration file comes from RAM
2-
In the following network, how many static routes will be needed for R2?
(a) 1
(b) 2
(c) 3
(d) 4
(e) None of the above
3-
Which of the following can NOT be used as a mask for a host IP address 192.193.194.80
(a) /25
(b) /26
(c) /27
(d) /28
(e) All of the above can be used as a mask for the given address
4-
Two computers, PC1 and PC2 are on the same subnet of a small organization.
PC1’s IP address is
200.200.200.169/27.
Which of the following will be usable address for PC2?
(a) 200.200.200.160
(b) 200.200.200.191
(c) 200.200.200.158
(d) 200.200.200.190
(e) 200.200.200.200
5-
What is the maximum number of subnets that can be
used
in a class B network with a
subnet mask
255.255.255.128?
(a) 128
(b) 256
(c) 512
(d) 384
(e) None of the above
6-
Which of the following is a
not
a field in IP header?
(a) Type
(b) Version
(c) TTL
(d) Checksum
(e) TOS
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
2
7-
In which of the following case there is
NO
subnetting ?
(a) IP address =
126.126.126.126
subnet mask = 255.255.0.0
(b) IP address = 191.192.193.194
subnet mask = 255.255.255.0
(c) IP address = 192.193.194.195
subnet mask = 255.255.255.0
(d) IP address = 200.200.200.200,
subnet mask = 255.255.255.128
8-
Address Resolution Protocol is needed because:
(a) IP address of a destination computer cannot be known in advance
(b) MAC address of a destination computer cannot be known in advance
(c) Subnet address of a destination computer cannot be known in
advance
(d) Network address of a destination computer cannot be known in advance
(e) None of the above is the answer
9-
Internet Control Message Protocol is used for the following reasons:
(a) Router debugging and host management
(b) Host management and router debugging
(c) Debugging and error reporting
(d) Router management and host debugging
(e) None of the above
10- Which of the following is a broadcast address?
(a) IP address =
190.191.253.255,
subnet mask = 255.255.0.0
(b) IP address =
190.191.252.255,
subnet mask = 255.255.255.128
(c) IP address =
190.191.192.255,
subnet mask = 255.255.224.0
(d) IP address =
190.191.240.255,
subnet mask = 255.255.240.0
(e) None of the above are broadcast addresses
11- In an IP packet, the header length and total length fields have the following binary values:
1100 and
00000001 00010100.
Which of the following is true?
(a) Header is 12 Bytes and Packet is 276 Bytes
(b) Header is
36 Bytes and Packet is 120 Bytes
(c) Header is 48
Bytes and Packet is 276 Bytes
(d) Header is 36
Bytes and Packet is 276 Bytes
(e) None of the above is true
12- Which one of the following statements about ARP
is
wrong
(a) ARP
replies are unicast to requester host
(b) ARP
requests are broadcast to all hosts
(c) ARP
allows mapping
IP addresses to hardware addresses
(d) ARP
works
within different subnets of the same Network ID
(e) ARP entries are kept in arp tables for a limited amount of time
13- To which of the following address ranges, a computer with
an IP address of 172.16.255.101/23
can send a
packet directly (i.e. the destination is on the same subnet )?
Select the largest applicable range:
(a)
172.16.224.0 – 172.16.255.252
(b)
172.16.254.1 – 172.16.255.254
(c)
172.16.255.0 – 172.16.255.254
(d)
172.16.252.0 – 172.16.255.252
(e)
None of the above address sets is in the direct range
14- An organization is assigned the Class C IP address 200.0.0.0 This organization has
a headquarters location and
8 additional branch locations.
Headquarters is assigned the first usable subnet ID.
What is the subnet address of
the fourth branch location?
(a) 200.0.0.96
(b) 200.0.0.72
(c) 200.0.0.64
(d) 200.0.0.48
(e) None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
3
15- A computer,
PC1, sends data to another computer, PC2, using
parity method.
Eight bits of data is appended
with an odd parity bit to the left side of the data bits (i.e. parity bit becomes the leftmost bit).
Assume that
the data
sequence is
11001001.
Assume that the rightmost bit and the leftmost bits of the message (i.e. data and parity
bit together) are “hit” by an electrical disturbance and they are inverted along the way.
Which of the following
statements will be true?
(a) The received
message by PC2 will be
111001001 and PC2 will be able to detect the errors
(b) The received
message by PC2 will be
011001000 and PC2 will be able to detect the errors
(c) The received
message by PC2 will be
111001000 and PC2 will not be able to detect the errors
(d) The received
message by PC2 will be
011001000 and PC2 will not be able to detect the errors
(e) The received
message by PC2 will be
010010001 and PC2 will not be able to detect the errors
16- Assume that a packet whose TTL field is set to 8 “dies” after 8 hops at a router.
What kind of message will
the
router send to the source host?
(a) ICMP “time exceeded” message
(b) ICMP
“low hop count setting”
message
(c) ARP response message
(d) ARP request message
(e) None of the above.
17- Traceroute program utilizes the following protocols and protocol features:
(a) ICMP “destination unreachable”, ICMP “time exceeded” and IP “hop count”
(b) ICMP “echo response” , ICMP “time exceeded” and IP “hop count”
(c) ICMP “echo request”, ICMP “time exceeded”
and IP “hop count”
(d) ICMP “echo request” ICMP “destination unreachable”,
and IP “TTL”
(e) ICMP “time exceeded”, ICMP “echo request” and IP “TTL”
18- A company has two Ethernet networks connected with an internal router R2.
The organization connects to the
Internet via Houston node. On 192.168.1.0/27 network computer A has the MAC address aaaa.aaaa.aaaa, B has
bbbb.bbbb.bbbb and so on.
R1 has the MAC address 1111.1111.1111 and R2 has the MAC address
2222.2222.2222. R1 has the first IP address in the subnet, R2 has the next IP address in the subnet, A has the
last IP address in the subnet,
B has the IP address one less than A in the subnet and so on.
Computer B needs
to send a packet to an IP address 200.201.202.203.
What would the source and destination IP and MAC
addresses be?
(a) Source: bbbb.bbbb.bbbb, 192.168.1.29, Destination: 2222.2222.2222, 192.168.1.2
(b) Source: bbbb.bbbb.bbbb, 192.168.1.30, Destination: 2222.2222.2222, 192.168.1.1
(c) Source: bbbb.bbbb.bbbb, 192.168.1.29, Destination: 1111.1111.1111, 200.201.202.203
(d) Source: bbbb.bbbb.bbbb, 192.168.1.30, Destination: 1111.1111.1111, 200.201.202.203
(e) none of the above
19- Refer the figure in previous question. If computer B needs to send a packet
192.168.1.69,, which IP address it will
need to send an ARP to?
(a) To 192.168.1.65
(b) To 192.168.1.2
(c) To 192.168.1.1
(d) To 192.168.1.28
(e) None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
4
20- Refer to the figure in Question 18.
What would be the default gateway IP address for computer C?
(a) 192.168.1.2
(b) 192.168.1.65
(c) 192.168.1.33
(d) 192.168.1.1
(e) None of the above
21- In Cisco routers two different prompts are used for different user privilege modes. Those prompts are:
(a)
“ : “
and
“ # “
(b)
“ > “
and
“ # “
(c)
“ : “
and
“ > “
(d)
“ > “
and
“ : “
(e) None of the above
22- Given the IP address 96.216.215.214 and subnet mask of /17, which of the following is
true
about subnet ID and
actual host ID?
(a) SID=216.1.0
AHID=0.214.214
(b) SID=216.128.0
AHID=0.87.214
(c) SID=216.160.0
AHID=0.55.214
(d) SID=216.96.0
AHID=0.119.214
(e) None of the above
23- An organization uses a class A address with a mask 255.255.192.0. How many usable address are available in
each subnet?
(a) 2
10
– 2
(b) 2
11
– 2
(c) 2
12
– 2
(d) 2
13
– 2
(e) None of the above
24- Assume that you are told that the IP addresss 172.16.136.231
has the AHID value 8.231. Which of the following
is the correct subnet mask for this IP?
(a) /20
(b) /19
(c) /18
(d) /17
(e) None of the above
25- Which one of the following
can not
be assigned to a host as an IP address?
(a) 200.200.200.79/29
(b) 200.200.200.96/26
(c) 200.200.200.80/27
(d) 200.200.200.32/26
(e) All of the above are assignable host addresses
26- A computer with IP address 10.248.224.225/16 wants to send a packet to another computer with IP address
10.249.224.225/16. What should it do?
(a) the destination computer is on the same subnet and it should send it directly
(b) the destination computer is on a different subnet and it should sendit via the default gateway
(c) the destination computer address is not a legitimate address because it is a subnet address
(d) the destination computer address is not a legitimate address because it is a broadcast address
27- The purpose of the checksum field in the IP header is:
(a) To correct errors in IP header
(b) To correct errors in IP payload
(c) To correct errors in IP packet
(d) To detect errors in IP header
(e) None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
5
28- You need to subnet a network segment. How many subnetworks and hosts are available per subnet if you appy a
/18 mask to the 120.0.0.0 network?
(a) 8192 subnets and 8190 hosts
(b) 1024 subnets and 16382 hosts
(c) 16382 subnets and 4094 hosts
(d) 4094 subnets and 8190 hosts
29- In order to configure a Cisco router for the first time, which of the following are required?
(a) Console interface, PC Com Port, Hyperterminal Software
(b) Console interface, Telnet, PC Com Port, Hyperterminal Software
(c) Telnet, PC Com Port, Hyperterminal Software
(d) Console interface, PC Com Port, Telnet
---------------------------------------------------------------------------------------------------------------------------------
NARRATIVE QUESTIONS
30- A router receives a packet. It examines the packet header and finds the destination IP address in
binary as
follows:
01100111
10010001
11000010
01100100.
The router uses /17 as subnet mask. What is the Network
ID, Subnet ID and AHID values? Give the answers in decimal form.
31- A host computer “X” with IP address 200.180.150.119/26 can't communicate with another host “Y” with IP
address 200.180.159.128/26. What
is the problem? Explain.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
6
32- You are given the IP address 180.181.0.0. You have to connect Clear Lake headquarters to
30 branch offices
starting with: Alvin, Dickinson, Santa Fe and League City. There are more offices whose names are not needed
here. Assign the first subnet to Headquarters and others to three cities listed above
. You will assume that all 0
and all 1 subnets are NOT usable
. Determine the subnet mask and fill out the first four rows of the following
table:
City
Subnet
Number
Address of the first host
in this subnet
Address of the last
host in this subnet
Subnet Address
Broadcast Address
ANSWERS:
1b, 2b, 3d, 4d, 5c, 6a, 7c, 8b, 9c, 10b, 11c, 12d, 13b, 14c, 15d, 16a, 17e, 18c, 19b, 20d, 21b, 22b, 23e, 24d, 25a,
26b, 27d, 28b, 29a
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
7
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
1
1-
What is the maximum number of hosts
that can be
used
in a class B network with a
subnet mask
255.255.252.0?
(a) 510
(b) 511
(c) 1023
(d) 1022
(e) None of the above
2-
What is the maximum number of subnets that can be
used
in a class C network with a
subnet mask
255.255.255.224?
(a) 14
(b) 16
(c) 30
(d) 6
(e) 32
3-
Which of the following is a
not
in IP header?
(a) TTL
(b) TOS
(c) Data Offset
(d) ULP
(e) Checksum
4-
Which of the following statement about error detection is
wrong?
(a) CRC field in Ethernet Frame is used detect single bit errors
(b) CRC field is a four byte field in the Ethernet Trailer
(c) Checksum field in Packet Header is used detect errors in the header
(d) Checksum field in the TCP header is used to detec errors in the segment
(e) Another name for CRC is
SFC
5-
Which of the following case there is
no
subnetting?
(a) IP address =
33.139.251.222,
subnet mask = 255.255.0.0
(b) IP address = 133.139.251.222,
subnet mask = 255.255.0.0
(c) IP address = 223.139.251.222,
subnet mask = 255.255.255.248
(d) IP address = 133.139.251.222,
subnet mask = 255.255.192.0
(e) IP address = 133.139.251.222,
subnet mask = 255.255.255.128
6-
Which of the following
is
wrong
about the fields in IP header?
(a) TTL field is hop count field and measures the hops packet makes
(b) Version number is about version of the protocol
(c) Checksum field allows detection of bit errors
(d) Header Length field indicates how many bytes the packet header is.
(e) ULP field is the upper layer protocol field and indicateds the payload contents
7-
Which one of the following does
not
have the same meaning as “Ethernet Address”?
(a) MAC address
(b) NIC Address
(c) Physical Address
(d) Hardware Address
(e) All of the above have the same meaning
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
2
8-
There are three four bit messages,
1110 , 1100 and 0001.
The first one
is
appended
with an odd parity bit,
the second and the third ones are appended with even parity bit. What are the values of the parity bits for the
first,
second and the third messages respectively:
(a) First is
“1”
second
is “0”
third is “0”
(b) First is
“0”
second
is “1”
third is “1”
(c) First is
“1”
second
is “1”
third is “1”
(d) First is
“0”
second
is “0”
“third is 0”
(e) None of the above
9-
Which of the following statements is
wrong
about Ethernet
(a) Ethernet LANs use 6-byte source and destination addresses
(b) Ethernet detects errors using CRC field
(c) Ethernet uses
a random access
mechanism
(d) Ethernet allows sharing of the communication medium
(e) Ethernet access mechanism is called CDMA/CS
10- Which of the following is
not
a broadcast address?
(a
IP address =
129.7.255.255,
subnet mask = 255.255.0.0
(b) IP address =
129.7.252.255,
subnet mask = 255.255.255.0
(c) IP address =
129.7.191.255,
subnet mask = 255.255.224.0
(d) IP address =
129.7.252.255,
subnet mask = 255.255.240.0
(e) All of the above are broadcast addresses
11- Which of the following is
wrong
about Ethernet Addresses
(a) Ethernet Addresses are 6 bytes long
(b) Ethernet addresses are expressed in dotted decimal notation
(c) Both source and destination Ethernet Addresses are carried in the Frame header
(d) Manufacturer ID of the Ethernet card is expressed in the first three bytes of the Ethernet address
(e) Ethernet Addresses are assigned to the cards at the factory
12- Which one of the statements about ARP
is
wrong
(a) ARP
replies are broadcast to all hosts
(b) ARP
requests are broadcast to all hosts
(c) ARP
allows mapping
IP addresses to hardware addresses
(d) ARP
works only within the same subnet
(e) ARP entries are kept in tables for a limited amount of time
13- A computer with
an IP address f 208.75.39.173 and a mask of 255.255.255.224
can send a packet directly (i.e.
the destination is on the same subnet ) to which of the following address ranges (pick the largest applicable
range):
(a)
208.75.39.161 -
195.75.39.190
(b)
208.75.39.161 – 195.75.39.179
(c)
208.75.39.161 – 195.75.39.192
(d)
208.75.39.161
- 195.75.39.200
(e)
none of the above ranges is applicable
14- During the data exchange phase of a TCP connection,
a computer “A” sends a segment with
Credit Window =
8192 to a computer “B”.
Assuming
both networks use Ethernet as underlying link layer protocol (for MTU),
how
many full size segments can be sent from B to A
without waiting for an acknowledgement?
(a) 8
(b) 7
(c) 5
(d) 6
(e) none of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
3
15- You are given the
IP address
202.168.20.__
You have to connect 5 offices in Clear Lake, Alvin, Pasadena, La
Porte
and Texas City. You use
255.255.255.224 as your subnet mask.
You assign the first available subnet ID
to Clear Lake, second to Alvin, third to Pasadena
etc.
What is the broadcast address for the Pasadena (i.e. the
third ) subnet?
(a) 202.168.20.95
(b) 202.168.20.159
(c) 202.168.20.63
(d) 202.168.20.127
(e) none of the above
16- Which one of the following functions is
not
performed by TCP?
(a) Error control
(b) Sequencing
(c) Acknowledgements
(d) Flow Control
(e) Time to Live
17- Which one of the following statements is
wrong
about TCP connections?
(a) Starting handshake utilizes S, A
and F flags.
(b) No data can be exchanged prior to the starting handshake
(c) Flow control utilizes
Credit Window and ACK fields.
(d) At the end of the data exchange, a 4-way handshake takes place.
(e) “Pipe” metaphor is used to illustrate the orderly and error free data transfers associated with TCP
connections.
18- Given the IP address 133.133.133.133 and subnet mask of 255.255.252.0, which of the following is
true
about
subnet ID and actual host ID?
(a) SID=128.0
AHID=5.133
(b) SID=132.0
AHID=1.133
(c) SID=130.0
AHID=3.133
(d) SID=133.0
AHID=0.133
(e) None of the above
19- Assume that you are told that the IP addresss 192.192.192.158 has the AHID value 14. Which is the correct
subnet mask for this IP?
(a) 255.255.255.192
(b) 255.255.255.224
(c) 255.255.255.240
(d) 255.255.255.248
(e) None of the above
20- Which one of the following is
not
a subnet address?
(a) 208.216.164.96 with subnet mask 255.255.255.224
(b) 208.216.164.96 with subnet mask 255.255.255.192
(c) 208.216.164.64 with subnet mask 255.255.255.192
(d) 208.216.164.64 with subnet mask 255.255.255.224
(e) All of the above are legitimate subnet addresses
21- A computer with IP address 208.208.208.166 and a mask of 255.255.255.224 wants to send a packet to another
computer with IP address 208.208.208.156. What should it do?
(a) the destination computer is on the same subnet and it should send directly
(b) the destination computer is on a different subnet and it should send via the default gateway
(c) the destination computer address is not a legitimate address because it represents a subnet address
(d) the destination computer address is not a legitimate address because it represents a broadcast
address
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
4
22- Which of the following statements is
wrong
about TCP/UDP?
(a) TCP is a full duplex protocol
(b) UDP is a connection oriented protocol
(c) UDP is a datagram protocol
(d) TCP is a flow controlled protocol
(e) TCP is a stream oriented protocol
23- Which of the following is
wrong
about TCP flags?
(a) There are a total of 12 TCP flags of which S, F and A are the most important ones.
(b) F flag is used during connection termination handshake
(c) S flag is used during connection establishment phase
(d) A flag is used to acknowledge receipt of segments
(e) In the third handshake of connection establishment only A flag is set
24- An organization uses a class B address with a mask 255.255.224.0. How many usable address are available in
each subnet?
(a) 2
11
– 2
(b) 2
12
– 2
(c) 2
13
– 2
(d) 2
14
– 2
(e) 2
15
– 2
25- You need to subnet a Certkiller network segment. How many subnetworks and hosts are available per subnet if
you appy a /28 mask to the 200.200.200.0 class C network?
(a) 6 networks and 30 hosts
(b) 30 networks and 6 hosts
(c) 8 networks and 32 hosts
(d) 32 networks and 8 hosts
(e) None of the above
26- Your network uses the class B address 172.16.0.0. You need to support 459 hosts per subnet while
accommodating the maximum number of subnets. Which mask would you use>
(a) 255.255.0.0
(b) 255.255.128.0
(c) 255.255.224.0
(d) 255.255.254.0
(e) None of the above
27- Your ISP has assigned you the following IP address and subnet mask: 199.141.27.0, 255.255.255.240. Which of
the following addresses can be allocated to hosts on the resulting subnet (select all that apply).
(a) 199.141.27.2
(b) 199.141.27.175
(c) 199.141.27.13
(d) 199.141.27.11
(e) 199.141.27.208
(f) 199.141.27.112
28- Which of the following statements is wrong about DNS server/protocol?
(a) Without a DNS server it is impossible to browse the Internet
(b) DNS uses TCP as underlying transport protocol
(c) Each PC must know the IP address of its DNS server in that organization
(d) A DNS server is fully knowledgeable only about the organization it servers (e.g. xyz.com)
(e) DNS servers of different organizations must interact with each other to resolve names.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
5
29- A router R1 receives a packet and forwards it to the next router on the path (R2). When the packet leaves R2,
TTL field of the packet contains the decimal number 11. Based on the data provide, which one of the following
statements is wrong?
(a) After R2, the packet can make 11 more hops.
(b) When the packet left R1 the TTL field content was 12
(c) Each router increments
the TTL field by 1.
(d) All of the above statements are true.
30- Which one of the following Cisco command sequences is the correct one to configure telnet access to a Cisco
Router.
(a) Line vty 0, 4
login
enable secret howdy
(b) telnet line
login
enable password howdy
(c) telnet
login
password howdy
(d) line vty 0, 4
access
password howdy
(e) telnet
login
enable password howdy
(f) line vty 0, 4
login
password
howdy
31- You issued the following commands in a Cisco Router in the sequence shown:
enable, configure terminal,
interface Ethernet 0.
Which of the following prompt you will end up with?
(a) Router#
(b) Router(config)#
(c) Router(config-if)>
(d) Router(config-if)#
(e) Router>
32- You are given the IP address 197.198.199.0. You have to connect the following offices: Clear Lake, Dickinson,
Galveston and Pearland. Assume that all 0 and all 1 subnets are usable. Determine the subnet mask and fill out
the first four rows of the following table:
City
Subnet
Number
Address of the first
computer in this subnet
Address of the last
computer in this
subnet
Network Address
Broadcast Address
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
1
EXERCISE SET 6
Assume that all 0 and all 1 subnets are usable unless otherwise stated
1-
What is the maximum number of hosts
that can be
used
in a class B network with a
subnet mask
255.255.252.0?
(a) 510
(b) 511
(c) 1023
(d) 1022
(e) None of the above
2-
What is the maximum number of subnets that can be
used
in a class C network with a
subnet mask
255.255.255.224?
(a) 14
(b) 16
(c) 30
(d) 8
(e) 32
3-
Which of the following is a
not
in IP header?
(a) TTL
(b) TOS
(c) Type
(d) ULP
(e) Checksum
4-
Which of the following statement about error detection is
wrong?
(a) CRC field in Ethernet Frame is used detect errors in the frame
(b) CRC field is a four byte field in the Ethernet Trailer
(c) Checksum field in Packet Header is used detect errors in the packet header
(d) Parity bit is used to detect single bit errors
(e) CRC and checksums are both used in software.
5-
Which of the following case there is
no
subnetting (i.e. SID field is zero length)?
(a) IP address =
33.139.251.222,
subnet mask = 255.255.0.0
(b) IP address = 133.139.251.222,
subnet mask = 255.255.0.0
(c) IP address = 223.139.251.222,
subnet mask = 255.255.255.248
(d) IP address = 133.139.251.222,
subnet mask = 255.255.192.0
(e) IP address = 133.139.251.222,
subnet mask = 255.255.255.128
6-
Which of the following
is
wrong
about the fields in IP header?
(a) TTL field is hop count field and measures the hops left for a packet to make
(b) Version number is about version of the IP protocol
(c) Checksum field allows detection of bit errors in the IP header
(d) Header Length field indicates how many bytes the packet header is.
(e) ULP field is the upper layer protocol field and indicateds the IP payload type
7-
Which one of the following does
not
have the same meaning as “Ethernet Address”?
(a) MAC address
(b) NIC Address
(c) Physical Address
(d) Hardware Address
(e) Global Address
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
2
8-
There are three four bit messages,
1110 , 1100 and 0001. The first one
is
appended
with an odd parity bit, the
second and the third ones are appended with even parity bits.
What are the values of the parity bits for the first,
second and the third messages respectively:
(a) First is
“1”
second
is “0”
third is “0”
(b) First is
“0”
second
is “1”
third is “1”
(c) First is
“1”
second
is “1”
third is “1”
(d) First is
“0”
second
is “0”
“third is 0”
(e) None of the above
9-
Which of the following statements is
wrong
about Ethernet
(a) Ethernet LANs use 6-byte source and destination addresses
(b) Ethernet detects errors using CRC field
(c) Ethernet is
a type of
LAN
(d) Ethernet allows sharing of the communication medium
(e) Ethernet networks always use coaxial cable
10- Which of the following is
not
a broadcast address?
(a) IP address =
129.7.255.255,
subnet mask = 255.255.0.0
(b) IP address =
129.7.252.255,
subnet mask = 255.255.255.0
(c) IP address =
129.7.191.255,
subnet mask = 255.255.224.0
(d) IP address =
129.7.252.255,
subnet mask = 255.255.240.0
(e) All of the above are broadcast addresses
11- Which of the following is
wrong
about Ethernet Addresses
(a) Ethernet Addresses are 6 bytes long
(b) Ethernet addresses are expressed in dotted decimal notation
(c) Both source and destination Ethernet Addresses are carried in the Frame header
(d) Manufacturer ID of the Ethernet card is expressed in the first three bytes of the Ethernet address
(e) Ethernet Addresses are assigned to the NIC cards at the factory
12- Which one of the statements about ARP
is
wrong
(a) ARP
replies are broadcast to all hosts
(b) ARP
requests are broadcast to all hosts
(c) ARP
allows mapping
IP addresses to hardware addresses
(d) ARP
works only within the same subnet
(e) ARP entries are kept in arp tables for a limited amount of time
13- To which of the following addresses, a computer with
an IP address of 208.75.39.173 and a mask of
255.255.255.224
can send a packet directly (i.e. the destination is on the same subnet )?
Select the largest
applicable range:
(a)
208.75.39.161 -
208.75.39.190
(b)
208.75.39.161 – 208.75.39.179
(c)
208.75.39.161 – 208.75.39.192
(d)
208.75.39.161
- 208.75.39.200
(e)
none of the above ranges is applicable
14- An organization is assigned the IP address 172.16.0.0.
This organization has
a headquarters location and 14
branch locations.
Headquarters is assigned the first usable subnet ID.
What is the broadcast address of the
second branch location?
(a) 172.16.15.255
(b) 172.16.2.255
(c) 172.16.3.255
(d) 172.16.31.255
(e) None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
3
15- You are given the
IP address
202.168.20.__
You have to connect 5 offices in Clear Lake, Alvin, Pasadena, La
Porte
and Texas City. You use
255.255.255.224 as your subnet mask.
You assign the first available subnet ID to
Clear Lake, second to Alvin, third to Pasadena
etc.
What is the broadcast address for the Pasadena (i.e. the third
) subnet?
(a) 202.168.20.95
(b) 202.168.20.159
(c) 202.168.20.63
(d) 202.168.20.127
(e) none of the above
16- In IP packet header the “Total Length” field allows a maximum packet size of:
(a) 20 Bytes
(b) 60 Bytes
(c) 65,535 Bytes
(d) 1500 Bytes
(e) None of the above
17- Which one of the following the acronyms is formally used to delineate Ethernet medium sharing mechanism?
(a) LBT/LWT
(b) LWT/LAT
(c) CDMA/CS
(d) CSMA/CD
(e) None of the above
18- Given the IP address 133.133.133.133 and subnet mask of 255.255.252.0, which of the following is
true
about
subnet ID and actual host ID?
(a) SID=128.0
AHID=5.133
(b) SID=132.0
AHID=1.133
(c) SID=130.0
AHID=3.133
(d) SID=133.0
AHID=0.133
(e) None of the above
19- Assume that you are told that the IP addresss 192.192.192.158 has the AHID value 14. Which is the correct
subnet mask for this IP?
(a) 255.255.255.192
(b) 255.255.255.224
(c) 255.255.255.240
(d) 255.255.255.248
(e) None of the above
20- Which one of the following is
not
a subnet address?
(a) 208.216.164.96 with subnet mask 255.255.255.224
(b) 208.216.164.96 with subnet mask 255.255.255.192
(c) 208.216.164.64 with subnet mask 255.255.255.192
(d) 208.216.164.64 with subnet mask 255.255.255.224
(e) All of the above are legitimate subnet addresses
21- A computer with IP address 208.208.208.166 and a mask of 255.255.255.224 wants to send a packet to another
computer with IP address 208.208.208.156. What should it do?
(a) the destination computer is on the same subnet and it should send directly
(b) the destination computer is on a different subnet and it should send via the default gateway
(c) the destination computer address is not a legitimate address because it represents a subnet address
(d) the destination computer address is not a legitimate address because it represents a broadcast
address
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
4
22- Which of the following is
not an
interface types for routers?
(a) Ethernet is an interface type in a Router
(b) Serial is an interface type in a router
(c) Parallel is an interface type in a router
(d) All of the above are router interface types
23- An organization uses a class B address with a mask 255.255.224.0. How many usable address are available in
each subnet?
(a) 2
11
– 2
(b) 2
12
– 2
(c) 2
13
– 2
(d) 2
14
– 2
(e) 2
15
– 2
24- You need to subnet a network segment. How many subnetworks and hosts are available per subnet if you appy a
/28 mask to the 200.200.200.0 class C network?
(a) 6 networks and 30 hosts
(b) 30 networks and 6 hosts
(c) 8 networks and 32 hosts
(d) 32 networks and 8 hosts
(e) None of the above
25- Your network uses the class B address 172.16.0.0. You need to support 459 hosts per subnet while
accommodating the maximum number of subnets. Which mask would you use?
(a) 255.255.0.0
(b) 255.255.128.0
(c) 255.255.224.0
(d) 255.255.254.0
(e) None of the above
26- A computer network is created with 5 routers and 6 Ethernet networks in a linear fashion.
Each router is
connected to neighbor routers using ethernet0 and ethernet1 interfaces.
Other interfaces are not used.
In this
network how many static routes will be required at each router?
(a) 4
(b) 3
(c) 6
(d) 5
(e) None of the above
27- A router R1 receives a packet and forwards it to the next router on the path (R2). When the packet leaves R2, TTL
field of the packet contains the decimal number 11. Based on the data provide, which one of the following
statements is wrong?
(a) After R2, the packet can make 11 more hops.
(b) When the packet left R1 the TTL field content was 12
(c) Each router increments
the TTL field by 1.
(d) TTL stands for Time to Live
(e) Maximum possible TTL value is 255
28- In a Cisco router Flash memory is used to hold:
(a) Configuration information
(b) Operating System (IOS)
(c) passwords
(d) BIOS
(e) None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
5
29- Which one of the following summarizes TCP functionality:
(a) Addressing and routing
(b) Local Transfers
(c) Browsing
(d) Medium sharing
(e) End-to-end orderly and error free deliveries
30- We know that Class A addresses have 1-126, Class B addresses have 128-191 and Class C addresses have
192-223 in the first Byte of the address field.
Assume that there were a Class “D” address.
Also assume that
Class D address is determined in the following way: The first three bits of the first byte of the address is always 1
and the fourth bit is always 0.
According to this what would be the possible first Byte values for Class D
addresses.
Hint: You should compute this the same way we did in the classroom for the other addresses.
(a) 192-240
(b) 200-240
(c) 224-240
(d) 224-239
(e) None of the above
31- Which of the following is not a legitimate IP address?
(a) 192.168.0.1
(b) 1.255.255.254
(c) 191.191.191.191
(d) 223.256.255.254
(e) All of the above are legitimate IP addresses
32- You are given the IP address 196.196.196.0. You have to connect the following offices: Clear Lake, Dickinson,
Galveston and Pearland.
Assume that all 0 and all 1 subnets are usable.
Determine the subnet mask and fill
out the first four rows of the following table:
City
Subnet
Number
Address of the first
computer in this subnet
Address of the last
computer in this
subnet
Subnetwork Address
Broadcast Address
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
6
ANSWERS:
1 D, 2 D, 3 C, 4 E, 5 B, 6 D, 7 E, 8 E, 9 E, 10 D, 11 B, 12 A, 13 B, 14 E, 15 E, 16 C, 17 D, 18 B, 19 C, 20 A, 21 B, 22
C, 23 C, 24 E, 25 D, 26 A, 27 C, 28 B, 29 E, 30 D, 31 D
32:
City
Subnet
Number
Address of the first
computer in this subnet
Address of the last
computer in this
subnet
Subnetwork
Address
Broadcast Address
Clearlake
0
196.196.196.1
196.196.196.62
196.196.196.0
196.196.196.63
Dickinson
1
196.196.196.65
196.196.196.126
196.196.196.64
196.196.196.127
Galveston
2
196.196.196.129
196.196.196.190
196.196.196.128
196.196.196.191
Pearland
3
196.196.196.193
196.196.196.254
196.196.196.192
196.196.196.255
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
1
EXERCISE
SET
7
1-
Which of the following can NOT be used as a mask for a host IP address 200.200.200.47
(a) /28
(b) /27
(c) /26
(d) /25
(e) /24
2-
Two computers, PC1 and PC2 are on two different subnets of a small organization.
PC1’s IP address is
192.168.1.38/27.
Which of the following will be usable address for PC2?
(a) 192.168.1.32
(b) 192.168.1.55
(c) 192.168.1.64
(d) 192.168.1.93
(e) 192.168.1.31
3-
What is the maximum number of subnets that can be
used
in a class B network with a
subnet mask
255.255.254.0?
(a) 64
(b) 62
(c) 128
(d) 254
(e) None of the above
4-
Which of the following is a
not
a field in IP header?
(a) TOS
(b) Version
(c) Hop Count
(d) Checksum
(e) Options
5-
Which of the following case there is
no
subnetting ?
(a) IP address =
126.127.128.129,
subnet mask = 255.255.0.0
(b) IP address = 129.128.127.126,
subnet mask = 255.255.0.0
(c) IP address = 191.192.193.194,
subnet mask = 255.255.255.0
(d) IP address = 194.193.192.191,
subnet mask = 255.255.255.128
(e) IP address = 192.192.193.194,
subnet mask = 255.255.255.128
6-
Which of the following
field contents change as an IP packet travels across the Internet?
(a) Version Field
(b) Source IP field
(c) Header Length Field
(d) TTL Field
(e) All of the above field values remain intact as the packet travels
7-
Two computers, PC1 and PC2
have the following MAC addresses for the Ethernet cards in them:
054b.3c42.16fe
and
054b.3c43.16fe. Which of the following statements is
true
?
(a) Two PCs have Ethernet cards by different manufacturers.
(b) Two PCs have identical serial numbers
(c) Two PCs have identical
manufacturers
(d) Those MAC addresses are not legitimate MAC addresses because they are too short.
(e) None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
2
8- A computer,
PC1, sends data to another computer, PC2, using
parity method.
Eight bits of data is appended
with an even parity bit as the rightmost bit.
Assume that
the data sequence
10010011 is sent from PC1 to PC2.
Assume that the very first bit (leftmost) and the parity bit are “hit” by an electrical disturbance and they are inverted
along the way.
Which of the following statements will be true?
(a) The received
message by PC2 will be
100100110 and PC2 will be able to detect the errors
(b) The received
message by PC2 will be
000100110 and PC2 will be able to detect the errors
(c) The received
message by PC2 will be
000100110 and PC2 will not
be able to detect the errors
(d) The received
message by PC2 will be
000100111 and PC2 will be able to detect the errors
(e) The received
message by PC2 will be
000100111 and PC2 will not be able to detect the errors
9-
Which of the following is
true
about ARP message encapsulation?
(a) ARP messages are encapsulated into frames
(b) ARP messages are encapsulated into packets which are in turn encapsulated into frames
(c) ARP messages are encapsulated into segments which in turn are encapsulated into packets
(d) Packets are encapsulated into ARP
messages which in turn are encapsulated into frames
(e) None of the above is true
10- Which of the following is a broadcast address?
(a) IP address =
190.27.253.255,
subnet mask = 255.255.0.0
(b) IP address =
190.27.252.255,
subnet mask = 255.255.255.0
(c) IP address =
190.27.190.255,
subnet mask = 255.255.224.0
(d) IP address =
190.27.248.255,
subnet mask = 255.255.240.0
(e) None of the above are broadcast addresses
11- Which of the following is
wrong
about Ethernet frame format?
(a) Ethernet headers are 18 Bytes long
(b) Ethernet Type filed indicates what kind of payload is carried
(c) CRC field is also known as FCS field
(d) Ethernet Payload size can be at most 1500 Bytes
(e) Ethernet Payload size must be at least 46 Bytes
12- Which one of the statements about ARP
is
wrong
(a) ARP
replies are broadcast to all hosts
(b) ARP
requests are broadcast to all hosts
(c) ARP
allows mapping
IP addresses to hardware addresses
(d) ARP
works only within the same subnet
(e) ARP entries are kept in arp tables for a limited amount of time
13- To which of the following address ranges, a computer with
an IP address of 200.0.0.101/28
can send a packet
directly (i.e. the destination is on the same subnet )?
Select the largest applicable range:
(a)
200.0.0.97 – 200.0.0.110
(b)
200.0.0.65 – 200.0.0.126
(c)
200.0.0.97 – 200.0.0.126
(d)
200.0.0.65 – 200.0.0.158
(e)
None of the above address set is in the direct range
14- An organization is assigned the Class C IP address 192.168.5.0.
This organization has
a headquarters location
and 8 branch locations.
Headquarters is assigned the first usable subnet ID.
What is the subnet address of the
fourth branch location?
(a) 192.168.5.48
(b) 192.168.5.96
(c) 192.168.5.64
(d) 192.168.5.72
(e) None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
3
15- An company has two Ethernet networks connected with an internal router R2.
The organization connects to the
Internet via Houston node. On 192.168.1.0/27 network computer A has the MAC address aaaa.aaaa.aaaa, B has
bbbb.bbbb.bbbb and so on.
R1 has the MAC address 1111.1111.1111 and R2 has the MAC address
2222.2222.2222. R1 has the first IP address in the subnet, R2 has the next IP address in the subnet, A has the
next IP address in the subnet,
B has the next IP address in the subnet and so on.
Computer B needs to send a
packet to an IP address 192.168.1.97.
What would be the source and destination IP and MAC addresses be?
(a) Source: bbbb.bbbb.bbbb, 192.168.1.2, Destination: 2222.2222.2222, 192.168.1.97
(b) Source: bbbb.bbbb.bbbb, 192.168.1.4, Destination: 2222.2222.2222, 192.168.1.97
(c) Source: bbbb.bbbb.bbbb, 192.168.1.4, Destination: 1111.1111.1111, 192.168.1.97
(d) Source: bbbb.bbbb.bbbb, 192.168.1.2, Destination: 1111.1111.1111, 192.168.1.97
(e) none of the above
16- Refer the figure in previous question. If computer B needs to send a packet
192.168.1.33,, which IP address it will
need to send an ARP to?
(a) To 192.168.1.33
(b) To 192.168.1.1
(c) To 192.168.1.2
(d) To 192.168.1.32
(e) None of the above
17- Refer to the figure in Question 15.
What would be the default gateway IP address for computer X?
(a) 192.168.1.2
(b) 192.168.1.1
(c) 192.168.1.33
(d) 192.168.1.65
(e) None of the above
18- In IP packet header the “Total Length” field has the value
1010. This means the IP header is:
(a) 40 Bytes long
(b) 20 Bytes long
(c) 60 Bytes long
(d) 10 Bytes long
(e) None of the above
19- Which one of the following acronyms is formally used to delineate Ethernet medium sharing mechanism?
(a) LBT/LWT
(b) LWT/LAT
(c) CDMA/CS
(d) CSCD/MD
(e) None of the above
20- Given the IP address 113.214.215.216 and subnet mask of /17, which of the following is
true
about subnet ID and
actual host ID?
(a) SID=214.1.0
AHID=0.214.216
(b) SID=214.128.0
AHID=0.87.216
(c) SID=214.160.0
AHID=0.55.216
(d) SID=214.96.0
AHID=0.119.216
(e) None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
4
21- Assume that you are told that the IP addresss 200.200.200.29
has the AHID value 5. Which of the following is the
correct subnet mask for this IP?
(a) /29
(b) /28
(c) /27
(d) /26
(e) None of the above
22- Which one of the following
can not
be assigned to a host as an IP address?
(a) 200.200.200.79/29
(b) 200.200.200.96/26
(c) 200.200.200.80/27
(d) 200.200.200.32/26
(e) All of the above are assignable host addresses
23- A computer with IP address 172.16.211.129/25 wants to send a packet to another computer with IP address
172.16.211.127. What should it do?
(a) the destination computer is on the same subnet and it should send directly
(b) the destination computer is on a different subnet and it should send via the default gateway
(c) the destination computer address is not a legitimate address because it represents a subnet
address
(d) the destination computer address is not a legitimate address because it represents a broadcast
address
24- An organization uses a class A address with a mask 255.255.240.0. How many usable address are available in
each subnet?
(a) 2
11
– 2
(b) 2
12
– 2
(c) 2
13
– 2
(d) 2
14
– 2
(e) None of the above
25- You need to subnet a network segment. How many subnetworks and hosts are available per subnet if you appy a
/23 mask to the 170.200.0.0 network?
(a) 128 networks and 510 hosts
(b) 256 networks and 254 hosts
(c) 254 networks and 254 hosts
(d) 64
networks and 1022 hosts
(e) None of the above
26- Which one of the statements about CRCs and Checksums is correct?
(a) CRCs are implemented in software
(b) CRCs are implemented in hardware
(c) Checksums are implemented hardware
(d) They are both implemented in software
(e) None of the above
27- Coaxial Ethernet cables are terminated with Terminators at two ends to:
(a) To prevent connection of additional computers to the network
(b) To prevent reflections
(c) To prevent cable length to exceed maximum limit
(d) To prevent collisions
(e) None of the above is true
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
5
28- We know that Class A addresses have 1-126, Class B addresses have 128-191 and Class C addresses have
192-223 in the first Byte of the address field.
Assume that there were a Class “D” address.
Also assume that
Class D address is determined in the following way: The first three bits of the first byte of the address is always 1
and the fourth bit is always 0.
Assume also that there were a Class “E” address.
Assume that class E addresses
are determined in the following way: : The first four bits of the first byte of the address is always 1 and the fifth bit is
always 0. What would be the range of values in the first Byte of
class E addresses.
(a) 252-255
(b) 224-254
(c) 224-240
(d) 239-255
(e) None of the above
29- The purpose of the TTL field in the IP header is:
(a) To measure the Time To Live for IP packets in seconds
(b) To limit the lifetime of a packet in seconds
(c) To let the receiving host determine how many hops packet made
(d) To prevent packets getting into endless routing loops
(e) None of the above
THE FOLLOWING QUESTIONS ARE NARRATIVE QUESTIONS.
GIVE THE ANSWERS IN WRITTEN FORM
30- A router receives a packet. It examines the packet header and finds the destination IP address in
binary as
follows:
10100111
10010001
11000001
01100001.
The router uses /25 as subnet mask. What is the Network
ID, Subnet ID and AHID values? Give the answer in decimal form.
31- A host computer “X” with IP address 200.180.150.119/26 can't communicate with another host “Y”
with IP
address 200.180.150.128/26. What
is the problem? Explain.
32- You are given the IP address 190.190.0.0. You have to connect Clear Lake headquarters to
16 branch offices
starting with: Dickinson, Galveston and Alvin. There are more offices whose names are not needed here. Assign the
first subnet to Headquarters and others to three cities listed above. Determine the subnet mask and fill out the first
four rows of the following table:
City
Subnet
Number
Address of the first
computer in this subnet
Address of the last
computer in this
subnet
Subnetwork Address
Broadcast Address
You can Use the back side of this page for your computations that you need to show
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
6
ANSWERS:
1 A, 2 D, 3 C, 4 C, 5 B, 6 D, 7 C, 8 E, 9 B, 10 B, 11 A, 12 A, 13 A, 14 C, 15 B, 16 E, 17 D, 18 D, 19 E, 20 B, 21 A, 22
A, 23 B, 24 B, 25 A, 26 B, 27 B, 28 E, 29 D
30
Network ID : 167.145
Subnet ID :
193.0
AHID :
0.97
31
Because both are in different subnets, they need router in between them to communicate.
32
City
Subnet
Number
Address of the first
computer in this
subnet
Address of the last
computer in this
subnet
Subnetwork
Address
Broadcast
Address
Clear
Lake
0
190.190.0.1
190.190.7.254
190.190.0.0
190.190.7.255
Dickinson
1
190.190.8.1
190.190.15.254
190.190.8.0
190.190.15.255
Galveston
2
190.190.16.1
190.190.23.254
190.190.16.0
190.190.23.255
Alvin
3
190.190.24.1
190.190.31.254
190.190.24.0
190.190.31.255
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
1
EXERCISE
SET
8
1-
Internet Control Message Protocol is used for the following reasons:
(a) Router debugging and host management
(b) Host management and router debugging
(c) Debugging and error reporting
(d) Router management and host debugging
(e) None of the above
2-
Which of the following is a broadcast address?
(a) IP address =
169.254.253.255,
subnet mask = 255.255.0.0
(b) IP address =
169.254.252.255,
subnet mask = 255.255.255.128
(c) IP address =
169.254.192.255,
subnet mask = 255.255.224.0
(d) IP address =
169.254.240.255,
subnet mask = 255.255.240.0
(e) None of the above are broadcast addresses
3-
In an IP packet, the
destination IP address appears as
81 07 96 82 (in hexadecimal format).
This IP address will
have the following dotted decimal value:
(a) 81.07.96.82
(b) 162.14.192.164
(c) 181.107.196.182
(d) 129.7.150.130
(e) None of the above is true
4-
Which one of the following statements about ARP cache
is
wrong
(a) Entries are purged after about 10 minutes of inactivity
(b) A newly booted computer will have no entries in the cache (a blank cache)
(c) Cache table has three columns: IP address, Source MAC address and Destination MAC address
(d) The Windows computer command to look at cache table entries is
“arp –a”
(e) All of the above are true
5-
To which of the following address ranges, a computer with
an IP address of 192.168.100.101/28
can send a
packet directly (i.e. the destination is on the same subnet )?
Select the largest applicable range:
(a)
192.168.100.97 – 192.168.100.110
(b)
192.168.100.102 – 192.168.100.102
(c)
192.168.100.97 – 192.168.100.116
(d)
192.168.100.97 – 192.168.100.126
(e)
None of the above address sets is in the direct range
6- On
serial router links, which one the following is the most economical subnet mask?
(a) 255.255.255.0
(b) 255.255.255.252
(c) 255.255.255.224
(d) 255.255.255.255
(e) 255.255.255.240
7-
A Router
X sends a packet via a serial link to a neighboring router Y.
The packet sent by X has the TTL value
equal to 1.
When packet arrives at Y,
what will Y do?
(a) Discards the packet and send and ICMP message to the source IP
(b) Decrement the TTL value and forward the packet to the next router
(c) Increment the TTL value and forward the packet to the next router
(d) Send a “time exceeded” message to router X
(e) None of the above is correct
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
2
8-
In the following network, how many static routes will be needed for R2?
(a) 4
(b) 5
(c) 2
(d) 3
(e) 6
9-
Which of the following can NOT be used as a mask for a host IP address 169.254.203.255
(a) /18
(b) /19
(c) /20
(d) /21
(e) /22
10- Two computers, PC1 and PC2 are on the same subnet of a small organization.
PC1’s
IP address is
200.200.200.166/29.
Which of the following will be a usable address for PC2?
(a) 200.200.200.160
(b) 200.200.200.171
(c) 200.200.200.158
(d) 200.200.200.167
(e) None of the above
11- What is the maximum number of subnets that can be
used
in a class A network with a
subnet mask
255.255.192.0?
(a) 512
(b) 510
(c) 511
(d) 1024
(e) None of the above
12- The following sequence happens to be the first 26 Bytes that are contained at the beginning of an Ethernet frame
(shown in Hexadecimal format).
4b 2c 33 05 12 fa 4b 2c 33 17 3d b7 08 00 45 00 00 c4 f2 3d 00 00 10 06 2c 39
………….
What is the source Ethernet address in this frame?
(a) 3d b7 08 00 45 00
(b) 4b 2c 33 17 3d b7
(c) 17 3d b7 08 00 45
(d) 4b 2c 33 05 12 fa
(e) None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
3
13- Consider the Bytes contained in the Ethernet frame provided in the previous question.
What is the TTL value
carried in the IP packet header in this frame?
Use the IP Packet Header format given below to determine your
answer.
(a) 6
(b) 8
(c) 12
(d) 16
(e) None of the above
14- Refer to the following figure:
Assume that PCA needs to send a packet to 192.168.3.10. What is the IP address whose MAC address inquires
in its Address Resolution Protocol
message?
(a) 192.168.3.10
(b) 192.168.3.1
(c) 192.168.1.1
(d) 192.168.2.2
(e) 192.168.1.20
15- Which of the following is NOT and ICMP message type?
(a) Echo Request
(b) ARP
(c) Time Exceeded
(d) Destination Unreachable
(e) All of the above are ICMP types
16- Two computers,
A and B are connected to
a subnet
192.168.1.0/27.
Computer “A” has the IP address
192.168.1.11 and
Computer “B” has the IP address 192.168.1.12.
The administrator of computer “B” while
entering subnet mask information types 255.255.255.240 (i.e. /28) by mistake.
Both computers have the same
default gateway assignment, 192.168.1.1.
Keeping the subnet misconfiguration of computer “B” in mind,
which
of the following will be true?
(a) Computer A will have the wrong broadcast address on the subnet
(b) Computer B will have the wrong broadcast address on the subnet
(c) Computer A will have the wrong subnet address
(d) Computer B will have the wrong subnet address
(e) Mistake will have no effect and everything will work fine.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
4
17- Which one of the following is the last usable subnet if
network mask 255.255.255.240 is used with
192.168.100.0?
(a) 192.168.100.128
(b) 192.168.100.16
(c) 192.168.100.224
(d) 129.168.100.192
(e) None of the above
18- Subnetting wastes some address space.
Waste is caused by subnet and broadcast addresses required for each
subnet.
Assume that you have 192.168.1.0 address space.
If you use no subnetting,
192.168.1.0 and
192.168.1.255 are not usable addresses because these addresses designate the network and broadcast
addresses.
This means with NO subnetting wastes 2 addresses (i.e. cannot be used).
Now assume that
you
use
192.1681.0/27.
How many addresses will be wasted in this case?
(a) 16
(b) 8
(c) 4
(d) 32
(e) None of the above
19- Refer to the figure below.
What is the default gateway address for computers X and K?
(a) 192.168.1.65 and 192.168.1.1
(b) 192.168.1.1
and 192.168.1.2
(c) 192.168.1.1 for both computers
(d) 192.168.1.33 for both computers
(e) None of the above
20- Refer the figure in previous question. The first computer “A” uses the first available IP addresses after R1 and R2
IP addresses on 192.168.1.0/27
subnet. Computer “K” uses the last usable IP address on this subnet.
The
IP
addresses for A and K will be as follows:
(a) 192.168.1.2 and 192.168.1.62
(b) 192.168.1.3 and 192.168.1.32
(c) 192.168.1.3 and 192.168.1.30
(d) 192.168.1.2 and 192.168.1.31
(e) None of the above
21- The first 16 Bytes contained in
Ethernet frame are as follows (in hexadecimal format):
45 3c 12 69 eb 33 33 2d 30 1b 27 fb 08 00 49 00 ………
.
The payload carried by this Ethernet frame is:
(a) ARP Request
(b) IP Packet
(c) ICMP Message
(d) UDP
(e) None of the above
22- Given the IP Address in Binary:
10101001 00100111
10001001 00110010
,
Mask:/29
.
Which the following
is
true?
(a) Net ID: 169.39
Subet ID: 137.32
AHID:
0.18
(b) Net ID: 169.39
Subet ID: 137.0
AHID:
0.50
(c) Net ID: 169.39
Subet ID: 137.16
AHID:
0.34
(d) Net ID: 169.39
Subet ID: 137.48
AHID:
0. 2
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
5
(e) None of the above
23- Given the IP address 100.101.204.112 and subnet mask of /17, which of the following is
true
about subnet ID and
actual host ID?
(a) SID=101.0.0
AHID=0.204.112
(b) SID=101.128.0
AHID=0.76.112
(c) SID=101.160.0
AHID=0.44.112
(d) SID=101.96.0
AHID=0.108.112
(e) None of the above
24- An organization uses a class A address with a mask 255.255.224.0. How many usable address are available in
each subnet?
(a) 2
10
– 2
(b) 2
11
– 2
(c) 2
12
– 2
(d) 2
13
– 2
(e) None of the above
25- Assume that you are told that the IP addresss 169.254.135.188
has the AHID value 7.188. Which of the following
can be used as subnet mask for this IP address?
(a) /20
(b) /19
(c) /18
(d) /17
(e) All of the above
26- Which one of the following
can not
be assigned to a host as an IP address?
(a) 197.198.199.79/29
(b) 197.198.199.96/26
(c) 197.198.199.80/27
(d) 197.198.199.32/26
(e) All of the above are assignable host addresses
27- A computer with IP address 172.30.224.224/19 wants to send a packet to another computer with IP address
172.30.225.225. What should it do?
(a) the destination computer is on the same subnet and it should send it directly
(b) the destination computer is on a different subnet and it should sendit
via the default gateway
(c) the destination computer address is not a legitimate address because it is a subnet address
(d) the destination computer address is not a legitimate address because it is a broadcast address
28- The purpose of the CRC field in the Ethernet header is:
(a) To correct errors in Ethernet frame
(b) To correct errors in Ethernet payload
(c) To correct errors in IP
packet
(d) To detect errors in IP header
(e) None of the above
29- You need to subnet a network segment. How many subnetworks and hosts are available per subnet if you appy a
/18 mask to the 120.0.0.0 network?
(a) 8192 subnets and 8190 hosts
(b) 1024 subnets and 16382 hosts
(c) 16382 subnets and 4094 hosts
(d) 4094 subnets and 8190 hosts
(e) None of the above
30-
Which of TCP/IP Architecture layers are implemented in Hardware and which in software?
(a) 1 HW,
2,3,4 SW
(b) 1, 2 HW,
3,4 SW
(c) All SW
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
6
(d) None of the above is true
THE FOLLOWING QUESTIONS ARE NARRATIVE QUESTIONS.
GIVE YOUR ANSWERS IN WRITTEN FORM IN
THE SPACE PROVIDED UNDER THE QUESTIONS
31- In the following network,
PCA sends an IP packet to PCB
.
TTL value at PCA is set to 8
.
MAC addresses
are
as follows(in hexadecimal format):
PCA: aaaa.aaaa.aaaa,
R1-E0: 1010.1010.1010,
R1-E1: 1111.1111.1111,
R2:E0: 2020.2020.2020,
R2-E1: 2121.2121.2121,
PCB: bbbb.bbbb.bbbb.
Determine the number of hops this packet makes.
Then fill out the forms provided under the figure for
every hop the packet makes. You may not need all the forms shown below.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
7
32- You are given the IP address 197.198.199.0. You have to connect Clear Lake headquarters to
branch offices
shown in the network diagram below.
You will assume that all 0 and all 1 subnets are NOT usable
.
Also assume that you have
192.168.1.0
address available to be used
for serial links
in the most
economical
way.
The subnet mask you need to use for each City subnet is: ________________________
The subnet mask you need to use for T1
(serial)
links is: ________________________
FILL
OUT THE FOLLOWING TABLE:
CITY
Address of
1st host
Address of last host
Default Gateway
Subnet Address
Broadcast Address
C. Lake
L. City
Alvin
F. Wood
Pasadena
Assign IP addresses to serial links (T1 Lines) in the topology above
and fill out the table below.
Show the
subnet masks in “/” notation along with IP addresses.
R
‐
CL to R
‐
LC T1 Link
=>
R
‐
CL S1 IP Address:
R
‐
LC S0 IP Address:
R
‐
LC to R
‐
AL T1 Link
=>
R
‐
LC S1 IP Address:
R
‐
AL S0 IP Address:
R
‐
AL to R
‐
FW T1 Link =>
R
‐
AL S1 IP Address:
R
‐
FW S0 IP Address:
R
‐
FW to R
‐
PA T1 Link =>
R
‐
FW S1 IP Address:
R
‐
PA S0 IP Address:
R
‐
PA to R
‐
CL T1 Link
=>
R
‐
PA S1 IP Address:
R
‐
CL S0 IP Address:
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
8
ANSWERS
1c, 2b, 3d, 4c, 5a, 6b, 7a, 8a, 9e, 10e, 11d, 12b, 13d, 14c, 15b, 16b, 17e, 18a, 19a, 20c, 21b, 22a, 23b, 24d, 25e,
26a, 27a, 28e, 29c, 30a
Question 31:
HOP NUMBER
1
HOP NUMBER
2
Source IP Address
192.168.1.10
Source IP Address
192.168.1.10
Destination IP Address
192.168.3.10
Destination IP Address
192.168.3.10
Souce MAC Address
aaaa.aaaa.aaaa
Souce MAC Address
1111.1111.1111
Destination MAC Address
1010.1010.1010
Destination MAC Address
2020.2020.2020
TTL Value
8
TTL Value
7
HOP NUMBER
3
Source IP Address
192.168.1.10
Destination IP Address
192.168.3.10
Souce MAC Address
2121.2121.2121
Destination MAC Address
bbbb.bbbb.bbbb
TTL Value
6
Question 32:
City Mask: 255.255.255.224
Serial Link Mask: 255.255.255.252
CITY
Addr. Of 1st Host
Addr.
of last host
Default Gateway
Subnet Addr.
B'Cast
Addr.
C. Lake
197.198.199.33
197.198.199.62
197.198.199.33
197.198.199.32
197.198.199.63
L. City
197.198.199.65
197.198.199.94
197.198.199.65
197.198.199.64
197.198.199.95
Alvin
197.198.199.97
197.198.199.126
197.198.199.97
197.198.199.96
197.198.199.127
F. Wood
197.198.199.129
197.198.199.158
197.198.199.129
197.198.199.128
197.198.199.159
Pasadena
197.198.199.161
197.198.199.190
197.198.199.161
197.198.199.160
197.198.199.191
R
‐
CL to R
‐
LC T1 Link
=>
R
‐
CL S1 IP Address:
192.168.1.1/30
R
‐
LC S0 IP Address:
192.168.1.2/30
R
‐
LC to R
‐
AL T1 Link
=>
R
‐
LC S1 IP Address:
192.168.1.5/30
R
‐
AL S0 IP Address:
192.168.1.6/30
R
‐
AL to R
‐
FW T1 Link =>
R
‐
AL S1 IP Address:
192.168.1.9/30
R
‐
FW S0 IP Address:
192.168.1.10/30
R
‐
FW to R
‐
PA T1 Link =>
R
‐
FW S1 IP Address:
192.168.1.13/30
R
‐
PA S0 IP Address:
192.168.1.14/30
R
‐
PA to R
‐
CL T1 Link
=>
R
‐
PA S1 IP Address:
192.168.1.17/30
R
‐
CL S0 IP Address:
192.168.1.18/30
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
1
EXERCISE
SET
9
1-
Internet Control Message Protocol (ICMP) Type “Time Exceeded” reports the following problem:
(a) Cache time in the arp table has exceeded and the entry will be deleted
(b) Ping reply time has exceeded 1 seconds and the packet will be dropped
(c) Time to live has reached to 0
(d) Destination computer’s expected response time
of 5 seconds has exceeded
(e) None of the above
2-
Which of the following is
NOT
a broadcast address?
(a) IP address =
169.254.175.255,
subnet mask = 255.255.240.0
(b) IP address =
169.254.159.255,
subnet mask = 255.255.224.0
(c) IP address =
169.254.182.255,
subnet mask = 255.255.248.0
(d) IP address =
169.254.195.255,
subnet mask = 255.255.252.0
(e) None of the above are broadcast addresses
3-
In an IP packet, the
destination IP address appears as
ac 07 96 82
(in hexadecimal format).
What class is
this IP address?
(a) Class A
(b) Class B
(c) Class C
(d) This is not a legitimate IP address
4-
Which one of the following is
NOT
a legimate IP address to assign to a host?
(a) 192.168.255.254/27
(b) 172.16.0.255/23
(c) 169.254.256.221/24
(d) 10.11.12.13/16
(e) All of the above are legitimate IP addresses to assign to a host.
5-
To which of the following address ranges, a computer with
an IP address of 192.168.100.101/28
can send a
unicast packet directly (i.e. the destination is on the same subnet )?
Select the largest range applicable
(a)
192.168.100.97 – 192.168.100.110
(b)
192.168.100.102 – 192.168.100.112
(c)
192.168.100.96 – 192.168.100.112
(d)
192.168.100.95 – 192.168.100.112
(e)
None of the above address sets is in the direct range
6- On
serial router links, which one the following is the most economical subnet mask (i.e. the one that wastes the
least amount of address space)?
(a)
/31
(b)
/30
(c)
/29
(d)
/25
(e)
/24
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
2
7-
In the following network, how many static routes will be needed for
R6
? Dashed lines are T1 links and solid lines
are Ethernet networks.
a) 3
b) 4
c) 5
d) 6
e) 7
8-
Which of the following can
NOT
be used as a mask for a host IP address 222.133.134.135
(a) /26
(b) /27
(c) /28
(d) /29
(e) All of the above can be used as mask for the given address
9-
Two computers, PC1 and PC2 are on the same subnet of an
organization.
PC1’s
IP address is
172.16.238.254/21.
Which of the following will be a
usable
address for PC2?
(a) 172.16.239.255/21
(b) 172.16.224.254/21
(c) 172.16.240.255/21
(d) 172.16.233.254/21
(e) None of the above can be used as an address for PC2
10- What is the maximum number of subnets that can be
used
in a class A network with a
subnet mask
255.255.224.0?
(a) 2046
(b) 1022
(c) 510
(d) 1024
(e) None of the above
11- The following sequence happens to be the first 26 Bytes that are contained at the beginning of an Ethernet frame
(shown in Hexadecimal format). What is the manufacturer ID for the destination
Ethernet address in this frame?
4b 2c 33 05 12 fa 4b 2c 33 17 3d b7 08 00 48 00 00 c4 f2 3d 00 00 10 06 2c 39
………….
(a) 4b 2c 33
(b) 05 12 fa
(c) 17 3d b7
(d) 08 00 45
(e) None of the above
R1
e0
R2
s0
s1
e0
R3
e0
R4
s0
s1
e0
s0
s1
T1
T1
T1
R5
e0
R6
s0
s1
e0
T1
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
3
12- Consider the Bytes contained in the Ethernet frame provided in the previous question.
What is the length of the
IP header in this frame?
Use the IP Packet Header format given below to determine your answer. “IHL” means IP
Header Length.
(a) 20 Bytes
(b) 30 Bytes
(c) 40 Bytes
(d) 64 Bytes
(e) None of the above
13- Refer to the following figure:
Assume that PC with IP address 192.168.1.10
sends
a packet to 192.168.3.10.
What is the destination IP
address in this packet and what is the destination MAC address of the frame that encapsulates this packet?
(a) 192.168.3.10, ac.ab.aa.a9.a8.a7
(b) 192.168.3.1, ac.ab.aa.a9.a8.a7
(c) 192.168.1.1, a6.a5.a4.a3.a2.a1
(d) 192.168.3.10, a5.a6.a7.a8.a9.aa
(e) None of the above
14- The purpose of the Ethernet “Type” field is similar to which of the IP header fields in function?
(a) TTL
(b) ULP
(c) Version
(d) Checksum
(e) Header Length
MAC Addresses: PCA: a1a2.a3.a4.a5.a6
PCB: a0.a2.a4.a6.a8.aa
Houston E0: a6.a5.a4.a3.a2.a1
Dallas E0: a5.a6.a7.a8.a9.aa
PCC: ac.ab.aa.a9.a8.a7
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
4
15- What is the subnet ID for the IP address 172.30.60.90/20?
a) 48.90
b) 32.90
c) 16.90
d)
64.90
e) None of the above
16- What is the largest possible and usable host address ranges for the subnet 169.254.160.0/20?
a) 4096 and 4094
b) 2
13
and
2
13
– 2
c) 2048 and 2046
d) 1024 and 1022
e) None of the above
17- Which one of the following is the last usable subnet if
network mask /21 is used with 172.16.0.0?
(a) 172.16.192.0
(b) 172.16.224.0
(c) 172.16.240.0
(d) 172.16.252.0
(e) None of the above
18- An Ethernet card receives a frame and computes the CRC and determines that the frame has an error. What
does the card do?
(a) Throws away the frame and does nothing else
(b) Throws away the frame and sends an error message to sending computer
(c) Reports to the network layer IP protocol about
the error in the frame
(d) Sends and ICMP error message to the source
(e) None of the above
19- Refer to the figure below.
Solid lines are Ethernet networks, dashed lines are T1 links. Assume that Routers R1,
R2 and R4 have the first usable address assigned to E0 interfaces and R3 and R5 are assigned the second
usable address to E0 interfaces.
S0 interfaces are assigned the first usable and S1 interfaces are assigned the
second usable addresses in the range. What is the default gateway address for computers
PC2 and PC3?
(a) 192.168.102.1 and 192.168.103.1
(b) 192.168.1.1
and 192.168.2.1
(c) 192.168.1.2
and 192.168.2.2
(d) 192.168.102.2 and 102.168.103.2
(e) None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
5
20- Refer the figure in previous question. Assume that PCs are assigned the first usable address in the range after
the router interface addresses are assigned.
What woud be the IP address for PC1 and PC2?
(a) 192.168.101.2
and 192.168.102.2
(b) 192.168.101.3 and 192.168.102.3
(c) 192.168.101.2 and 192.168.102.3
(d) 192.168.101.3 and 192.168.102.2
(e) None of the above are usable addresses for PC1 and PC2
21- The first 16 Bytes contained in
Ethernet frame and in its IP payload
are as follows (in hexadecimal format):
45 3c 12 69 eb 33 33 2d 30 1b 27 fb 08 00 45 00 00 8a 3b 37 ………
What is the total length of this packet?
(a) 138 Bytes
(b) 8 Bytes
(c) 20 Bytes
(d) 256 Bytes
(e) None of the above
22- Given the IP Address in Binary:
11001001 00100111
10001001 00110010
, and
Subnet
Mask:/28
,
which of the
following
is true?
(a) This is a Class C network with 4 bits in the subnet field
(b) This is a Class B network with 12 bits in the subnet field
(c) This is a Class C network with 5 bits in the subnet field
(d) This is a class A network with 20 bits in the subnet field
(e) None of the above
23- Given the IP address 112.113.114.115 and subnet mask of
/12, which of the following is
true
about subnet ID
and actual host ID?
(a) SID=96.0.0
AHID= 17.114.115
(b) SID=112.0.0
AHID=1.114.115
(c) SID=80.0.0
AHID=33.114.115
(d) SID=64.0.0
AHID=49.114.115
(e) None of the above
24- An organization uses a class B address with a mask 255.255.255.192. How many usable address are available in
each subnet?
(a) 2
10
– 2
(b) 2
11
– 2
(c) 2
12
– 2
(d) 2
13
– 2
(e) None of the above
25- Assume that you are told that the IP addresss 169.254.143.144
has the AHID value 7.144. Which of the following
can be used as subnet mask for this IP address?
(a) /21
(b) /20
(c) /19
(d) /18
(e) None of the above
26- Which one of the following
can
be assigned to a host as an IP address?
(a) 202.201.200.79/28
(b) 202.201.200.79/26
(c) 202.201.200.96/27
(d) 202.201.200.96/28
(e) All of the above are assignable host addresses
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
6
27- A computer with IP address 125.223.224.225/11 wants to send a packet to another computer with IP address
125.224.225.226/11. What should it do?
(a) the destination computer is on the same subnet and it should send it directly
(b) the destination computer is on a different subnet and it should sendit
via the default gateway
(c) the destination computer address is not a legitimate address because it is a subnet address
(d) the destination computer address is not a legitimate address because it is a broadcast address
28- The difference between a “router” and a “node” is:
(a) Routers route packet, nodes route segments
(b) Routers route packets, nodes route frames
(c) Routers operate on Network layer, Nodes operate at data link layer
(d) There is no difference in function
(e) None of the above are true
29- Which of the following acronyms officially designate the Ethernet medium sharing mechanism?
a) LWT/LT
b) CSMA/CD
c) CDMA/CS
d) LT/LBT
e) None of the above
30- You are given the address 120.0.0.0/8.
You have a large
organization with offices in
285 cities.
What subnet
mask will you select?
(a) /15
(b) /16
(c) /17
(d) /18
(e) None of the above
31-
In the previous question, what would be the Subnet Address for
the
last
city in your organization? Remember
that all 0 and all 1 subnets are usable.
(a) 120.142.0.0
(b) 120.143.0.0
(c) 120.255.30.0
(d) 120.255.29.0
(e) None of the above is true
ANSWERS TO MULTIPLE CHOICE QUESTIONS
1c, 2c,
3b,
4c,
5a,
6b,
7d,
8d,
9d,
10e,
11a,
12e, 13e,
14b,
15e,
16a, 17e,
18a,
19a,
20c,
21a,
22a,
23b,
24e,
25a,
26b,
27b,
28d,
29b,
30c,
31e
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
7
THE FOLLOWING QUESTIONS ARE
NARRATIVE QUESTIONS.
GIVE YOUR ANSWERS IN WRITTEN FORM IN
THE SPACE PROVIDED UNDER THE QUESTIONS
32- You are given the IP address 221.222.223.0/24. You have to connect Clear Lake headquarters to
branch
offices shown in the network diagram below.
You will assume that all 0 and all 1 subnets are NOT usable
.
Your first task is to determine the subnet mask used for those cities to be used with the Ethernet networks.
You
need to perform
computations and determine entries for the table given below
The subnet mask you need to use for each City subnet is: ________________________
NOW FILL
OUT THE FOLLOWING TABLE:
CITY
Address of
1st host
Address of last host
Default Gateway
Subnet Address
Broadcast Address
C. Lake
L. City
Alvin
F. Wood
Pasadena
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
8
33- In Question 32, after using five subnets for the Ethernet networks for the given cities,
you will end up with unused
subnet(s).
The last usable subnet space, you will divide into
/30
subnets for your serial links.
The unused
subnet space should be able to accommodate all 5 serial links shown in the network diagram given in Question
32. After your computations, you need to fill out the entries for the table below
Show the IP addresses assigned to T1 links in the table below
R
‐
CL to R
‐
LC T1 Link
=>
R
‐
CL S1 IP Address:
R
‐
LC S0 IP Address:
R
‐
LC to R
‐
AL T1 Link
=>
R
‐
LC S1 IP Address:
R
‐
AL S0 IP Address:
R
‐
AL to R
‐
FW T1 Link =>
R
‐
AL S1 IP Address:
R
‐
FW S0 IP Address:
R
‐
FW to R
‐
PA T1 Link =>
R
‐
FW S1 IP Address:
R
‐
PA S0 IP Address:
R
‐
PA to R
‐
CL T1 Link
=>
R
‐
PA S1 IP Address:
R
‐
CL S0 IP Address:
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
1
of
10
EXERCISE
SET
10
Assume that all 0 and all 1 subnets are usuable unless stated otherwise
1-
What does a computer do after it discovers a new MAC address with an ARP request-response
process?
(a)
It uses it in the destination field of the frame to be sent and does nothing else
(b)
It places the information in the ARP cache and does nothing else
(c)
It gives the information acquired via ARP to IP protocol and does nothing else
(d)
It does
“a” and “b” above
(e)
It does “b” and “c” above
2-
Which of the following
is
a broadcast address?
(a)
IP address =
192.168.192.135,
subnet mask = 255.255.255.240
(b)
IP address =
192.168.192.175,
subnet mask = 255.255.255.224
(c)
IP address =
192.168.192.143,
subnet mask = 255.255.255.240
(d)
IP address =
192.168.192.191,
subnet mask = 255.255.255.128
(e)
None of the above are broadcast addresses
3-
In an IP packet, the destination IP address appears as
e2 b7 9f 82
(in hexadecimal
format).
What class is this IP address?
(a)
Class A
(b)
Class B
(c)
Class C
(d)
None of the above
4-
What is the broadcast address for the third subnet if 200.1.2.0 is subnetted using /28
subnet mask?
a)
200.1.2.63
b)
200.1.2.47
c)
200.1.2.31
d)
200.1.2.79
e)
None of the above
5-
Which one of the following is
a legitimate IP address to assign to a host?
(a)
192.168.255.195/30
(b)
172.16.0.255/24
(c)
169.254.256.127/25
(d)
10.11.12.13/16
(e)
None
of the above is a legitimate IP addresses to assign to a host.
6-
Which of the following is
NOT
a
usable
address?
a)
192.168.1.111/28
b)
192.168.1.112/27
c)
192.168.1.191/25
d)
192.168.1.225/27
7-
You are building a network for the following 7 cities: Clear Lake, Alvin, Pasadena, League
City, Galveston, Dickinson and La Porte. You are given the class C address 210.210.210.0.
You are going to use the unused subnet space for serial links. How many serial links can be
accommodated by the unused subnet space in this design?
.a) 16
b) 8
c) 12
d) 4
e) None of these
8-
Consider the previous question and assume that there are
6 cities
instead of 7. What would
be the broadcast address for the first serial link subnet?
Assume that you are using the
lowest available subnet value in the unused space left over from 6 cities for the first
serial link.
(a)
210.210.210.255
(b)
210.210.210.195
(c)
210.210.210.163
(d)
210.210.210.223
(e)
None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
2
of
10
9-
A class C address if not subnetted will allow 254 usable addresses.
If it is subnetted
with mask /28, how many total usable address will be available in all the subnets together?
a)
240
b)
224
c)
192
d)
248
e)
None of the above
10-
In the network diagram shown below, assume that all R1 and R3 router interfaces have the
first usable address and R2 router interfaces have the second usable address in each range.
Assume that you are trying to place static routes into router R1. As you know from your
experiments, Cisco command for static routes is:
ip
route
<destination
network/subnet address>
<destination subnet mask>
<next hop router address>
Which of the commands given below will accomplish the required task?
.a) Commands 3, 5
b) Commands 1, 7
c) Commands 4, 8
d) Commands 2, 7
11-
Which of the following
can
be used as a mask for the host IP address 169.254.207.255
(a)
/19
(b)
/20
(c)
/21
(d)
/22
(e)
/23
12-
Two computers, PC1 and PC2 are on the same subnet of an organization.
PC1’s IP address is
172.31.182.254/22.
Which of the following will be a
usable
address for PC2?
(a)
172.31.183.1/22
(b)
172.31.183.255/22
(c)
172.31.184.224/22
(d)
172.31.179.254/22
(e)
None of the above can be used as an address for PC2
13-
How many
computers
can be placed on subnet 172.16.248.0/22? Assume that there is only one
router attached to this subnet and that is the default gateway.
(a)
1021
(b)
1022
(c)
1024
(d)
2046
(e)
2048
14-
The following sequence happens to be the first 26 Bytes that are contained at the beginning
of an Ethernet frame (shown in Hexadecimal format). What can you tell about the payload of
this frame?
4b 2c 33 05 12 fa 4b 2c 33 17 3d b7 09 01 48 00 00 c4 f2 3d 00 00 10 06 2c 39
………
PC1
E0
R3
R2
R1
S0
S0
192.168.1.32/30
E0
E0
192.168.1.48/28
192.168.1.16/28
PC3
PC2
E1
192.168.1.0/28
Command
1:
ip route 192.168.1.0
255.255.255.0
192.168.1.16
Command
2:
ip route 192.168.1.32
255.255.255.252
192.168.1.17
Command
3:
ip route 192.168.1.32
255.255.255.252
192.168.1.18
Command
4:
ip route 192.168.1.48
255.255.255.224
192.168.1.17
Command
5:
ip route 192.168.1.48
255.255.255.240
192.168.1.18
Command
6:
ip route 192.168.1.32
255.255.255.240
192.168.1.34
Command
7:
ip route 192.168.1.32
255.255.255.248
192.168.1.16
Command
8:
ip route 192.168.1.48
255.255.255.224
192.168.1.16
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
3
of
10
(a)
The payload is IP packet
(b)
Payload is ICMP message
(c)
Payload is not IP packet
(d)
Payload is UDP
(e)
None of the above
15-
Which one of the following Ethernet frames has an IP packet payload with TTL field set to
15 hops?
Remember that in the IP header, the TTL field is the 9
th
Byte from the beginning
of the packet header.
a)
eb 3c 33 45 d2 f4 4c 27 d3 17 08 00 45 00 48 00 00 c4 f2 3c 0f 00 10 06 2c 36 d3
……
b)
2b 3c 43 45 13 f4 4c 27 d3 17 08 00 08 05 45 00 00 b7 f2 4e 0f 00 0f 06 2d 38 23
………
c)
6d 6c 33 45 12 f4 4c 27 d3 17 08 00 45 00 47 00 00 24 f2 3d 0f 00 10 06 1c 24 3c
………
d)
cb 3c 33 35 12 f4 4c 27 d3 00 08 00 48 00 45 00 00 c4 f2 3d 0f 00 0f 06 2c a9 b3
………
e)
None of the above
16-
In the following network, PCB has just been powered up and it needs to send a packet to
PCC.
After sending this packet, what would the contents of PCB ARP cache be?
(a)
IP Address: 192.168.3.10
MAC Address:
ac.ab.aa.a9.a8.a7
(b)
IP Address: 192.168.1.1
MAC Address:
ac.ab.aa.a9.a8.a7
(c)
IP Address: 192.168.1.1
MAC Address:
a6.a5.a4.a3.a2.a1
(d)
IP Address: 192.168.3.10
MAC Address:
a5.a6.a7.a8.a9.aa
(e)
None of the above
17-
The checksum field of the IP protocol at a PC shows that there is an error. This would mean
that the error is in:
(a)
In the packet header
(b)
In the packet payload
(c)
In the entire packet
(d)
In the entire packet except the checksum field
(e)
None of the above
18-
What is the
subnet ID
for the IP address (in hex form)
ac 1c 9a d7
with subnet mask
255.255.248.0?
a)
152.0
b)
144.0
c)
154.0
d)
160.0
e)
None of the above
19-
Trace route (tracert in Windows) command uses which
of the following protocol features
types and combinations?
(a)
It uses IP TTL field and ICMP protocol Echo, Echo Request and Time Exceeded Types
(b)
It uses ICMP protocol Echo, Echo Request and Time Exceeded Types
(c)
It uses IP protocol ULP field and ICMP Echo and Echo Request Types
(d)
It uses ARP protocol, IP protocol TOS field and all ICMP types
(e)
None of the above
MAC Addresses: PCA: a1a2.a3.a4.a5.a6
PCB: a0.a2.a4.a6.a8.aa
Houston E0: a6.a5.a4.a3.a2.a1
Dallas E0: a5.a6.a7.a8.a9.aa
PCC: ac.ab.aa.a9.a8.a7
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
4
of
10
20-
IP header length field in an IP packet is 4 bits long. This means that the largest possible
IP header length is the following:
a)
20 Bytes
b)
30 Bytes
c)
40 Bytes
d)
60 Bytes
e)
None of the above
21-
ICMP is one of the important payloads that can be carried by the IP protocol.
When the
payload of a packet is ICMP, the ULP (upper layer protocol) field of the packet header will
have the following decimal value:
a)
0800
b)
20
c)
1
d)
6
e)
None of the above
22-
You are designing a network to accommodate 38 cities. You are given 172.22.0.0/16 class B
address.
What would be the subnet address of the last city? Note that all 0 subnet is
usable.
a)
172.22.38.0
b)
172.22.37.0
c)
172.22.148.0
d)
172.22.252.0
e)
None of the above
23-
What is the approximate value of the number
2
37
?
a)
64 million
b)
128 million
c)
32 billion
d)
256 million
e)
None of the above
24-
Given the IP address 99.113.114.115 and subnet mask of /12, which of the following is
true
about subnet ID and actual host ID?
(a)
SID=96.0.0
AHID= 17.114.115
(b)
SID=112.0.0
AHID=1.114.115
(c)
SID=80.0.0
AHID=33.114.115
(d)
SID=64.0.0
AHID=49.114.115
(e)
None of the above
25-
An organization uses a class B address with a mask 255.255.255.192. How many usable address
are there in each subnet?
(a)
2
10
– 2
(b)
2
11
– 2
(c)
2
12
– 2
(d)
2
13
– 2
(e)
None of the above
26-
Which of the following computers is
NOT
in the same subnet as 172.29.237.254/23?
a)
172.29.237.1
b)
172.29.236.254
c)
172.29.236.1
d)
172.29.238.1
e)
All of the above are in the same subnet with 172.29.237.254/23
27-
What is the reason for using “terminator” taps on coaxial Ethernet networks?
a)
To increase the speed of Ethernet
b)
To increase the length of coverage of Ethernet
c)
To eliminate reflections also known as electrical echo
d)
To reinforce reflections
e)
None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
5
of
10
28-
Which one of the following is
NOT
a subnet address?
a)
172.25.248.0/23
b)
172.25.248.0/22
c)
172.25.248.0/21
d)
172.25.248.0/20
e)
All of the above are subnet addresses
29-
Which of the following is
NOT
a transport layer protocol in TCP/IP model?
a)
TCP
b)
UDP
c)
ARP
d)
All of the above are transport layer protocols
30-
Assume that the Hyperterminal software in a PC communicates with a Cisco router using the
console port and also using odd parity bit method.
Assume that PC needs to send the two
Bytes of data;
10011110
and 11101100. Assume that the rightmost bits are sent first and
the parity bit is appended after the leftmost bit in the binary bit sequences given.
Which
one of the following would be the sent messages (i.e. parity bit and data combinations)?
a)
010011110
and
011101100
b)
110011110
and
111101100
c)
100111100
and
111011000
d)
100111101
and
111011001
e)
None of the above
31-
The following binary number is the MAC address of an Ethernet network interface car (NIC):
10011100 01001100 10100001 10000001 11001101 10111100
What is the manufacturer ID of this card in hexadecimal?
a)
9c 4c a1
b)
81 cd bc
c)
9c 4c a1 81
d)
81 cd
e)
None of the above
32-
You are given the address 100.0.0.0/8.
You have a very large organization with offices in
893 cities.
What subnet mask will you select?
(a)
/16
(b)
/17
(c)
/18
(d)
/19
(e)
None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
6
of
10
33-
You are given the IP address 200.1.2.0/24.
You will build the network shown in the figure
below.
You are also told that all 0 and all 1 subnets are NOT usable.
Your first task is to
determine the subnet mask to be used in your design.
Subsequently, you are required to
fill the entries in the table given below for the first five cities in your design.
ANSWER: We need a subnet mask of /28. It will result in the following entries:
CITY
Address of
1st host
Address of last host
Default Gateway
Subnet Address
Broadcast Address
C. Lake
200.1.2.17
200.1.2.30
200.1.2.17
200.1.2.16
200.1.2.31
L. City
200.1.2. 33
200.1.2. 46
200.1.2. 33
200.1.2. 32
200.1.2. 47
Alvin
200.1.2. 49
200.1.2. 62
200.1.2. 49
200.1.2. 48
200.1.2. 63
La Porte
200.1.2. 65
200.1.2. 78
200.1.2. 65
200.1.2. 64
200.1.2. 79
Dickinson
200.1.2. 81
200.1.2. 94
200.1.2. 81
200.1.2. 80
200.1.2. 95
T1
Line
PC-Last
Clear Lake Subnet
R-CL
S1
E0
PC-First
PC-Last
League City Subnet
R-LC
S0
E0
PC-First
PC-Last
Alvin Subnet
R-AL
S0
E0
PC-First
PC-Last
Pasadena Subnet
R-PA
S0
E0
PC-First
PC-Last
Friendswood
Subnet
R-FW
S0
E0
PC-First
S0
S1
S1
S1
S1
T1
Line
T1
Line
T1
Line
T1
Line
PC-Last
Santa Fe Subnet
S0
E0
PC-First
PC-Last
Seabrook Subnet
R-SB
S0
E0
PC-First
S1
S1
PC-Last
La Porte Subnet
R-LP
S0
E0
PC-First
PC-Last
Dickinson
Subnet
R-DI
S0
E0
PC-First
S1
S1
T1
Line
R-SF
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
7
of
10
34-
This question is a follow up to Question previous question. In this question you need to
allocate addresses to the serial links for the network shown in previous question. For the
serial links you are required to use the most economical mask. The unused subnets in
previous question will be further subnetted to accommodate the serial links.
You are asked
to use the addresses closest to 200.1.2.255. That means you need to start assigning
addresses from the higher end of your address space for the serial links.
Your task is to
show the serial link address to be used for the first five cities in the table given below.
R-CL to R-LC T1 Link
=>
R-CL S1 IP Address:
200.1.2.249/30
R-LC S0 IP Address:200.1.2.250/30
R-LC to R-AL T1 Link
=>
R-LC S1 IP Address: 200.1.2.245/30
R-AL S0 IP Address:
200.1.2.246/30
R-AL to R-LP T1 Link =>
R-AL S1 IP Address:
200.1.2.241/30
R-LP S0 IP Address:
200.1.2.242/30
R-LP to R-DI T1 Link =>
R-LP S1 IP Address:
200.1.2.237/30
R-DI S0 IP Address:
200.1.2.238/30
R-DI to R-SB T1 Link
=>
R-DI S1 IP Address: 200.1.2.233/30
R-SB S0 IP Address: 200.1.2.234/30
ANSWER: If we start to use the address space from the higher end and allocate /30 subnets, we
will have the following (only the first 12 are shown) subnets:
200.1.2.252/30
200.1.2.248/30
200.1.2.244/30
200.1.2.240/30
200.1.2.236/30
200.1.2.232/30
200.1.2.228/30
200.1.2.224/30
200.1.2.220/30
200.1.2.216/30
200.1.2.212/30
200.1.2.208/30
.
.
.
.
.
However, since all zero and all one subnets are not allowed, we cannot use 200.1.2.252/30
because for this subnet, the SID value will be all ones. Consequently, we need to start with
200.1.2.248/30 and go downwards assigning the addresses to serial links.
For the serial link
with the subnet address 200.1.2.248/30, the usable addresses will be 200.1.2.249 and
200.1.2.250. These are the addresses that will be assigned to the interfaces. Others are done
in a similar way.
The table above shows the answers for the asked serial links.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
8
of
10
ANSWERS
ANSWER 1: After discovering the destination computer’s MAC address via ARP request-response
process,
the source computer uses it to send the packet that it couldn’t send earlier by
encapsulating into a frame with the source and known destination MAC addresses. The computer
also makes a record of the learned MAC address in the ARP Cache.
Correct answer is “d”.
ANSWER 2: For an address to be a broadcast address, all AHID bits must be set to “1” in
binary. After testing each answer for this requirement using the giving mask and determining
the AHID bits and if they are all set to 1, correct answer can be found as “c”.
ANSWER 3: converting hexadecimal number “e2” to binary yields:
11100010.
Since the leftmost
three bits are 1 the answer will be none of the above because this address is neither Class A
or Class B or Class C (as will be discussed in ISAM 5636, this is called a multicast address).
ANSWER 4: The first three subnets for the given Class C address with the given subnet mask are
the following:
200.1.2.0/28, 200.1.2.16/28, 200.1.2.32/28.
The third subnet, 200.1.2.32/28,
will have the broadcast address of 200.1.2.47.
ANSWER 5: An address is a legitimate address to be assigned to a host if a) its Bytes have
values between 0 and 255, b) it is not a broadcast address, c) it is not a subnet/network
address. Based on those observations, “a” and “b” are broadcast addresses.
“c” is not a
legitimate address because it has value “256” in it.
The correct answer is “d”.
ANSWER 6: 192.168.1.111/28 is NOT a usable address because it is a broadcast address.
ANSWER 7: For 7 cities, the required subnet mask is 255.255.255.224 (or /27).
The subnet
address 210.210.210.224/27 will be the only unused subnet.
This means the address space
210.210.210.224 – 210.210.210.255 (total of 32 possible addresses) should be divided into
smaller subnets (with mask /30) for serial links.
The subnet mask /30 (or 255.255.255.252)
allows 4 possible (and 2 usuable) addresses. This means it is possible to have 8 serial links
in the unused subnet space. 8 serial links will take up 8x4=32 address space which is exactly
the values from 210.210.210.224 through 210.210.210.255.
ANSWER 8: If there are six cities, the 3-bit subnet field for those six cities will be: 000,
001, 010, 011, 100 and 101. This means the sixth city will have the subnet address of:
210.210.210.160/27. The remaining two subnets starting with addresses: 210.210.210.192 and
210.210.210.224 are available together for the serial links.
The first serial link will have
the subnet address:
210.210.210.192/30.
This means the broadcast address for the serial link
is 201.210.210.195.
ANSWER 9: If a class C address is subnetted with mask /28, this will mean that there are 4
bits in the subnet field which will result in 16 subnets.
AHID field also will have 4 bits
allowing 14 usable (16 possible) addresses.
Consequently, the total usable in all subnets
together will be:
16 Subnets X 14 Usable address per subnet = 224.
ANSWER 10:
Router R1 needs two static routes for the networks that it is not directly
attached to. Those two networks are:
192.168.1.32/30 and 192.168.1.48/28.
For both
networks, the next router address will be the E0 interface address of R2 (i.e. 192.168.1.18).
The commands that will accomplish those two static routes are the following:
ip route 192.168.1.32
255.255.255.252
192.168.1.18
ip route 192.168.1.48
255.255.255.240
192.168.1.18
ANSWER 11: If we convert the last two Bytes of 169.254.207.255 to binary, it will be as
follows: 169.254.10001111.11111111.
If subnet masks /20, /21, /22, /23 and /24 are used, this
address will become broadcast address for all these subnets and hence it can NOT be used as a
host address. The only mask that does not make this address a broadcast address is /19 and
there for that is the only mask that can be used.
ANSWER 12: First thing we need to do is to find out the subnet address for PC1.
Converting
the last two Bytes of 172.31.182.254 to binary will yield:
172.31.10110110.11111110. Applying
/22 mask will result in the subnet address (last two Bytes binary) 172.31.10110100.00000000.
For this subnet, the first usable address in the range will be: 172.31.10110100.00000001 and
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
9
of
10
the last usable address in the range will be: 172.31.10110111.11111110.
In dotted decimal,
those numbers will be:
172.31.180.1
and 172.31.183.254 respectively.
The only address that
will fall into this range is 172.31.183.1/22.
ANSWER 13: It should be noted that the word “computers” does not carry the same meaning as
“hosts.”
Host is any device that is attached to the network. Examples for host devices are
computers, and
routers
. 172.16.248.0/22 subnet has 10 bits in its AHID field and consequently,
it will allow for 1022 usable addresses.
However, one of those addresses must be used for the
router and as a result, the usable addresses for the computers after router address allocation
is 1021.
ANSWER 14: When the frame is parsed from left to right, the first six Bytes will be the
destination MAC address (4b 2c 33 05 12 fa), the next six Bytes will be the source MAC address
(4b 2c 33 17 3d b7) and the next two Bytes will be the Type field (09 01). Since the Type
field content is NOT 0800 hexadecimal, we know that this frame is NOT carrying an IP packet.
Since ICMP, UDP cannot be payloads for a frame (they are packet payloads), the answer should
be “Payload is not an IP Packet” selection.
ANSWER 15: To answer this question, we need to be familiar with the format of Ethernet frame
and IP Packet.
Ethernet frame header, which is 14 Bytes long,
consists of 6 Bytes of
Destination MAC address field, 6 Bytes of Source MAC address field and 2 Bytes of Type field.
IP Packet Header format is shown in the figure below. Time to Live (TTL) field is the 9
th
Byte
from the beginning of the IP Packet or it is
9 + 14 = 23th Byte from the beginning of the
Ethernet frame.
Selection “d” above has the 23th Byte set to “0f” hexadecimal which would be
15 in decimal and hence the correct answer.
ANSWER 16: It should be remembered that when the destination host is on the same network as
the source host, ARP operation seeks to find out the MAC address of the destination host.
However, if the destination host is on a different subnet or on a different network, then ARP
operation will return the MAC address for the default gateway.
In this example, source and
destination computers are on different networks and hence, PCB will do an ARP operation to
find out the MAC address of Houston Router which happens to be PCB’s default gateway.
Consequently, after ARP operation is completed, in the ARP Cache, there will be an entry for
the IP address and the MAC address of the Houston Router Ethernet interface, i.e. IP Address:
192.168.1.1, MAC Address:
a6.a5.a4.a3.a2.a1
ANSWER 17: Checksum field in IP header is used to detect errors on IP header only. It will not
detect errors in the payload field.
ANSWER 18: First task is to convert this address into binary. This will yield:
10101100.00011100.10011010.11010111 (and in decimal 172.28.154.215). Applying the subnet mask
255.255.248.0 or /21 to the binary IP address will yield: 10101100.00011100.10011000.00000000
or in decimal: 172.28.152.0. This means the subnet ID for the given IP address is 152.0.
ANSWER 19: Traceroute program sends ICMP Echo Request Messages to the destination computer in
a packet whose TTL field is incremented by 1 in every new packet sent until the packet reaches
the destination computer. Packets which cannot reach the destination computer because of
insufficient TTL setting will be destroyed by intervening routers and those routers will send
ICMP time exceeded messages to the source computer indicating insufficient TTL setting
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
10
of
10
problem. Consequently, tracroute (tracert in Windows computers) uses IP TTL field, ICMP Echo
Request and ICMP Echo Response messages for its implementation.
ANSWER 20: The largest possible number in 4 bits is 1111 binary which is 15 decimal. Since IP
header is measured in WORDS (1 WORD=4 Bytes), this would mean that the largest header length
in IP packet can be 4 X 15 or 60 Bytes.
ANSWER 21: The important ULP field values to remember are 1, 6 and 17 (Decimal values).
ULP=1
means the IP Payload is ICMP, 6 means it is TCP and 17 means it is UDP.
ANSWER 22: In order to accommodate 38 cities, we need 6 bits in the subnet field.
6 bits will
have permutations varying from
000000 to 111111. The first city will have the value 000000,
the second city will have the value 000001 and so on. The 38
th
city will have the binary value
100101.
The subnet address for this city will be
172.22.1001010
00.00000000 or in decimal it
will be 172.22.148.0.
ANSWER 23:
2
37
can be written as
2
10
2
10
2
10
2
7
which would yield an approximate value of 128
billion. Therefore the answer is None of the above.
ANSWER 24: In determining the SID and AHID the first step is to convert the IP address into
binary.
In particular, HID (Host ID) part of the address need to be converted into binary
because this is the part that is divided into SID and AHID components.
Since this is a Class
A address, we need to focus on the last three Bytes of the address and that needs to be
converted to binary:
99.01110001.01110010.01110011. We can determine the subnet ID by
performing an AND operation of IP address with the subnet mask.
However, since we know that
the subnet mask is /12 or it covers the first 12 bits, we can take the IP address in binary
and make all the bits starting with bit 13 through bit 32 to 0.
The result will be:
99.01110000.00000000.00000000.
This would give us the subnet ID of 112.0.0 in decimal.
We
can determine AHID by subtracting 112.0.0
from 113.114.115 which would yield 1.114.115.
ANSWER 25: The given mask, /25, leaves 7 bits for AHID field. Consequently, there will be
2
7
–
2 or 126 addresses in every subnet.
Therefore the answer is “None of the above.”
ANSWER 26: After converting 172.29.237.254 to binary (172.29.11101101.11111110) and performing
a logical AND operation with the mask /23, it can be determined that the subnet address for
the given IP address is: 172.29.1110110.00000000 or 172.29.236.0. The usable addresses in this
subnet will be from 172.29.11100110.00000001 to 172.29.11100111.11111110 or from 172.29.236.1
to 172.29.237.254. The only given address choice that is NOT in this range is 172.29.238.1.
ANSWER 27: Terminator taps are used to eliminate reflection that would otherwise occur at the
end of the coaxial cable.
ANSWER 28: Converting 172.25.248.0 to binary in the last two Bytes yields:
172.25.11111000.00000000. We know that a subnet address will have all AHID bit set to zero in
binary.
If we apply /20 mask to the address above, the AHID field will have the value
1000.00000000 which would make this address a non-subnet address. All the others will yield
all zero AHID field values.
ANSWER 29: ARP (Address Resolution Protocol) is a protocol that operates in Network Layer and
hence it is NOT a transport layer protocol.
ANSWER 30: Odd parity means a bit is appended at the end of the bit sequence in such a way
that the total number of ones in the nine-bit sequence is an odd number. Therefore, the first
bit sequence needs to be appended with a 0 and the second bit sequence is also need to be
appended with a zero. The correct answer will be: 010011110
and
011101100
ANSWER 31: The manufacturer ID of an Ethernet card is the first three Bytes of the card’s
Ethernet (MAC) address. After converting the given binary sequence to hexadecimal, the answer
can be found as 9c 4c a1.
ANSWER 32: To accommodate 893 cities, we need 10 bits which will give 1024 possible subnet ID
choices (all zero and all 1 subnets are allowed).
Consequently, this will make the subnet
mask /18.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
1
of
9
EXERCISE
SET
11
You need to assume that
all
0
and
all
1
subnets
are
USABLE
unless otherwise stated
1-
Which of the following is
NOT
a broadcast address?
(a)
IP address =
166.167.255.255,
subnet mask = 255.255.0.0
(b)
IP address = 166.167.251.255,
subnet mask = 255.255.255.0
(c)
IP address = 166.167.191.255,
subnet mask = 255.255.224.0
(d)
IP address = 166.167.252.255,
subnet mask = 255.255.240.0
(e)
IP address = 166.167.207.255,
subnet mask = 255.255.240.0
2-
A computer with
an IP address 200.200.39.187 and a mask of 255.255.255.224
wants
to send a packet to another computer with the IP address 200.200.39.194.
Should
it send it directly or should it send it to the default gateway?
a)
Send directly
b)
Send it to the default gateway
c)
Destination address is a broadcast address, can’t be sent
d)
Destination address is a subnet address, can’t be sent
3-
Which of the following can
NOT
be used as a mask for a host IP address
200.200.200.80
(a)
/25
(b)
/26
(c)
/27
(d)
/28
(e)
All of the above can be used as a mask for the given address
4-
Two computers, PC1 and PC2 are on the same subnet of a small organization. PC1’s
IP address is 193.194.200.164/28.
Which of the following will be a usable address
for PC2?
(a)
193.194.200.160
(b)
193.194.200.191
(c)
193.194.200.158
(d)
193.194.200.190
(e)
None of the above is a usable address for PC2
5-
In which of the following case there is
NO
subnetting ?
(a)
IP address = 126.127.128.129
subnet mask = 255.255.0.0
(b)
IP address = 191.190.189.188
subnet mask = 255.255.255.0
(c)
IP address = 223.222.221.220
subnet mask = 255.255.255.0
(d)
IP address = 20.200.200.200,
subnet mask = 255.255.255.0
6-
In an IP packet, the header length and total length fields have the following
binary values respectively:
1001 and 00000001 10000100.
Which of the following
is true?
(a)
Header is 9 Bytes and Packet is 644 Bytes
(b)
Header is 20 Bytes and Packet is 388 Bytes
(c)
Header is 20
Bytes and Packet is 644 Bytes
(d)
Header is 36
Bytes and Packet is 644 Bytes
(e)
None of the above is true
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
2
of
9
7-
A company has two Ethernet networks connected with an internal router R2.
The
organization connects to the Internet via Houston node. On 192.168.1.0/27 network
computer A has the MAC address aaaa.aaaa.aaaa, B has bbbb.bbbb.bbbb and so on.
R1
has the MAC address 1111.1111.1111 and R2 has the MAC address 2222.2222.2222. R1
has the first IP address in the subnet, R2 has the next IP address in the subnet,
A has the last IP address in the subnet,
B has the
IP address one less than A
in the subnet and so on.
Computer B needs to send a packet to an IP address
200.201.202.203.
What would
the source and destination IP and MAC addresses be?
(a)
Source: bbbb.bbbb.bbbb, 192.168.1.29, Destination: 2222.2222.2222,
192.168.1.2
(b)
Source: bbbb.bbbb.bbbb, 192.168.1.30, Destination: 2222.2222.2222,
192.168.1.1
(c)
Source: bbbb.bbbb.bbbb, 192.168.1.29, Destination: 1111.1111.1111,
200.201.202.203
(d)
Source: bbbb.bbbb.bbbb, 192.168.1.30, Destination: 1111.1111.1111,
200.201.202.203
(e)
none of the above
8-
In the following network, how many static routes will be needed for
R5
? Dashed lines are T1 links and solid
lines are Ethernet networks.
a) 3
b) 4
c) 5
d) 6
e) 7
9-
There is a computer with an IP address 200.201.202.173 and a mask of
255.255.255.224. To which of the following address ranges (pick the largest
applicable range) can this computer send a packet directly (i.e. the destination
is on the same subnet ):
a) 200.201.202.164 -
200.201.202.190
b)
200.201.202.161 – 200.201.202.179
c)
200.201.202.162 – 200.201.202.192
d)
200.201.202.165 -
200.201.202.200
e)
none of the above ranges is applicable
R1
fa0/0
R2
s0
s1
fa0/0
R3
fa0/0
R4
s0
s1
fa0/0
s0
s1
T1
T1
T1
R5
fa0/0
s0
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
3
of
9
10-
Assume that you are told that the IP address 192.192.192.157 has the AHID value
13.
Which of the following would be the correct subnet mask for this IP?
(a) 255.255.255.192
(b) 255.255.255.224
(c) 255.255.255.240
(d) 255.255.255.248
(e) None of the above
11-
Your network uses the class B address 169.138.0.0. You need to support 396
subnets while accommodating the maximum number of hosts. Which subnet mask would
you use?
a)
255.255.240.0
b)
255.255.248.0
c)
255.255.224.0
d)
255.255.255.0
e)
None of the above
12-
Which one of the following does
NOT
have the same meaning as “Ethernet
Address”?
a)
MAC address
b)
NIC Address
c)
Physical Address
d)
Hardware Address
e)
Global Address
13-
Which one of the following Cisco command sequences is the correct one to configure
telnet access to a Cisco Router?
a)
Router(Config)#
line
vty
0,
4
Router(Config
‐
line)#
enable
secret
howdy
Router(Config
‐
line)#
login
b)
Router(Config)#
telnet
line
4
Router(Config
‐
line)#
enable
password
howdy
Router(Config
‐
line)#
login
c)
Router(Config)#
telnet
0
4
Router(Config
‐
line)#
password
howdy
Router(Config
‐
line)#
login
d)
Router(Config)#
line
vty
0,
4
Router(Config
‐
line)#
password
howdy
Router(Config
‐
line)#
login
e)
Router(Config)#
line
telnet
0,
4
Router(Config
‐
line)#
password
howdy
Router(Config
‐
line)#
login
14-
There are three four bit messages,
1011 , 0110 and 0110.
The first one
is
appended
with an odd parity bit, the second and the third ones are appended with
even parity bits.
What are the values of the parity bits for the first,
second
and the third messages respectively:
(a)
First is
“1”
second
is “0”
third is “0”
(b)
First is
“0”
second
is “1”
third is “1”
(c)
First is
“1”
second
is “1”
third is “1”
(d)
First is
“0”
second
is “0”
“third is 0”
(e)
None of the above is true
15-
Which of the following statements is
WRONG
about Ethernet
(a)
Ethernet Frame has
6-byte source and 6-Byte destination addresses
(b)
Ethernet corrects errors using CRC field which is also called FCS field.
(c)
Ethernet is
a type of
LAN
(d)
Ethernet allows sharing of the communication medium
(e)
Ethernet is the first LAN invented
16-
An organization is assigned the IP address 190.192.0.0.
This organization has
a headquarters location and 12 branch locations.
Headquarters is assigned the
first usable subnet ID.
What is the broadcast address of the second branch
location (Assuming the first subnet is assigned to the headquarters’)?
(a)
190.192.47.255
(b)
190.192.31.255
(c)
190.192.2.255
(d)
190.192.3.255
(e)
None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
4
of
9
17-
In an IP packet, the destination IP address appears as
e2 b7 9f 82
(in hexadecimal
format).
What class is this IP address?
(a)
Class A
(b)
Class B
(c)
Class C
(d)
A subnetted address
(e)
None of the above
18-
As you know, a class C address when not subnetted will allow 254 usable addresses.
If a
Class C address is subnetted with mask /28, how many total
usable
addresses will be
available in all the subnets together?
a)
240
b)
224
c)
192
d)
248
e)
None of the above
19-
Which one of the following is
NOT
a subnet address?
(a)
200.201.202.96 with subnet mask 255.255.255.224
(b)
200.201.202.96 with subnet mask 255.255.255.192
(c)
200.201.202.64 with subnet mask 255.255.255.192
(d)
200.201.202.64 with subnet mask 255.255.255.224
(e)
All of the above are legitimate subnet addresses
20-
In a Cisco router Flash memory holds:
(a)
Configuration information
(b)
Operating System (IOS)
(c)
Enable and telnet passwords
(d)
BIOS
(e)
Packets
21-
In the network diagram shown below, assume that all R1 and R3 router interfaces have the
first usable address and R2 router interfaces have the second usable address.
Assume that
you are trying to place static routes into router R1. As you know from your class, Cisco
command for static routes is:
ip
route
<destination
network/subnet address>
<destination subnet mask>
<next hop router address>
Which of the commands given below will accomplish the required task?
.
a)
Commands 1,7
b)
Commands 3, 5
c)
Commands 4, 8
d)
Commands 2, 7
PC1
E0
R3
R2
R1
S0
S0
192.168.1.32/30
E0
E0
192.168.1.48/28
192.168.1.16/28
PC3
PC2
E1
192.168.1.0/28
Command
1:
ip route 192.168.1.0
255.255.255.0
192.168.1.16
Command
2:
ip route 192.168.1.32
255.255.255.252
192.168.1.17
Command
3:
ip route 192.168.1.32
255.255.255.252
192.168.1.18
Command
4:
ip route 192.168.1.48
255.255.255.224
192.168.1.17
Command
5:
ip route 192.168.1.48
255.255.255.240
192.168.1.18
Command
6:
ip route 192.168.1.32
255.255.255.240
192.168.1.34
Command
7:
ip route 192.168.1.32
255.255.255.248
192.168.1.16
Command
8:
ip route 192.168.1.48
255.255.255.224
192.168.1.16
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
5
of
9
22-
Given the IP address 143.143.133.133 and subnet mask of 255.255.252.0, which of
the following is
true
about subnet ID and actual host ID?
(a)
SID=128.0
AHID=5.133
(b)
SID=132.0
AHID=1.133
(c)
SID=130.0
AHID=3.133
(d)
SID=133.0
AHID=0.133
(e)
None of the above
23-
Which of the following
CAN
be used as a mask for the host IP address 172.16.207.255
(a)
/19
(b)
/20
(c)
/21
(d)
/22
(e)
/23
24-
Two computers, PC1 and PC2 are on the same subnet of an organization.
PC1’s IP address is
172.31.182.254/22.
Which of the following will be a
usable
address for PC2?
(a)
172.31.183.1/22
(b)
172.31.183.255/22
(c)
172.31.184.224/22
(d)
172.31.179.254/22
(e)
None of the above can be used as an address for PC2
25-
The checksum field of the IP protocol at a PC shows that there is an error. This would mean
that the error is in:
(a)
In the packet header
(b)
In the packet payload
(c)
In the entire packet
(d)
In the entire packet except the checksum field
(e)
None of the above
26-
What is the
subnet ID
for the IP address (in hex form)
a1 ac 9a d7
with subnet mask
255.255.248.0?
a)
152.0
b)
144.0
c)
154.0
d)
160.0
e)
None of the above
27-
IP header length field in an IP packet is 4 bits long. This means that the largest possible
IP header length is the following:
a)
20 Bytes
b)
30 Bytes
c)
40 Bytes
d)
60 Bytes
e)
None of the above
28-
What is the approximate value of the number
2
36
?
a)
96 million
b)
128 million
c)
32 billion
d)
64 billion
e)
None of the above
29-
An organization uses a class B address with a mask 255.255.255.128. How many usable address
are there in each subnet?
(a)
2
10
– 2
(b)
2
11
– 2
(c)
2
12
– 2
(d)
2
13
– 2
(e)
None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
6
of
9
30-
The following binary number is the MAC address of an Ethernet network interface car (NIC):
10011100 01001100 10100001 10000001 11001101 10111100
What is the manufacturer ID of this card in hexadecimal?
a)
9c 4c a1 81
b)
9c 4c a1
c)
81 cd bc
d)
9c 4c a1 81 2c
e)
None of the above
31-
Which one of the following is
NOT
a subnet address?
a)
172.25.248.0/23
b)
172.25.248.0/22
c)
172.25.248.0/21
d)
172.25.248.0/20
e)
All of the above are subnet addresses
END
OF
MULTIPLE CHOICE QUESTIONS – NEXT QUESTION IS NARRATIVE
<------------------------------------------------------------------------>
32-
You are given the IP address 196.196.196.0. You have to use this address space
for the following cities: Clear Lake, Dickinson, Galveston
Pearland, League City,
Texas City and Santa Fe.
Assume that all 0 and all 1 subnets are NOT usable.
Determine the subnet mask and fill out the first three rows of the following
table:
City
Subnet
Number
Address of the
first computer
in this subnet
Address of the
last computer
in this subnet
Subnetwork
Address
Broadcast
Address
C. Lake
Dickinson
Galveston
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
7
of
9
Question 1: For an address to be a broadcast address all AHID bit values should be binary 1.
If all the choices are checked for the AHID values, only selection (d) will yield all “1” AHID
value. An easy way to find the AHID value for a given mask is to perform AND operation on the
IP address in binary form and the inverted subnet mask (i.e. all the 1’s in the subnet mask
are made 0s and all the 0s are made 1s).
Question 2: If a logical AND operation is performed on the IP address 200.200.39.187 and /27
subnet mask and the subnet ID is evaluated and then another logical AND operation is performed
on the IP address 200.200.39.194 and /27 mask and the subnet ID is evaluated it can be seen
that the two computers are on different subnets and therefore the packet needs to be sent to
the default gateway. Consequently, the answer is “b”.
Question 3: For an address to be assignable to a host, it must not be a broadcast or subnet
address because these are reserved addresses.
If all the options are checked, it can be seen
that the address 200.200.200.80 is a subnet address with mask /28 and therefore it can NOT be
assigned to a host. The answer is “d”.
Question 4: For any of the given addresses to be assignable to PC2, it must not be a broadcast
or subnet address because these are reserved addresses.
Also PC2 needs to be on the same
subnet as PC1. When the addresses given in the first four choices are examined,
it can be
seen that 193.194.200.160 is the subnet address and the addresses
193.194.200.158,
193.194.200.191 and 190 are on different subnets. Consequently, the answer is “e”.
Question 5: When there is no subnetting, the subnet mask will be /24 for Class C addresses,
/16 for Class B addresses and /24 for Class A addresses.
When all the options are inspected,
it can be seen that there is no subnetting in option “c”.
Question 6: Length field value 1001 means 9 Words or 36 Bytes. Total length value of 00000001
10000100 gives the decimal value of 256+128+4= 388.
When all the choices are examined, it can
be determined that the answer is “e”.
Question 7: Computers A and B are on subnet 192.168.1.0/27.
Computer A has the last usable
address which would be 192.168.1.30 and Computer B has the address before A which is
192.168.1.29. When computer B needs to send a packet to 200.201.202.203 (this is an address
somewhere on the Internet which is reachable via Houston node), it will have to send it to the
default gateway which is R1.
That means the frame going from B to R1 will have the source and
destination MAC addresses as:
bbbb.bbbb.bbbb and 1111.1111.1111.
The packet which is
encapsulated inside this frame will have the source and destination IP addresses as follows:
192.168.1.29 and 200.201.202.203. The answer is “c”.
Question 8: Router R5 will know the existence of the two directly connected Ethernet networks
and it will have to be “told” via static routes about the existence of the remaining 6
networks (3 T1 networks and 3 Ethernet networks).
The answer is “d”.
Question 9: Computer 200.201.202.173/27 is on the subnet 200.201.202.128/27. This subnet will
have the usable address range of 200.201.202.129 – 200.201.202.190.
Among the given choices,
the largest address that falls into this range is “a”.
Question 10: First we need to convert the IP address to binary however, no need to convert the
entire IP address since it is Class C and subnetting takes places in the last Byte. When the
last Byte of 192.192.192.157 is converted to binary,
10011101 will be obtained. Since AHID
value is 13, that means the subnet mask should be dividing this Byte as
1001 and 1101 (13).
Hence the subnet mask is /28 or 255.255.255.248. The answer is “d”.
Question 11: To accommodate 396 subnets in a class B address, we will need 9 bits in the
subnet field. This means the mask should be /25 or 255.255.255.128.
Since this is not given
as a
choice the answer is “e”.
Question 12: Global Address does not mean Ethernet Address. The answer is “e”.
Question 13: Answer is “d”.
Question 14: The parity bit for the first message will be 0 and the parity bit for the
remaining two messages will be 0.
Answer is “d”
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
8
of
9
Question 15: Answer is “b”. Ethernet does NOT correct errors using CRC field. It only detects
them.
Question 16: 190.192.0.0 is a Class B address. The organization has a total of 13 locations.
This means we need 4 bits in the subnet field.
The first location (headquarters) will have
the SID value 0000 binary, the second location will have 0001 in binary and the third location
will have 0010 in binary.
This means the subnet address for the third location will be the
following:
190.192.
0010
0000.00000000
where the last two bytes are written in binary with the
SID bits in red and AHID bits in blue color. As we know, the broadcast address for any subnet
can be obtained by setting all AHID bits to 1s.
This would yield: 190.192.
0010
1111.11111111
If we convert the last two bytes to decimal the answer will be: 190.192.47.255. The answer is
“a”.
Question 17: To determine the class, we need to examine the first three bits of the first Byte
which is e2 in hexadecimal. When converted to binary, this would yield 11100000.
We know that
Class A addresses have always the first bit equal to zero. Class B addresses have the first
bit equal to 1 and second bit equal to zero and Class C addresses have the first two bits
equal to 1 and the third bit equal to zero. Since all three bits are 1 in the given address,
it is neither Class A nor B nor C. The answer is “e”.
Question 18: When a Class C address is subnetted with /28, there will be 4 bits in the subnet
field and this will result in 16 subnets. Each subnet will have 4 bits in the AHID field and
there will be 14 usable addresses in each subnet.
This means there will be a total of
16 x 14 = 224 usable addresses.
Question 19: For an address to be a subnet address, all the AHID bits need to be set to 1. If
all the choices are examined, it can be determined that 200.201.202.96/26 is not a subnet
address.
Question 20: Cisco Router Flash memory is used for holding the operating system (IOS) just as
a hard disk holds the operating system in a computer.
Routers do not use hard disks because
they are not reliable like flash memory.
Question 21: R1 knows the routes for the directly attached networks as default. These networks
are 192.168.1.0/28 and 192.168.1.16/28.
R1 needs to be “told” about the networks
192.168.1.32/30 and 192.168.1.48/28 via static routes. The commands that accomplish this will
be Commands 3 and 5. The answer is “b”.
Question 22: SID and AHID values for the 143.143.133.133/22 will be SID=132.0 and AHID=1.133.
Question 23: The host IP address, when written in binary form in the last two Bytes will be
the following:
172.16.
11001111.11111111
. If the subnet masks /20, /21, /22 or /23 are used,
the resulting addresses will all be broadcast addresses because all AHID bits will be 1 for
those subnet mask choices. With /19 subnet mask, the SID and AHID values will be as follows:
172.16.
110
01111.11111111
where red color shows the SID values and blue color shows the AHID
values. Since not all the AHID bits are 1s, this is a legitimate address. The answer is “a”.
Question 24: 172.31.182.254/22 address when converted to binary in the last two Bytes will
give:
172.31.
10110110.11111110
.
Since the mask is /22, the subnet address for this subnet
will be:
172.31.
101101
00.00000000
where the blue colored bits are SID bits and the red
colored bits are AHID bits.
The first and the last usable addresses for this subnet will be
the following respectively: 172.31.
101101
00.00000001
and 172.31.
101101
11.11111110
.
When
written in decimal form, this would be: 172.31.180.1 and 172.31.183.254. Any address between
those two values will be a usable address for PC2. Hence, the answer is “a”.
Question 25: Since the checksum field in the packet header detects errors in the header only,
the answer is “a”.
Question 26: This address, if written in decimal will be 161.172.154.215 which is a class B
address. If we convert the last two bytes of the this address to binary we will have the
following: 161.172.
10011
010.11010111
where the red part shows the SID bits and blue part the
AHID bits with subnet mask /21. Subnet ID can be found by setting the AHID bits to 0s. This
would yield:
10011
000.00000000.
When converted to decimal, this will yield 152.0. The answer
is “a”.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
9
of
9
Question 27: The largest value that can be expressed in 4 bits is 1111 in binary. This will
give the decimal value of 15. Hence the largest packet header can be 15 Words or 15 x 4 = 60
Bytes.
Question 28:The number 2
36
can be expressed as the
2
10
x 2
10
x2
10
x 2
6
which is approximately
equal to 64 billion.
Question 29: Mask of /25 will give 7 bits in the AHID field. Consequently, the number of
usable addresses is
2
7
– 2. The answer is “e”.
Question 30: The manufacturer ID is the first three bytes of the MAC address. The answer is
“b”.
Question 31: For an address to be a subnet address, all AHID bits must be set to 0s.
If
examined,
it can be seen that 172.25.248.0/20 is NOT a subnet address.
Question 32:
City
Subnet
Number
Address of the
first computer
in this subnet
Address of the
last computer
in this subnet
Subnetwork
Address
Broadcast
Address
C. Lake
16
196.196.196.17
196.196.196.30
196.196.196.16 196.196.196.31
Dickinson
32
196.196.196.33
196.196.196.46
196.196.196.32 196.196.196.47
Galveston
48
196.196.196.49
196.196.196.62
196.196.196.48 196.196.196.63
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
1
of
10
EXERCISE
SET
14
You need to assume that
all
0
and
all
1
subnets
are
USABLE
unless otherwise stated
1-
As you know, a class C address when not subnetted will allow 254 usable addresses.
If a
Class C address is subnetted with mask /29, how many total
usable
addresses will be
available in all the subnets together?
a)
160
b)
224
c)
192
d)
128
e)
None of the above
SOLUTION:
Using /29 mask allows 5 bits in subnet field and 3 bits in AHID field. This
means there will be a total of 2
5
or 32 usable subnets and each subnet will have 2
3
–
2 = 6 usable addresses. The total number of usable in all subnets will be 32 x 6 =
192.
The answer is “c”.
2-
You are given the IP address 129.7.0/0/16.
You have to connect a total of 12
offices in Texas including Houston, Dallas, Austin, Brownsville, El Paso, Corpus
Christi and six more cities.
Assume that all 0 and all 1 subnets are
NOT
usable
(i.e. you are using old style routers). You use the optimal mask for this purpose
(use the same mask for all cities).
You assign the first available subnet ID to
Houston, next one to Dallas, next to Austin, next to Brownsville, next to El Paso,
next to Corpus Christi and so on.
What would be El Paso broadcast address?
(a)
129.7.95.255
(b)
129.7.79.255
(c)
129.7.255.255
(d)
129.7.111.255
(e)
none of the above
SOLUTION:
Since there are 12 locations, we need to use 4 bits in the subnet field.
This would allow a total of 14 subnets (since all 0 and all 1 subnets are NOT
usable). The optimal mask will be /20 or 255.255.240.0.
The subnet addresses for the
first five subnets will be 129.7.16.0, 129.7.32.0, 129.7.48.0, 129.7.64.0 and
129.7.80.0. If we write the third byte of the fifth location (El Paso, 129.7.80.0)
subnet address will be 129.7.01010000.0 (only third byte is written in binary).
To
find the broadcast address we need to make all AHID bits equal to one. This means the
broadcast address will be the following:
129.7.0101
1111
.
255
or in decimal,
129.7.95.255.
The answer is “a”.
3-
Which one of the following is
NOT
a subnet address?
(a)
221.222.223.160 with subnet mask 255.255.255.224
(b)
221.222.223.160 with subnet mask 255.255.255.192
(c)
221.222.223.192 with subnet mask 255.255.255.192
(d)
221.222.223.224 with subnet mask 255.255.255.224
(e)
All of the above are legitimate subnet addresses
SOLUTION:
For an address to be a subnet address, all AHID bits must be set to zero.
We need to test each given choice with the given subnet mask to determine if all AHID
bits are set to 1. You can do this by performing an AND operation between IP address
and subnet mask. When we examine, we will find that 221.222.223.160/25 is NOT a
subnet address because all AHID bits are not set to zero. The answer is “b”.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
2
of
10
4-
Which of the following is
NOT
a broadcast address?
(a)
IP address =
95.223.255.255,
subnet mask = 255.224.0.0
(b)
IP address = 95.143.255.255, subnet mask = 255.224.0.0
(c)
IP address = 95.191.255.255,
subnet mask = 255.192.0.0
(d)
IP address = 95.131.255.255,
subnet mask = 255.252.0.0
(e)
All of the above are broadcast addresses.
SOLUTION:
For an address to be a broadcast address, all subnet bits must be set to 1.
If we test each choice with the given subnet mask (by performing an AND operation
between IP address and the subnet mask) we will find out that 95.143.255.255/11 is
not a broadcast address because all AHID bits are NOT set to 1. The answer is “b”.
5-
A computer with an IP address 129.7.169.187 and a mask of 255.255.248.0 wants to
send a packet to another computer with the IP address 129.7.163.255. Should it
send it directly or should it send it to the default gateway?
a)
Send directly
b)
Send it to the default gateway
c)
Destination address is a broadcast address, can’t be sent
d)
Destination address is a subnet address, can’t be sent
SOLUTION:
To answer this question, we need to determine whether the destination
computer is on the same subnet as the source computer.
This means that we need to
determine the subnet IDs or subnet addresses for two computers.
When subnet
addresses are determined, it will be found that source computer is on 129.7.168.0
subnet whereas the destination computer is on 129.7.160.0 subnet. This means they are
on different subnets and therefore the packet needs to be sent to the default
gateway.
The answer is “b”.
6-
Which of the following can
NOT
be used as a mask for a host IP address
126.135.240.0?
(a)
/19
(b)
/21
(c)
/17
(d)
/15
(e)
All of the above can be used as a mask for the given address
SOLUTION:
The given address is a Class A address.
If we write the last three Bytes
(Host ID part) of the given address in binary, it will be
126.10000111.11110000.00000000.
As we know, a host address cannot have all 1s or all
0s in AHID bits. Of the given choices, only /21 will make all AHID bits equal to 0
and therefore it can NOT be used as a mask with the given address.
The answer is
“b”.
7-
Two computers, PC1 and PC2 are on the same subnet of a small organization. PC1’s
IP address is 221.222.223.182/28.
Which of the following will be a usable address
for PC2?
(a)
221.222.223.183
(b)
221.222.223.184
(c)
221.222.223.185
(d)
221.222.223.186
(e)
All of the above is a usable address for PC2
SOLUTION:
We first need to determine the subnet address for PC1 and then check to see
which of the given addresses are on the same subnet.
221.222.223.182/28 is on
221.222.223.176 subnet. In this subnet the first and the last usable addresses are
221.222.223.175 and 221.222.223.190 respectively. When given choices are examined, it
will be determined that addresses in choices a, b, c and d are all in this subnet and
therefore the answer is “e”.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
3
of
10
8-
In which of the following case there is
NO
subnetting ?
(a)
IP address = 126.127.128.129
subnet mask = 255.255.0.0
(b)
IP address = 191.190.189.188
subnet mask = 255.255.255.0
(c)
IP address = 10.11.12.13
subnet mask = 255.128.0.0
(d)
In each of the above cases there is subnetting.
SOLUTION:
In case (a) it is a class A address with /16 mask and there is subnetting.
In case (b) it is a Class B address with /24 mask and there is subnetting. In case
(c) there is a class A address with /9 mask and there is again subnetting.
Therefore
the answer is (d) that is there is subnetting in each of the given cases.
9-
In an IP packet, the header length field has the following binary value: 0110. Is
there “
options
” field in this packet header?
(a)
Yes, there is “options” field.
(b)
No, there is no “options” field.
(c)
“options” field does not depend on the packet header size.
(d)
“options” field exist only if the packet header field has the
binary value 0101.
(e)
None of the above is true
SOLUTION:
If the header length is 0110 in binary, that means the header is 6 Words
long or 6x4=24 Bytes long. This means there is “options” field. The answer is “a”.
10-
A company has two Ethernet networks connected with an internal router R2.
The
organization connects to the Internet (Houston Node) via R1. On 192.168.1.0/28
network computer A has the MAC address aaaa.aaaa.aaaa, B has bbbb.bbbb.bbbb and so
on.
R1 has the MAC address 1111.1111.1111 and R2 has the MAC address
2222.2222.2222. R1 has the first IP address in the subnet, R2 has the next IP
address in the subnet as shown. Computer “A”s IP address is the one right after
R2’s IP address on this subnet. Computer B’s IP address is the one after A’s.
Computer D has the last IP address and Computer C has the IP address before
computer D. Computer B is sending a packet to 192.168.1.15
What would
destination MAC addresses
be in the Ethernet frame carrying this packet?
(a)
dddd.dddd.dddd.dddd
(b)
cccc.cccc.cccc.cccc
(c)
1111.1111.1111
(d)
2222.2222.2222
(e)
none of the above
SOLUTION:
On 192.168.1.0/28 subnet, the usable addresses are 192.168.1.2 through
192.168.1.14.
192.168.1.15 is the broadcast address for this subnet. This means that
computer B is sending a broadcast packet on this subnet. Broadcast IP packets are
encapsulated into broadcast Ethernet frames. That means the destination Ethernet
address in this frame is ffff.ffff.ffff. Since this is not a choice among given
selections, the answer is “e”.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
4
of
10
11-
Which one of the following is
NOT
a broadcast address?
(a)
IP address = 112.199.190.255,
subnet mask = 255.255.224.0
(b)
IP address = 112.199.255.255,
subnet mask = 255.255.240.0
(c)
IP address = 112.199.207.255,
subnet mask = 255.255.248.0
(d)
IP address = 112.199.251.255,
subnet mask = 255.255.255.0
(e)
All of the above are broadcast addresses
SOLUTION:
To determine whether an address is a broadcast address, we need to check to
see if all AHID bits are set to 1s.
When this test is performed for all the given
selections, it will be seen that the answer is “a”.
12-
Assume that you are told that the IP address 222.222.222.157 has the AHID value
13. Which of the following would be the correct subnet mask for this IP Address?
(a) 255.255.255.192
(b) 255.255.255.224
(c) 255.255.255.240
(d) 255.255.255.248
(e) None of the above
SOLUTION:
Since AHID value is 13, the subnet ID should be 144. That means the subnet
address is 222.222.222.144. If we write the last Byte in binary, it will be 10010000.
We know that in Subnet address all AHID bits are zero. This means AHID field can be
the last four bits or last three bits or last two bits. However, we also know that
AHID value is 13. That means AHID field cannot be 3 bits or 2 bits long. Therefore it
must be 4 bits long.
Subsequently, Subnet field is also 4 bits long. This makes the
subnet mask /28 or 255.255.255.240.
13-
MTU refers to:
(a)
A particular payload type a frame can carry
(b)
Maximum payload size a frame can carry
(c)
Maximum
Frame size
(d)
Minimum Frame size
(e)
To the electronic part of Ethernet card called Media Transmission Unit
SOLUTION:
MTU means maximum transmission unit and it refers to the maximum payload a
link layer protocol/Ethernet frame can carry
14-
Assume that the IP address of a host is 201.201.201.217/28 and it has the AHID
value of 9. Which is the correct subnet address for this host?
(a)
201.201.201.192
(b)
201.201.201.200
(c)
201.201.201.208
(d)
201.201.201.216
(e)
None of the above
SOLUTION:
This question is similar to question 12 above.
Since AHID value is 9, the
Subnet ID can be found by subtracting 9 from 217. This would yield a subnet ID value
of 208. The subnet address will be 201.201.201.208. The answer is “c”.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
5
of
10
15-
In the following network, how many static routes will be needed for
R4
? Dashed
lines are T1 (WAN) links and solid lines are Ethernet networks.
a) 3
b) 4
c) 5
d) 6
e) 2
SOLUTION:
R4 is directly connected to only two networks via its S1 and fa0/0
interfaces and it will know about those networks without static routes. There are 5
networks that R4 is not directly connected and it will need static routes for those
networks to be able to reach them. The answer is 5 or “c”.
16-
An organization is assigned the IP address 172.16.0.0.
This organization
has a headquarters and 9 branch locations.
Headquarters is assigned the first
usable subnet ID.
What is the broadcast address of the last branch location (i.e.
branch location number 9)?
(a)
172.16.159.255
(b)
172.16.175.255
(c)
172.16.127.255
(d)
172.16.145.255
(e)
None of the above
SOLUTION:
This organization has a total of 10 locations. In order to accommodate 10
subnets, we need to have 4 bits in the subnet field which results in a subnet mask of
/20. The headquarters will be assigned the 4-bit value 0000, the first location 0001,
the second location 0010 and so on. The ninth location will have the 4-bit value
1001. If the last two bytes are written in binary, the subnet address for this
location will be 172.16.10010000.00000000.
It should be noted that the last 12 bits,
which are set to zero, are the AHID bits.
The broadcast address can be found by
setting the last 12 bits to 1s.
This would yield: 172.16.10011111.11111111 or in
decimal, 172.16.159.255. The answer is “a”.
17-
A computer has an IP address 129.7.173.211 and a mask of 255.255.248.0. Which
of the following computers can it send a packet directly (i.e. not via the default
gateway)?
(a)
129.7.192.28
(b)
129.7.183.28
(c)
129.7.191.28
(d)
129.7.168.28
(e)
It can send to all of them directly.
SOLUTION:
The first task is to determine the subnet address for this computer. The
standard way of finding the subnet address is to do an AND operation on IP address
and subnet mask.
Or, alternatively,
as a short cut method
, we can proceed as follows
to determine the subnet address: We know that the subnet mask assigns five bits to
the subnet field in the third byte (255.255.
248
.0). This would leave three bits to
AHID field in the third byte and also 8 bits in the fourth byte. Let’s examine how
the third byte behaves with 5bit/3bit allocations to SID and AHID fields.
SID number
starts at 0 (decimal) and advance in blocks of 8s (because of 3 bits in AHID in the
third byte). That means SID numbers will be 0, 8, 16, 24 etc.
If we examine the IP
address, the third byte has the value 173. The closest number that is less than 173
and divisible by 8 is 168. This means the subnet address for this computer should be
129.7.168.0. Note that the next subnet address will be 129.7.176.0. Which means any
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
6
of
10
address which is 176 or larger in the third byte is not on the same subnet. If we
examine the given choices, we will see that only 129.7.168.28 address falls into the
same subnet address range as this computer. Consequently, the answer is “d”.
18-
In a Cisco router NVRAM
memory holds:
(a)
Startup Configuration information
(b)
Startup Operating System (IOS)
(c)
Operational Configuration Information
(d)
Operational Operating System
(e)
User Information and Data
SOLUTION:
In a Cisco router, NVRAM is used to save the startup configuration
information. NVRAM is a non-volatile memory and its contents are preserved when the
power is turned off. As a reminder here, it should also be remembered that flash
memory is used to hold the IOS. RAM is the volatile and operational memory in a
Cisco router. The answer is “a”.
19-
Your network uses the class B address 169.138.0.0. You need to support 396
subnets while accommodating the maximum number of hosts. Which subnet mask would
you use?
a)
255.255.240.0
b)
255.255.248.0
c)
255.255.224.0
d)
255.255.255.0
e)
None of the above
SOLUTION:
In order to support 396 subnets, we need 9 bits in the subnet field. This
means the mask should be 16+9 => /25 or 255.255.255.128.
Since this is not among the
given choices, the answer should be “e”.
20-
Which one of the following does
NOT
have the same meaning as “Ethernet
Address”?
a)
MAC address
b)
NIC Address
c)
Physical Address
d)
Hardware Address
e)
Global Address
SOLUTION:
Other than “Global Address” all of the given choices can be used to mean
Ethernet Address. The answer is “e”.
21-
There are three eight bit messages: 10011011 ,10010110 and 11110111.
The first
one needs to be appended with an odd parity bit, the second and the third ones
appended with even parity bits.
What are the values of the parity bits for the
first,
second and the third messages respectively:
(a)
First is
“0”
second
is “0”
third is “0”
(b)
First is
“0”
second
is “1”
third is “1”
(c)
First is
“1”
second
is “1”
third is “1”
(d)
First is
“0”
second
is “0”
“third is 1”
(e)
None of the above is true
SOLUTION:
The first one needs to be appended with a “0” since there are already 5
ones (an odd number) in the given bit sequence (10011011). The second one needs to be
appended with a 0 since it is even parity and there are already four ones in the bit
sequence given. The third one, which is also even parity, needs to be appended a one
since there are seven ones in the bit sequence. Consequently, we need 0 and 0 and 1
to be appended to these bit sequences. The answer is “d”.
22-
An organization is assigned the IP address 190.192.0.0.
This organization has
a headquarters
location and
30 branch locations
.
Headquarters is assigned the
first usable subnet ID. What is the subnet address of the last branch location?
(a)
190.192.240.0
(b)
190.192.248.0
(c)
190.192.232.0
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
7
of
10
(d)
190.192.224.0
(e)
None of the above
SOLUTION:
This organization has a total of 31 locations including the headquarters.
We need five bits in the subnet field to accommodate 31 locations (all zero and all
one subnet fields are usable as indicated on page 1, at the very beginning of the
questions). The third byte is the byte which holds the subnet field in its leftmost
five bits.
Those bits will assume values as 00000, 00001, 00010 and so on.
When we
assign 00000 to the headquarters, 00001 to the first branch location, 00010 to the
second branch location and so on, the branch location 30 will have 11110 as the five-
bit value. Consequently, for the branch location 30 (the last one) the subnet
address, when the last two bytes are written in binary, will be:
190.192.11110000.00000000 or, 190.192.240.0. The answer is “a”.
23-
In an IP packet, the destination IP address appears as “
a2 b7 9f 82”
the and source address
appears as “
7e a5 f8 78”
(both addresses are in hexadecimal format).
What classes are
these IP address respectively?
(a)
Class A and Class B
(b)
Class A and Class C
(c)
Class B and Class B
(d)
Class B and Class C
(e)
None of the above
SOLUTION:
To determine the class of an address, we need to examine the first three
bits of the first byte. The first address has “a2” in the first byte. When converted
to binary, this would give 10100010 which would make this address Class B. The second
address has “7e’ in the first byte. When converted to binary we will get 01111110.
This address is Class A. Since “Class B and Class A” is not a choice, the answer
should be “e”.
24-
Given the IP address 143.143.133.133 and subnet mask of 255.255.252.0, which of
the following is
true
about subnet ID and actual host ID?
(a)
SID=128.0
AHID=5.133
(b)
SID=132.0
AHID=1.133
(c)
SID=130.0
AHID=3.133
(d)
SID=133.0
AHID=0.133
(e)
None of the above
SOLUTION:
The standard way of finding the subnet ID is to do an AND operation on IP
address and subnet mask. Once Subnet ID is determined, AHID can be determined using
Subnet ID knowledge and Host ID knowledge. However, as an alternate way, using
a
short cut method
, we can proceed as follows to determine the subnet address: We know
that the subnet mask assigns six bits to the subnet field in the third byte
(255.255.
252
.0). Consequently there will be two bits left to the AHID bits in the
third byte. This means the part of the subnet IDs in the third byte will be: 0, 4, 8,
12, 16 etc. We have the value 133 in the third byte of the given address. The closest
number less than 133 which is divisible by 4 is 132. That means that the subnet ID
should be 132.0 and the AHID should be 1.133. The answer is “b”.
25-
Which of the following
CAN
be used as a mask for the host IP address
129.7.207.255
(a)
/19
(b)
/20
(c)
/21
(d)
/22
(e)
/23
SOLUTION:
We know that IP address for a computer cannot have all 0s and all 1s in
AHID field since those are reserved for the subnet address and the broadcast address
respectively.
If we convert the last two bytes of the given address to binary, we
will obtain:
129.7.11001111.11111111. If subnet masks /20, /21 , /22 and /23 are
used with this address, they will result in broadcast addresses. Only /19 subnet mask
will result in an AHID value that is not all 1s. Consequently, the answer is “a”.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
8
of
10
26-
Two computers, PC1 and PC2 are on the same subnet of an organization.
PC1’s IP
address is 172.31.182.254/22.
Which of the following will be a
usable
address for
PC2?
(a)
172.31.183.1/22
(b)
172.31.183.255/22
(c)
172.31.184.224/22
(d)
172.31.179.254/22
(e)
None of the above can be used as an address for PC2
SOLUTION:
PC2 needs to be on the same subnet as PC1. Our first task is to determine
the subnet address for PC1. The standard way of finding the subnet ID is to do an AND
operation on IP address and subnet mask. However, as an alternate way, using
a short
cut method
, we can proceed to determine the subnet ID as follows: We know that the
subnet mask of /22 assigns six bits to the subnet field in the third byte.
Consequently there will be two bits left to the AHID bits in the third byte. This
means the part of the subnet IDs in the third byte will be: 0, 4, 8, 12, 16 etc. We
have the value 183 in the third byte of the given address. The closest number to 183
that is less than 183 that can also be divided by 4 is 180. That means that the
subnet ID should be 180.0 for PC1. This makes the subnet address of PC1 172.31.180.0.
We know that PC2 should be on the same subnet. Note that, the subnet ID that comes
after 180.0 will be 184.0 and the subnet ID before 180.0 will be 176.0. If we examine
the given choices, the only address that is on 172.31.180.0/22 subnet is
172.31.183.1. Choice “b” is the broadcast address and cannot be assigned to a
computer. All the other choices are on different subnets. The answer is “a”.
27-
What is the
subnet address
for the IP address (in hex form)
b2 1c 9a d7
with
subnet mask 255.255.248.0?
a)
178.28.152.0
b)
178.28.144.0
c)
178.28.154.0
d)
178.28.160.0
e)
None of the above
SOLUTION:
PC2 IP address, when converted to dotted decimal, becomes 178.28.154.215.
The standard way of finding the subnet ID is to do an AND operation on IP address and
subnet mask. However, as an alternate way, using
a short cut method
, we can proceed
to determine the subnet ID as follows: We know that the subnet mask of 255.255.248.0
assigns five bits to the subnet field in the third byte. Consequently there will be
three bits left to the AHID bits in the third byte. This means the part of the subnet
IDs in the third byte will be: 0, 8, 16, 24 etc. We have the value 154 in the third
byte of the given address. The closest number to 154 which is less than 154 and that
can be divided by 8 is 152. That means that the subnet ID should be 152.0 for PC1.
This makes the subnet address of PC1 178.28.152.0. The answer is “a”.
28-
An organization uses a class B address with a mask 255.255.255.128. How many
usable addresses are there in each subnet?
(a)
2
10
– 2
(b)
2
11
– 2
(c)
2
12
– 2
(d)
2
13
– 2
(e)
None of the above
SOLUTION:
The given mask is /25 which leaves 7 bits for the AHID bits. That means
there are 2
7
– 2 usable addresses in each subnet. The answer is “e”.
29-
In the “
Upper Layer Protocol
” field (which is also called “
Protocol
” field) of
an IP packet has the binary value 00010001 in it.
What kind of payload is this
packet carrying?
a)
ICMP
b)
UDP
c)
TCP
d)
ARP
e)
None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
9
of
10
SOLUTION:
The given binary number, when converted to decimal yields 17. The ULP
(protocol) number 17 is used for UDP. This means the answer is “b”.
30-
The following hexadecimal number sequence
is the first 38
Bytes of an
Ethernet frame which is carrying an IP packet as payload:
eb 2c 3a 05 f2 fa 4b 2c 3c 1f 3d b7 08 00 45 00 00 c4 f2 3d 00 00 08 06 2c 39 7a 24
d1 33
dc 7a a8 ec 71
ce 3d fa ……………
Using the packet header format shown in the figure below, determine the class of
the
Source IP address
for the packet carried inside the given Ethernet frame.
a)
Class A
b)
Class B
c)
Class C
SOLUTION:
The given sequence is repeated below with Ethernet Header being underlined
and also IP header being divided into four-byte blocks with alternating bold and non-
bold highlights for ease of parsing and field recognition.
eb 2c 3a 05 f2 fa 4b 2c 3c 1f 3d b7 08 00
45 00 00 c4
f2 3d 00 00
08 06 2c 39
7a 24
d1 33
dc 7a a8 ec
71
ce 3d fa ……………
In the given pattern, “45 00 00 c4” is the first four bytes of the IP header. Source
IP address is in the fourth four-byte field of the IP header as shown in the IP
header format. The fourth four-byte field value is “
7a 24 d1 33”
in the given
pattern. This is the source IP address in hexadecimal format. The first three bits of
the first byte of an IP address will tell us what class the IP address is. If we
convert
7a
to binary, we will get 01111010. This would reveal that the address is
Class A. The answer is “a”.
END OF
MULTIPLE CHOICE QUESTIONS – NEXT TWO QUESTIONS ARE NARRATIVE
<-------------------------------------------------------------------------------------->
31-
Consider the Ethernet frame whose contents is given in hexadecimal form in the
previous question. Using the IP packet header format provided in previous
question, determine the following:
Time To Live (in Decimal form): ______________________________
Header Length (in decimal form as Byte count): ___________________________
Packet Payload Type (Whether it is UDP, TCP, ICMP):_____________________
SOLUTION:
The given sequence is again repeated below with Ethernet Header being
underlined and IP header being divided into four-byte blocks with alternating bold
and non-bold highlights for ease of parsing and field recognition.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
10
of
10
eb 2c 3a 05 f2 fa 4b 2c 3c 1f 3d b7 08 00
45 00 00 c4
f2 3d 00 00
08 06 2c 39
7a 24
d1 33
dc 7a a8 ec
71
ce 3d fa ……………
In the given pattern, “45 00 00 c4” is the first four bytes of the IP header. Time to
live is in the first byte of the third four-byte block which is 08 06 2c 39
.
The
value “08” is the TTL value in the TTL field. Header length is the second four-bit
part of the first byte of the IP header. We have the value 5 in the header length
that means header is 5 Words long or 20 bytes. Upper Layer Protocol (Protocol) field
is in the second byte of the third four-byte block which is 08 06 2c 39
.
This means
that the ULP value is 06 hexadecimal or 6 decimal. This value corresponds to TCP. The
answers are as follows:
Time To Live (in Decimal form): 8 Hops
Header Length (in decimal form as Byte count): 20 Bytes
Packet Payload Type (Whether it is UDP, TCP, ICMP): TCP
32-
You are given the IP address 190.190.0.0/16 You have to use this address space
for the following cities: Clear Lake, Dickinson, Galveston, Pearland, League City,
Texas City and Santa Fe.
Assume that all 0 and all 1 subnets are NOT usable.
Determine the subnet mask and fill out the first three rows of the following
table:
City
Subnet
Number
Address of the
first computer
in this subnet
Address of the
last computer
in this subnet
Subnetwork
Address
Broadcast
Address
C. Lake
Dickinson
Galveston
SOLUTION:
There are seven cities to be accommodated. Since we cannot use all 0 and
all 1 subnets, 3-bit subnet field will not suffice and we need to have 4 bits in the
subnet field. The subnet mask is going to be /28. This means part of the subnet ID in
the third byte is going to take values starting with 16 and following with 32, 48, 64
etc.
The resulting values are shown in the table below.
City
Subnet
Number
Address of the
first computer
in this subnet
Address of the
last computer
in this subnet
Subnetwork
Address
Broadcast
Address
C. Lake
16
190.190.16.1
190.190.31.254 190.190.16.0 190.190.31.255
Dickinson 32
190.190.32.1
190.190.47.254 190.190.32.0
190.190.47.255
Galveston 48
190.190.48.1
190.190.63.254 190.190.48.0
190.190.63.255
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
1
of
9
EXERCISE SET 15
You need to assume that
all
0
and
all
1
subnets
are
USABLE
unless otherwise stated (i.e. assume that we are
using new style routers which cannot use all 0 and all 1 subnet numbers)
1-
You are given the IP address 191.191.0.0/16.
You have to connect a total of 15 offices in
Texas including Houston, Dallas, Austin, Brownsville, El Paso, Corpus Christi and nine more
cities.
Assume that all 0 and all 1 subnets are NOT usable (i.e. you are using old style
routers)
. You use the optimal mask for this purpose (use same mask for all cities).
You
assign the first available subnet ID to Houston, next one to Dallas, next to Austin, next
to Brownsville, next to El Paso, next to Corpus Christi and so on.
What would be El Paso
broadcast address?
(a)
191.191.95.255
(b)
191.191.79.255
(c)
191.191.255.255
(d)
191.191.55.255
(e)
none of the above
SOLUTION:
Since there are 15 locations, we need to use 5 bits in the subnet field. This
would allow a total of 30 subnets (since all 0 and all 1 subnets are NOT usable). The
optimal mask will be /21 or 255.255.248.0.
The subnet addresses for the first five
subnets will be 191.191.8.0, 191.191.16.0, 191.191.24.0, 191.191.32.0 and 191.191.40.0. If
we write the third byte of the fifth location (El Paso, 191.191.80.0) subnet address will
be 191.191.00101000.0 (only third byte is written in binary).
To find the broadcast
address we need to make all AHID bits equal to one. This means the broadcast address will
be the following:
191.191. 00101
111
.
255
or in decimal, 191.191.47.255.
The answer is
“e”.
2-
A computer X is just powered up and it needs to send a packet to another computer Y on the
same subnet. X performs an ARP to find out about Y’s Ethernet address. Then sends the
packet to Y. Two minutes later X needs to send another packet to Y. What should it do?
(a)
X must perform an ARP operation again
(b)
X must send the packet to the default Gateway which will forward to Y
(c)
X will wait until a packet arrives from Y and then send its packet
(d)
X will send the packet to Ethernet address discovered earlier with ARP
(e)
None of the above is true
SOLUTION:
A computer, after discovering the MAC address of another host via ARP, places the
information in its ARP cache. The information will stay there 10 minutes after which it
will be purged. Since the second packet is sent two minutes after the first one, the
earlier information will be in the ARP cache and the computer will use the information in
the ARP cache. Answer is “d”.
3-
Assume that in the following network both routers are configured correctly but no static
routes are entered into those routers yet. If PC1 performs a Ping operation to PC0, what
will happen?
(a)
Austin router will send a “Destination Unreachable” message to PC1
(b)
Austin router will throw away the Ping packet and does nothing else
(c)
Houston router will send a “Destination Unreachable” message to PC1
(d)
Austin router will throw away the Ping packet and does nothing else
(e)
None of the above is true
SOLUTION:
PC1 will send the packet to its default gateway router “Austin”. Since Austin
router does not have any static route information, it cannot forward this packet to
anywhere. Consequently, it discards the packet and sends an ICMP “destination unreachable”
message to PC1. The answer is “a”.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
2
of
9
4-
A computer with an IP address 172.16.225.0 and a mask of 255.255.248.0 wants to send a
packet to another computer with the IP address 172.16.222.255. Should it send it directly
or should it send it to the default gateway?
a)
Send directly
b)
Send it to the default gateway
c)
Destination address is a broadcast address, can’t be sent
d)
Source address is a subnet address, can’t be sent
e)
Both, c
and
d
above are true
SOLUTION:
To answer this question, we need to determine whether the destination computer is
on the same subnet as the source computer.
This means that we need to determine the subnet
IDs or subnet addresses for two computers.
When subnet addresses are determined, it will
be found that source computer is on 172.16.224.0 subnet whereas the destination computer is
on 172.16.216.0 subnet. This means they are on different subnets and therefore the packet
needs to be sent to the default gateway.
The answer is “b”.
5-
Two computers, PC1 and PC2 are on the same subnet of a small organization. PC1’s IP address
is 193.194.195.138/29.
Which of the following will be a usable address for PC2?
(a)
193.194.195.136
(b)
193.194.195.143
(c)
193.194.195.135
(d)
193.194.195.142
(e)
None of the above is a usable address for PC2
SOLUTION:
We first need to determine the subnet address for PC1 and then check to see which
of the given addresses are on the same subnet. There are 5 bits in subnet field and 3 bits
in AHID field. Hence, 193.194.195.138/29 is on 193.194.195.136 subnet. In this subnet the
first and the last usable addresses are 193.194.195.137 and 193.194.195.142 respectively.
When given choices are examined, it will be determined that address in d is in this subnet
and therefore the answer is “d”.
6-
In which of the following case there is
NO
subnetting ?
(a)
IP address = 128.128.128.128
subnet mask = /16
(b)
IP address = 191.190.189.188
subnet mask = /24
(c)
IP address = 10.11.12.13
subnet mask = /9
(d)
IP address = 128.129.128.129
subnet mask = /24
(e)
In each of the above cases there is subnetting.
SOLUTION:
In case (a) it is a class B address with /16 mask and
there is no
subnetting.
Let’s also examine the other cases: In case (b) it is a Class B address with /24 mask and
there is
subnetting. In case (c) there is a class A address with /9 mask and
there is
again
subnetting.
In case (d) there is a class B address with /24 mask and
there is
again
subnetting. Therefore the answer is “a”.
7-
In an IP packet, the header length field has the following binary value: 0101. Is there
“
options
” field in this packet header?
(a)
Yes, there is “options” field.
(b)
No, there is no “options” field.
(c)
“Options” field does not depend on the packet header size.
(d)
“Options” field exist only if the packet header field has the binary value 0101.
(e)
None of the above is true
SOLUTION:
The header length is 0101 in binary which means the header is 5 Words or 20 Bytes
long. This means there is
no
“options” field. The answer is “b”.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
3
of
9
8-
As you know, a class C address when not subnetted will allow 254 usable addresses.
If a Class C
address is subnetted with mask /29, how many total
usable
addresses will be available in all the
subnets together?
a)
192
b)
224
c)
160
d)
248
e)
None of the above
SOLUTION:
Using /29 mask allows 5 bits in subnet field and 3 bits in AHID field. This means
there will be a total of 2
5
or 32 usable subnets and each subnet will have 2
3
– 2 = 6 usable
addresses. The total number of usable in all subnets will be 32 x 6 = 192.
The answer is
“a”.
9-
Which one of the following is
NOT
a broadcast address?
(a)
IP address = 119.119.255.255,
subnet mask = 255.255.240.0
(b)
IP address = 119.119.175.255,
subnet mask = 255.255.224.0
(c)
IP address = 119.119.207.255,
subnet mask = 255.255.248.0
(d)
IP address = 119.119.251.255,
subnet mask = 255.255.254.0
(e)
All of the above are broadcast addresses
SOLUTION:
For an address to be a broadcast address, all subnet bits must be set to 1. If we
test each choice with the given subnet mask (by performing an AND operation between IP
address and the inverse subnet mask) we will find out that 119.119.175.255 with subnet mask
255.255.224.0 (/19) is
not
a broadcast address because all AHID bits are NOT set to 1. The
answer is “b”.
10-
Assume you are told that the IP address 199.199.199.183 has the
AHID
value “23”. Which of
the following choices would be the correct subnet mask for this IP?
(a)
/25
(b)
/26
(c)
/27
(d)
/28
(e)
/29
SOLUTION:
Since AHID value is 23, this means the subnet ID should be 160. That means the
subnet address is 199.199.199.160. If we write the last Byte in binary, it will be
10100000. We know that in Subnet address all AHID bits are zero. This means that AHID field
can possibly be the last five bits, or last four bits or last three bits or last two bits.
However, we also know that AHID value is 23. That means AHID field cannot be 4 bits or 3
bits or 2 bits long because in so many bits we cannot express value 23. Therefore AHID
field must be 5 bits long.
Subsequently, Subnet field becomes 3 bits long. This makes the
subnet mask /27 or 255.255.255.224. The answer is “c”.
11-
In a Cisco Router, roles of NVRAM, Flash, ROM are as follows:
(a)
ROM for configuration info, Flash for Boot Program, NVRAM for IOS
(b)
NVRAM for configuration info, Flash for Boot Program, NVRAM for IOS
(c)
NVRAM for configuration info, Flash for IOS, ROM for Boot Program
(d)
Flash for configuration info, NVRAM for Boot Program, ROM for IOS
(e)
None of the above is true
SOLUTION:
In a Cisco router NVRAM holds configuration information, flash holds IOS and ROM
holds boot program. The answer is “c”.
12-
Assume that the IP address of a host is 201.201.201.215/28 and it has the AHID value of
“7”. Which is the correct subnet address for this host?
(a)
201.201.201.192
(b)
201.201.201.200
(c)
201.201.201.208
(d)
201.201.201.216
(e)
None of the above
SOLUTION:
Since AHID value is 9, the Subnet ID can be found as 208 by subtracting 9 from
217. The subnet address will be 201.201.201.208. The answer is “c”.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
4
of
9
13-
In the following network, how many static routes will be needed for
Houston Router
?
a) 3
b) 4
c) 5
d) 2
e) None of the above
SOLUTION:
Houston router is attached to three of the five networks. This means it needs two
static routes.
The answer is “d”.
14-
A medium size organization is assigned the IP address 129.7.0.0.
This organization
has a headquarters and 18 branch locations.
Headquarters is assigned the first usable
subnet ID.
What is the broadcast address of the last branch location (i.e. branch location
number 19)?
Assume that all 0 and all 1 subnets are NOT usable
(i.e. old style routers are
used).
(a)
129.7.255.255
(b)
129.7.167.255
(c)
129.7.151.255
(d)
129.7.159.255
(e)
None of the above
SOLUTION:
This organization has a total of 19 locations. In order to accommodate 19
subnets, we need to have 5 bits in the subnet field which results in a subnet mask of /21.
The headquarters (the first subnet) will be assigned the 5-bit value 00001, the next subnet
will be assigned 00010, and the next subnet 00011 and so on. The last location (subnet)
will have the 5-bit value 10011 (i.e. number 19 represented in 5 bits). If the last two
bytes of the IP address are written in binary, the subnet address for this location will be
129.7.10011000.00000000.
It should be noted that the last 11 bits, which are set to zero,
are the AHID bits.
The broadcast address can be found by setting the last 11 bits to 1s.
This would yield: 129.7.10011111.11111111 or in decimal, 129.7.159.255. The answer is “d”.
15-
A computer has an IP address 172.31.175.211 and a mask of 255.255.240.0. Which one of
the following computers can it send a packet directly (i.e. not via the default gateway)?
(a)
172.31.181.28
(b)
172.31.176.28
(c)
172.31.161.28
(d)
It can send to all of them directly.
(e)
It cannot send to any of them directly
SOLUTION:
The first task is to determine the subnet address for this computer. The
standard way of finding the subnet address is to do an AND operation on IP address and
subnet mask.
Or, alternatively,
as a short cut method
, we can proceed as follows to
determine the subnet address: We know that the subnet mask assigns four bits to the
subnet field in the third byte (255.255.
240
.0). This would leave four bits to AHID field
in the third byte and also 8 bits in the fourth byte. Let’s examine how the third byte
behaves with 4bit/4bit allocations to SID and AHID fields.
SID number starts at 0
(decimal) and advance in blocks of 16s (because of 4 bits in AHID in the third byte).
That means SID numbers will be 0, 16, 32, 48, 64 etc.
If we examine the IP address, the
third byte has the value 175. The closest number that is less than 173 and divisible by
16 is 160. This means the subnet address for this computer should be 172.31.160.0. Note
that the next subnet address will be 172.31.176.0. Which means any address which is 176
or larger in the third byte is not on the same subnet. If we examine the given choices,
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
5
of
9
we will see that only 172.31.161.28 address falls into the same subnet address range as
this computer. Consequently, the answer is “c”.
16-
In an
ARP Response
(Reply)
Message
, Destination and source Ethernet (MAC) addresses are
as follows:
(a)
Source is a unicast and Destination is Broadcast MAC Addresses
(b)
Source is a Broadcast and Destination is Broadcast MAC Addresses
(c)
Source is a Broadcast and Destination is Unicast MAC Addresses
(d)
Source is a unicast and Destination is Unicast MAC Addresses
(e)
None of the above is true.
SOLUTION:
When a computer (X) sends and ARP request which asks the question “whoever has
this IP address, tell me your MAC address, the destination MAC address in the Ethernet
frame is a broadcast address. When the computer receives the ARP response from the computer
with the matching IP address (Y), the response comes directly from Y to X as a unicast
frame which means both source and destination MAC addresses are unicast. The answer is “d”.
17-
In a Wireless LANs MTU is 2304. If network layer is using Wireless LAN card as the link
layer, what is the maximum possible packet size in Bytes?
a)
2304
b)
1480
c)
2284
d)
2204
e)
None of the above
SOLUTION:
MTU means the maximum payload a frame can carry. If MTU is 2304 Bytes, this means
the packet size can be maximum 2304 Bytes. The answer is “a”.
18-
If the “Type” field in the Ethernet header has the
hexadecimal
value 0800 (i.e. 0x0800)
what would this mean?
a)
It means this is a Unicast frame
b)
It means that frame payload is an IP packet
c)
It means that this is a Broadcast frame
d)
It means that CRC field of the frame should be ignored
e)
None of the above is true
SOLUTION:
The “Type” field in Ethernet frame indicates the payload type. The most common
Ethernet payload is IP packet. When the Type field has the hexadecimal value 0x0800, this
means is the payload is IP packet. The answer is “b”.
19-
Consider the network given below. Assume that IP and MAC addresses are as follows (MAC
Address in hexadecimal format, IP Address in dotted decimal format):
PC1
aaaa.aaaa.aaaa,
192.168.1.11/24,
Austin Router Fa0/0
:192.168.1.1/24 bbbb.bbbb.bbbb,
Austin Router
S0/0:
192.168.2.1/24 cccc.cccc.cccc.cccc,
Houston Router Fa0/0
:192.168.3.1/24
dddd.dddd.dddd,
Houston Router S0/0
:192.168.2.2/24 eeee.eeee.eeee,
PC0:
7777.7777.7777,
192.168.3.11/24.
Assume that PC1 has just been booted up and it needs to send a packet to
PC0. Since its ARP cache is empty, it needs to perform an
ARP operation
. In this ARP
request, which IP address will be ARPed?
(a)
192.168.3.11
(b)
192.168.3.1
(c)
192.168.2.2
(d)
192.168.2.1
(e)
192.168.1.1
SOLUTION:
Since PC1 is sending a packet to PC0, it must send the packet to its default
gateway which is Austin router (IP Address 192.168.1.1/24). Since PC1 does not know the MAC
address of Austin router (because PC1 has been just booted up), it needs to send an ARP
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
6
of
9
request broadcast saying “Whoever has the IP address 192.168.1.1, tell me your MAC
address”. The answer is “e”.
20-
A
host
has the IP address 10.98.72.34/12.
What would be the
first and last usable
addresses
in the subnet to which this host belongs to? (Hint: First usable address is the
one after the subnet address, last usable address is the one before the broadcast address).
(a)
10.97.0.1, 10.112.254.254
(b)
10.96.1.1, 10.111.254.254
(c)
10.98.0.1, 10.112.255.254
(d)
10.96.0.1, 10.111.255.254
(e)
None of the above
SOLUTION:
The given address is a class A address with four bits in the subnet field. It
should be noted that those four subnet bits are in the second Byte. When examined, it can
be found that the subnet address is 10.96.0.0.
The first usable address
will be the one
after the subnet address or 10.96.0.1 and
the last usable address
will be
two addresses
before
the next subnet address. The next subnet address is 10.112.0.0. The address before
10.112.0.0, 10.111.255.255 will be the broadcast address for 10.96.0.0 subnet. The address
before the broadcast address (i.e. the address two addresses before the next subnet
address) will be 10.111.255.254 which will be the last usable address for 10.96.0.0 subnet.
The answer is “d”.
21-
In an IP packet the destination IP address appears as “
7a b7 9f 82”
and the source address appears as
“
ce a5 f8 78”
(both addresses are in hexadecimal format).
What classes are these IP address
respectively?
(a)
Class A and Class B
(b)
Class A and Class C
(c)
Class B and Class B
(d)
Class B and Class C
(e)
None of the above
SOLUTION:
To determine the class of an address, we need to examine the first three bits of
the first byte. The first address has “7a” in the first byte. When converted to binary,
this would give 01111010 which would make this address
Class A
. The second address has “ce’
in the first byte. When converted to binary we will get 11001110. This address is
Class C
.
The answer should be “b”.
22-
Consider the network given below. If PC1 sends a frame to PC2,
which hosts
will “
hear
”
this frame?
(a)
PC2
(b)
PC2, PC3,PC4
(c)
PC2, PC3,PC4,Austin Router
(d)
PC2, PC3,PC4,Austin Router, Houston Router
(e)
None of the above is true
SOLUTION:
Note that there are five hosts connected to the Hub0 including PC1. When a hub
receives a frame bit by bit, it will forward those bits to all ports except the port they
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
7
of
9
came from. Consequently, PC2, PC3, PC4 and Austin router will all “hear” those bits (or the
frame). The answer should be “c”.
23-
Which of the following
CAN
be used as a mask as
host
IP address 129.7.159.255?
(a)
/18
(b)
/19
(c)
/21
(d)
/20
(e)
None of the above can be used as mask
SOLUTION:
We know that IP address for a computer cannot have all 0s and all 1s in AHID
field since those are reserved for the subnet address and the broadcast address
respectively.
If we convert the last two bytes of the given address to binary, we will
obtain (159=128+31):
129.7.10011111.11111111. If subnet masks /19, /20 or /21 are used
with this address, they will result in broadcast addresses. Only /18 subnet mask will
result in an AHID value that is not all 1’s. Consequently, the answer is “a”.
24-
An organization has the Class B IP address 172.28.0.0/16. This organization needs
subnets for its
28 locations
in USA. What is the maximum number of usable addresses can
each location have?
(a)
4096
(b)
2048
(c)
1024
(d)
1022
(e)
2046
(f)
None of the above
SOLUTION:
In order to accommodate 28 locations, this organization must have 5 bits in the
subnet field which will make the subnet mask 16+5==>/21. Consequently, there will be 11
bits left for the AHID field. 11 bits result in 2048 possible and 2046 usable choices. The
answer is “e”.
25-
In the network shown below, PC1 sends a packet to PC4 and sets the
TTL
value to “3”.
Which router
will send an “
ICMP Time Exceeded
” message to PC1?
a)
R1
b)
R2
c)
R3
d)
R4
e)
None of the above
SOLUTION:
When the packet reaches to R1, TTL value will be decremented to 2. When the
packet reaches to R2, TTL value will be decremented to 1. When the packet reaches to R3,
TTL value will be decremented to 0 which means it will be discarded. Consequently, R3 will
send an “
ICMP Time Exceeded
” message to PC1. The answer is “c”.
26-
An organization uses a class B address with a mask 255.255.254.0. How many usable
addresses are there in each subnet?
(a)
2
10
– 2
(b)
2
11
– 2
(c)
2
12
– 2
(d)
2
13
– 2
(e)
None of the above
SOLUTION:
The given mask is /23 which leaves 9 bits for the AHID bits. That means there are
2
9
– 2 usable addresses in each subnet. The answer is “e”.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
8
of
9
27-
In the “Upper Layer Protocol” field (which is also sometimes called simply “Protocol”
field) of an IP packet has the binary value 00000001 in it.
What kind of payload is this
packet carrying?
a)
ICMP
b)
UDP
c)
TCP
d)
ARP
e)
None of the above
SOLUTION:
Three important “Upper Layer Protocol” field numbers to know are 1, 6 and 17 (all
decimal values). The first one means the upper layer protocol is ICMP, the second one means
the upper layer protocol TCP and the last one means the upper layer protocol is UDP. The
answer is “a”.
28-
The following binary number is the MAC address of an Ethernet network interface car (NIC):
10011100 01001100 10100001 10000001 11001101 10111100
What is the serial number of this card in hexadecimal?
a)
9c 4c a1 81
b)
9c 4c a1
c)
81 cd bc
d)
9c 4c a1 81 2c
e)
None of the above
SOLUTION:
The first three Bytes of an Ethernet address indicates the Manufacturer ID (also
known as Organizational Unit Identifier
OUI
). The next three bytes indicates the serial
number of the card. The serial number is
10000001 11001101 10111100
in binary or 81 cd bc in
hexadecimal.
The answer is “c”.
29-
In an IP packet, the “Type of Service” field is used for following:
a)
To indicate the what type of service payload packet is carrying
b)
To indicate the priority of the packet
c)
To indicate the class of the address in the packet is servicing
d)
To indicated the priority, reliability, throughput, delay preferences for the packet
e)
To indicate the service type the checksum field should use.
SOLUTION:
In and IP packet, the Type of Service (TOS) field is used to to indicate the
priority, reliability, throughput, delay preferences for the packet. The answer is “d”.
30-
Which of the following
CAN
be used as a mask with the
host
IP address 126.135.248.0?
(a)
/24
(b)
/23
(c)
/22
(d)
/20
(e)
All of the above can be used as a mask for the given address
SOLUTION:
It is important to remember that IP address for a computer cannot have all 0s and
all 1s in AHID field since those are reserved for the subnet address and the broadcast
address respectively. An address other than those can be used as a host address. The given
address is a class A address. If we convert the last three bytes of the given address to
binary, we will obtain 126.10000111.11111000.00000000. If subnet masks /24, /23 or /22 are
used with this address, they will result in subnet addresses. Among the given choices, only
/20 subnet mask will result in an AHID value that is not all 1’s. Consequently, the answer
is “d”.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
9
of
9
NARRATIVE QUESTIONS
31-
In the network shown below, Routers R1 and R2 are configured by using the commands shown
below. PC1 is configured with IP address 129.7.9.11/24, DGW: 129.7.9.1 and PC2 is
configured with IP address 129.7.11.11/24, DGW: 129.7.11.1.
When a user tries to ping PC2 from PC1, it was not possible to get a reply. What do you think
the problem is in this network? In few sentences, explain your reasoning in the area provided
below:
SOLUTION:
The static route statement in R1 is wrong. Instead of “
ip route 129.7.11.0
255.255.255.0 129.7.10.1
” it should be “
ip route 129.7.11.0 255.255.255.0 129.7.10.2
”
32-
You are given the IP address 190.190.0.0/16 You have to use this address space for the
following cities: Clear Lake, Pearland, League City, Texas City, Dickinson, Galveston, and
Santa Fe.
Assume that all 0 and all 1 subnets are NOT usable.
You assign the subnet
numbers in the order cities are listed. Determine the subnet mask and fill out the table
for the cities shown below.
City
Subnet
Number
Address of the
1
st
host in
subnet
Address of the
last host in
subnet
Subnet
Address
Broadcast
Address
T. City
0100
190.190.64.1
190.190.79.254
190.190.64.0 190.190.79.255
Dickinson 0101
190.190.80.1
190.190.95.254
190.190.80.0 190.190.95.255
Galveston 0110
190.190.96.1
190.190.111.254 190.190.96.0 190.190.111.255
SOLUTION:
There are seven cities. Since all 0 and all 1 subnets are NOT usable, we need to
have 4 bits in the subnet field. We will assign the subnet values as follows:
0001 Clear Lake
Subnet Address: 190.190.16.0
0010 Pearland
Subnet Address: 190.190.32.0
0011 League City
Subnet Address: 190.190.48.0
0100 Texas City
Subnet Address: 190.190.64.0
0101 Dickinson
Subnet Address: 190.190.80.0
0110 Galveston
Subnet Address: 190.190.96.0
0111 Santa Fe
Subnet Address: 190.190.112.0
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
1
of
9
EXERCISE SET 17
You need to assume that
all
0
and
all
1
subnets
are
USABLE
unless otherwise stated
1-
Which of the following is
NOT
a broadcast address?
(a)
IP address =
128.127.255.255,
subnet mask = 255.255.0.0
(b)
IP address = 128.127.251.255,
subnet mask = 255.255.255.0
(c)
IP address = 128.127.191.255,
subnet mask = 255.255.224.0
(d)
IP address = 128.127.252.255,
subnet mask = 255.255.240.0
(e)
All of the above are broadcast addresses
SOLUTION:
For an address to be a broadcast address, all subnet bits must be set to 1.
If we test each choice with the given subnet mask (by performing an AND operation
between IP address and the inverse subnet mask or by simply examining the AHID bits)
we will find out that “d” is the answer.
2-
Which of the following is
not
in IP header?
(a)
TTL
(b)
TOS
(c)
Type
(d)
ULP
(e)
Checksum
SOLUTION:
All of the choices other than “Type” field is in IP header. “Type” field is
a field in Ethernet header.
3-
A computer with an IP address 223.222.99.189 and a mask of 255.255.255.240 wants to
send a packet to another computer with the IP address 223.222.99.193.
Should it
send it directly or should it send it to the default gateway?
a)
Send directly
b)
Send it to the default gateway
c)
Destination address is a broadcast address, can’t be sent
d)
Destination address is a subnet address, can’t be sent
SOLUTION:
To answer this question, we need to determine whether the destination
computer is on the same subnet as the source computer.
This means that we need to
determine the subnet IDs or subnet addresses for two computers.
When subnet addresses
are determined, it will be found that source computer is on 223.222.99.176 subnet
whereas the destination computer is on 223.222.99.192 subnet. This means they are on
different subnets and therefore the packet needs to be sent to the default gateway.
The answer is “b”.
4-
Which of the following can
NOT
be used as a mask for a host IP address
200.200.200.176
?
(a)
/25
(b)
/26
(c)
/27
(d)
/28
(e)
All of the above can be used as a mask for the given address
SOLUTION:
The given address is a Class C address.
If we write the last Byte (Host ID
part) of the given address in binary, it will be 200.200.200.10110000.
As we know, a
host address cannot have all 1s or all 0s in AHID bits. Of the given choices, only /28
will make all AHID bits equal to 0 and therefore it can NOT be used as a mask with the
given address.
The answer is “d”.
5-
What is the maximum number of subnets that can be
used
in a class C network with a
subnet mask
255.255.255.240?
(a)
14
(b)
16
(c)
6
(d)
8
(e)
None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
2
of
9
SOLUTION:
The given subnet mask will have 4 bits in subnet field which in turn will
allow for 16 subnets. The answer is “b”.
6-
Two computers, PC1 and PC2 are on the same subnet of a small organization. PC1’s IP
address is 223.222.221.210/28.
Which of the following will be a usable address for
PC2?
(a)
223.222.221.199
(b)
223.222.221.207
(c)
223.222.221.223
(d)
223.222.221.208
(e)
None of the above is a usable address for PC2
SOLUTION:
We first need to determine the subnet address for PC1 and then check to see
which of the given addresses are on the same subnet. There are 4 bits in subnet field
and 4 bits in AHID field. Hence, 223.222.221.210/28 is on 223.222.221.208 subnet. In
this subnet the first and the last usable addresses are 223.222.221.209 and
223.222.221.222 respectively. When given choices are examined, it will be determined
none of the given choices is in this range. Hence the answer is “e”.
7-
In which of the following case there is
NO
subnetting?
(a)
IP address = 126.255.255.254
subnet mask = 255.255.0.0
(b)
IP address = 191.190.189.188
subnet mask = 255.255.192.0
(c)
IP address = 223.223.223.223
subnet mask = 255.255.255.0
(d)
IP address = 20.21.22.23,
subnet mask = 255.128.0.0
(e)
In all of the above cases there is subnetting
SOLUTION:
In case (a) it is a class A address with /16 mask and
there is
subnetting.
In case (b) it is a Class B address with /18 mask and
there is
subnetting. In case (c)
there is a class C address with /24 mask and
there is NO
subnetting.
In case (d)
there is a class A address with /9 mask and
there is
again subnetting. Therefore the
answer is “c”.
8-
There is a computer with an IP address 223.223.222.173 and a mask of
255.255.255.240. To which of the following address ranges (pick the largest
applicable range) can this computer send a packet directly (i.e. the destination
host is on the same subnet ):
a) 223.223.222.172 - 223.223.222.190
b)
223.223.222.161 – 223.223.222.174
c)
223.223.222.161 – 223.223.222.190
d)
223.223.222.165 - 223.223.222.200
e)
None of the above ranges is applicable
SOLUTION:
The given computer is on subnet 223.223.222.160 subnet. The usable addresses
on this subnet are 223.223.222.161 through 223.223.222.174.
The answer is “b”.
9-
We know that Class A addresses have values 1-126, Class B addresses have values
128-191 and Class C addresses have values 192-223 in the first Byte of the address
field.
Assume that there were a Class “D” address category.
Also assume that
Class D address is determined in the following way: The first three bits of the
first byte of the address is always 1 and the fourth bit is always 0.
According to
this what would be the possible first Byte values for Class D addresses.
(a)
192-240
(b)
200-240
(c)
224-240
(d)
224-239
(e)
None of the above
SOLUTION:
According to given information, a Class D address will have 1110 in the
first four bits of the first Byte. Consequently, the possible first Byte values will
be 224 through 239.
The answer is “d”
10-
Which of the following is
wrong
about Ethernet Addresses
(a)
Ethernet Addresses are 6 bytes long
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
3
of
9
(b)
Ethernet addresses are expressed in dotted decimal notation
(c)
Source and destination Ethernet Addresses are carried in the Frame header
(d)
Ethernet Addresses are assigned to the NIC cards at the factory
(e)
All of the above are true about Ethernet addresses
SOLUTION:
“b” is wrong because Ethernet addresses are expressed in hexadecimal format
and not in dotted decimal format.
11-
Your network uses the class B address 169.138.0.0. You need to support 258
subnets while accommodating the maximum number of hosts. Which subnet mask would
you use?
a)
255.255.255.128
b)
255.255.248.0
c)
255.255.224.0
d)
255.255.255.0
e)
None of the above
SOLUTION:
In order to support 258 subnets, we need to have 9 bits in the subnet field.
Consequently, the subnet mask should be /(16+9)
or /25 which will be 255.255.255.128.
The answer is “a”.
12-
In an IP packet, the destination IP address appears as
c2 b7 9f fe
(in hexadecimal format).
What class is this IP address?
(a)
Class A
(b)
Class B
(c)
Class C
(d)
A subnetted address
(e)
None of the above
SOLUTION:
if we convert the first Byte to binary, we would have 11000010. When we
examine the first three bits, we will determine that this is a class C address.
The
answer is “c”.
13-
In IP packet header the
“Total Length” field allows a maximum packet size of:
(a)
20 Bytes
(b)
60 Bytes
(c)
65,535 Bytes
(d)
1500 Bytes
(e)
None of the above
SOLUTION:
The “Total Length” field in an IP packet is 16 bits long which would allow
the maximum value of 65,534. The answer is “c”.
14-
As you know, a class C address when not subnetted will allow 254 usable addresses.
If a
Class C address is subnetted with mask /29, how many total
usable
addresses will be
available in all the subnets together?
a)
240
b)
224
c)
192
d)
248
e)
None of the above
SOLUTION:
Using /29 mask allows 5 bits in subnet field and 3 bits in AHID field. This
means there will be a total of 2
5
or 32 usable subnets and each subnet will have 2
3
– 2
= 6 usable addresses. The total number of usable in all subnets will be 32 x 6 = 192.
The answer is “c”.
15-
Given the IP address 172.25.133.163 and subnet mask of 255.255.252.0, which of
the following is
true
about subnet ID and actual host ID?
(a)
SID=128.0
AHID=5.163
(b)
SID=132.0
AHID=1.163
(c)
SID=130.0
AHID=3.163
(d)
SID=133.0
AHID=0.163
(e)
None of the above
16-
An organization uses a class B address with a mask 255.255.224.0. How many
usable address are available in each subnet?
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
4
of
9
(a)
2
11
– 2
(b)
2
12
– 2
(c)
2
13
– 2
(d)
2
14
– 2
(e)
2
15
– 2
SOLUTION:
Given subnet mask will have 3 bits in subnet field and 13 bits in AHID
field. Consequently, there would be 2
13
– 2 usable addresses in each subnet. The answer
is “c”.
17-
You are given the IP address 191.191.0.0/16.
You have to connect a total of 31
offices in Texas including Houston, Dallas, Austin, Brownsville, El Paso, Corpus
Christi
and 25 more
cities.
Assume that all 0 and all 1 subnets are NOT usable
(i.e. you are using old style routers)
. You use the optimal mask for this purpose
(use same mask for all cities).
You assign the first available subnet ID to
Houston, next one to Dallas, next to Austin, next to Brownsville, next to El Paso,
next to Corpus Christi and so on.
What would be El Paso broadcast address?
(a)
191.191.27.255
(b)
191.191.19.255
(c)
191.191.255.255
(d)
191.191.31.255
(e)
none of the above
SOLUTION:
Since there are 31 locations, we need to use 6 bits in the subnet field.
This would allow a total of 62 subnets (since all 0 and all 1 subnets are NOT usable).
The optimal mask will be /22 or 255.255.252.0.
The subnet addresses for the first
five subnets will be 191.191.4.0, 191.191.8.0, 191.191.12.0, 191.191.16.0 and
191.191.20.0. If we write the third byte of the fifth location (El Paso, 191.191.20.0)
subnet address will be 191.191.00010100.0 (only third byte is written in binary).
To
find the broadcast address we need to make all AHID bits equal to one. This means the
broadcast address will be the following:
191.191. 000101
11
.
255
or in decimal,
191.191.23.255. Since this is not among the given choices, the answer will be “e”.
18-
Assume that in the following network all routers are configured correctly but no
static routes are entered into those routers yet. If PC1 performs a Ping operation
to PC3, what will happen?
a)
R1 will send a “Destination Unreachable” message to PC1
b)
When packet reaches Subnet Z it will be sent back to PC1 as destination
unreachable
c)
R2 will send a “Destination Unreachable” message to PC1
d)
R3 will end a “Destination Unreachable” message to PC1
e)
None of the above is true
SOLUTION:
PC1 will send the packet with ICMP payload to R1. Since there are no static
routes in any of the routers, R1 will not be able to forward this packet. It discards
the packet and sends a “destination unreachable” ICMP message to PC1. The answer is
“a”.
19-
An organization has the Class B IP address 129.7.0.0/16. This organization needs
subnet this address for its
34 locations
in USA using the same subnet mask. What is
the maximum number of usable addresses can each location have?
(a)
510
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
5
of
9
(b)
1022
(c)
1024
(d)
2046
(e)
None of the above
SOLUTION:
To accommodate 34 locations, the subnet field requires 6 bits. This means
the subnet mask will be /22. The AHID field will be 10 bits long.
The number of
usable addresses in 10 bit AHID field will be 2
10
– 2 or 1022. The answer is “b”.
20-
In an IP packet, the header length field has the following binary value: 0110.
Is there “
options
” field in this packet header?
(a)
Yes, there is “options” field.
(b)
No, there is no “options” field.
(c)
“Options” field does not depend on the packet header size.
(d)
“Options” field exist if the packet header field has the value 0101.
(e)
None of the above is true
SOLUTION:
The header length is 0110 in binary which means the header is 6 Words or 24
Bytes long. This means there is “options” field. The answer is “a”.
21-
Assume you are told that the IP address 192.168.199.179 has the
AHID
value “19”.
Which of the following choices would be the correct subnet mask for this IP?
(a)
/26
(b)
/27
(c)
/28
(d)
/29
(e)
None of the above
SOLUTION:
Since AHID value is 19, this means the subnet ID should be 160. That means
the subnet address is 192.168.199.160. If we write the last Byte in binary, it will be
10100000. We know that in Subnet address all AHID bits are zero. This means that AHID
field can possibly be the last five bits, or last four bits or last three bits or last
two bits. However, we also know that AHID value is 19. That means AHID field cannot be
4 bits or 3 bits or 2 bits long because in so many bits we cannot express value 19.
Therefore AHID field must be 5 bits long.
Subsequently, Subnet field becomes 3 bits
long. This makes the subnet mask /27 or 255.255.255.224. The answer is “b”.
22-
In an
ARP Response
(Reply)
Message
, Destination and source Ethernet (MAC)
addresses are as follows:
(a)
Source is a unicast and Destination is Broadcast MAC Addresses
(b)
Source is a Broadcast and Destination is Broadcast MAC Addresses
(c)
Source is a Broadcast and Destination is Unicast MAC Addresses
(d)
Source is a unicast and Destination is Unicast MAC Addresses
(e)
None of the above is true.
SOLUTION:
ARP request messages will have unicast source and broadcast destination MAC
addresses. ARP reply messages will have unicast source and unicast destination MAC
addresses.
Consequently, the answer will be “d”.
23-
A
host
has the IP address 101.94.172.111/13.
What would be the subnet with
first and last usable addresses
shown below that this host belongs to?
(a)
101.96.0.1, 10.104.255.254
(b)
101.96.1.1, 10.111.254.255
(c)
101.88.0.1, 10.95.255.254
(d)
101.96.0.1, 10.111.255.254
(e)
None of the above
SOLUTION:
IP address 101.94.172.111/13 is a subnetted Class A address. There are 5
bits in the subnet field and 19 bits in the AHID field. If we write the last three
Bytes of the given IP address in binary, we will have the following:
102.
01011110.10101100.01101111.
The first five (underlined) bits of the second Byte
belong to the subnet field.
This means the subnet address is:
102.
01011000.00000000.00000000
or 102.88.0.0 in dotted decimal. The broadcast address
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
6
of
9
for this subnet will be: 102.
01011111.11111111.11111111 or 102.95.255.255
by setting
all AHID bits to 1s. You should note that the first usable address in a subnet is one
more than the subnet address and last usable address is one less than broadcast
address (
please note that this is a handy way to compute usable address ranges
).
Consequently, the usable addresses for this subnet will be 102.88.0.1 through
102.95.255.254. The answer is “c”.
24-
In an IP packet the destination IP address appears as “
9a b7 9f 82”
and the source address
appears as “
ce a5 f8 78”
(both addresses are in hexadecimal format).
What classes are these
IP address respectively?
(a)
Class A and Class B
(b)
Class A and Class C
(c)
Class B and Class B
(d)
Class B and Class C
(e)
None of the above
SOLUTION:
If we convert the first bytes of given addresses to binary and if we examine
the first three bits of the first bytes, we will determine that
“
9a b7 9f 82”
is a class
B address and “
ce a5 f8 78”
is a Class C address. The answer is “d”.
25-
Consider the network given below. If PC1 creates a packet to go to PC3, and
places into a
frame
which hosts
will “
hear
” this frame originating from PC1?
(a)
PC2, R1
(b)
PC2, PC3,PC4,PC5
(c)
PC3
(d)
PC2, PC3
(e)
None of the above is true
SOLUTION:
A frame will be “heard” by hosts on the same subnet. Consequently, PC2 and
R1 will “hear” PC1’s frame. The answer is “a”.
26-
Which of the following
CAN
be used as a mask for a
host
whose IP address is
172.25.159.255?
(a)
/18
(b)
/19
(c)
/21
(d)
/20
(e)
None of the above can be used as mask
SOLUTION:
We know that IP address for a computer cannot have all 0s and all 1s in AHID
field since those are reserved for the subnet address and the broadcast address
respectively.
If we convert the last two bytes of the given address to binary, we
will obtain (159=128+31):
172.25.10011111.11111111. If subnet masks /19, /20 or /21
are used with this address, they will this address a broadcast addresses. Only /18
subnet mask will result in an AHID value that is not all 1’s. Consequently, the answer
is “a”.
27-
In a Cisco router NVRAM memory holds:
(a)
Configuration information
(b)
Operating System (IOS)
(c)
Enable and telnet passwords
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
7
of
9
(d)
BIOS
(e)
Packets
SOLUTION:
NVRAM is used to store configuration information. The answer is “a”.
28-
Consider the network given below. The routing table whose contents are shown
under the figure belongs to one of the four routers in the shown network. From the
information provided below, determine which router’s routing table it is.
a)
It is routing table of R1
b)
It is routing table of R2
c)
It is routing table of R3
d)
It is routing table of R4
e)
None of the above is true
SOLUTION:
Routing table indicates that the router to which this routing table belongs
to is connected to 192.168.111.32/27 and 192.168.111.248/30 subnets directly. If the
topology is examined closely, it will be determined that only R2 is connected to those
networks directly. Hence the answer is “b”.
29-
The “Upper Layer Protocol” field (which is also sometimes called simply
“Protocol” field) of an IP packet has the binary value 00000110 in it.
What kind
of payload is this packet carrying?
a)
ICMP
b)
UDP
c)
TCP
d)
ARP
e)
None of the above
SOLUTION:
Binary value 00000110 is decimal 6. This means the payload is TCP (“c”).
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
8
of
9
30-
In the network shown below, PC1 sends one packet to PC3. The packet payload is
1480 Bytes long and packet header is 20 Bytes long. How many packets does PC3
receive?
a)
One packet
b)
Two packets
c)
Three packets
d)
Four packets
e)
Five packets
SOLUTION:
Since MTU of “R1 to R2” serial link is 400 Bytes, the original packet
payload (1480 Bytes) needs to be fragmented into multiple packet payloads. Note that
MTU of 400 Bytes allows a maximum packet payload of 400 -20 = 380 Bytes. That means
each serial link packet will have 380 Bytes. If we decompose 1480 Bytes into 380
Bytes, we will have:
1480 = 380 + 380 +380 +340
This means the first three packets will have 380 Byte payloads and the last (4
th
)
packet will have 340 Byte payload. We will need a total of 4 packets. The answer is
“d”.
END OF MULTIPLE CHOICE QUESTIONS
THE NEXT THREE QUESTIONS ARE NARRATIVE QUESTIONS
31-
An organization is assigned the IP address 192.168.100.0 which will be used in VLSM
fashion.
This organization has headquarters in Clear Lake and branch locations in
Alvin, Pasadena and Dickinson. Clear Lake has 110 hosts, Alvin 22 has hosts,
Pasadena has 51 hosts and Dickinson has 5 hosts. The address range 192.168.100.244
– 192.168.100.255 shall be reserved for serial links. Based on the information
provided. What would be Alvin broadcast address?
SOLUTION:
In this VLSM design, Clear Lake will need a 128 Block address space
(192.168.100.0 – 192.168.100.127), Pasadena will need a 64 Block address space
(192.168.100.128 – 192.168.100.159), Alvin will need a 32 Block address space
(192.168.100.192 – 192.168.100.223) and Dickinson will need 8 Block address space
(192.168.100.224 – 192.168.100.231).
For Alvin the addresses will be as follows:
Subnet address:
192.168.100.192/27
Broadcast address: 192.168.100.223/27
Usable Address Range: 192.168.100.193 – 192.168.100.222
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
9
of
9
32- In the network diagram shown below, all router Ethernet interfaces use the first usable
address in the usable range. The only exception is Austin2 router which uses the second usable
address in the range in Subnet Y (because Austin1 router is using the first usable address). On
the serial link Houston uses the first usable address and Austin1 uses the second usable
address.
Assume that you are trying to place static routes into Austin 1 router. As you know
from your class, Cisco command syntax for static routes is as follows:
ip route
<destination subnet address>
<destination subnet mask>
<next hop router address>
With the given information, how would you place static routes into Austin1 router?
Give the command(s) needed in the space below.
SOLUTION:
Austin Router needs static routes for the following subnets:
192.168.111.0/25 and 192.168.111.192/27. The commands need to place those static
routes are as follows:
ip route 192.168.111.0
255.255.255.128
192.168.111.253
ip route 192.168.111.192
255.255.255.224
192.168.111.130
33-The following hexadecimal number sequence
is the first 42 Bytes of an Ethernet
frame which is carrying an IP packet as its payload:
eb 2c 3a 05 f2 fa 4b 2c 3c 1f 3d b7 08 00 47 00 01 4f f2 3d
00 00 08 06 2c 39 7a 24 d1 33 dc 7a a8 ec 71
ce 3d fa 27 3b 56 d2……………
Using the packet header format shown above, determine the IP header length of the
packet inside the frame.
Show your calculations and reasoning in the space below.
SOLUTION:
The following colorized hex-sequence shows Ethernet header in red and packet
header in blue colors.
eb 2c 3a 05 f2 fa 4b 2c 3c 1f 3d b7 08 00
4
7
00 01 4f f2 3d
00 00 08 06 2c 39 7a 24 d1 33 dc 7a a8 ec 71
ce 3d fa 27 3b 56 d2
……………
In the packet header, the second hex digit at the beginning (7 underlined) is the header length
in hexadecimal. It has the decimal value also 7.
That means the packet header is 7 Words or 28
Bytes long.
Answer: Header length is 28 Bytes.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
1
of
5
Exercise Set 19
Answers are shown in red color
You will assume that all
0
and
all
1
subnets
are
USABLE
unless otherwise stated
Each question is 3 points.
1-
Which of the following is wrong about subnetting?
(a) Subnetting is used to create multiple subnets from one class (Class A, B, C) of network address
(b) A subnet mask blocks out (i.e. makes all bits 0) the AHID part of an IP address
(c) When an AND operation is done on an IP address and Subnet Mask, it yields Net ID and Subnet ID parts
(d) Subnetting can be used only with Class B or Class C addresses.
(e) If no subnetting is used,
Host ID
and
Actual Host ID fields will become
the same length
2-
Which of the following is wrong about
LANs and
WANs
(a) LANs are about sharing a common medium among many computers (shared link).
(b) In historic order, WANs were invented first and
LANs next
(c) WANs are built using serial links which are also called shared links
(d) Ethernet is a type of
LAN
(e) The first operational WAN was ARPAnet.
3-
Which of the following
is wrong about the fields in IP headers
(a) TTL field indicates the remaining lifetime of the packet in units of hops
(b) Version number is about the version of the IP protocol used to create the packet+
(c) Checksum field allows detection of errors in IP header
(d) ULP field is the upper layer pointer field and indicates which layer is the upper layer
(e) Header Length field indicates the length of the IP packet in 4-Byte long units
4-
There are two eight bit data units,
11111010
and
01011110
.
The first data unit needs to be appended with an
odd parity bit, and the second one with an even parity bit.
What are the values of the parity bits for the first and
second messages respectively:
a)
The first parity bit is “1” and the second parity bit is “1”
b)
The first parity bit is “1” and the second parity bit is “0”
c)
The first parity bit is “0” and the second parity bit is “1”
d)
The first parity bit is “0” and the second parity bit is “0”
5-
Which one of the following subnet mask can
NOT
be used with host IP address
192.191.190.80
(a) /25
(b) /26
(c) /27
(d) /28
(e) All of the above can be used as a mask for the given address
6-
What is the maximum number of subnets that can be
used
in a class B network with a
subnet mask
255.255.255.128
?
(a) 126
(b) 256
(c) 512
(d) 384
(e) None of the above
7-
In which one of the following cases there is
NO
subnetting?
(a) IP address =
126.126.126.126
subnet mask = 255.255.0.0
(b) IP address = 191.192.193.194
subnet mask = 255.255.255.0
(c) IP address = 192.191.190.189
subnet mask = 255.255.255.0
(d) IP address = 200.200.200.200,
subnet mask = 255.255.255.128
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
2
of
5
8-
In an IP packet, the header length (4-bits) and total length (16-bits) fields have the following binary values:
1101
and
00000001 00011110
.
Which one of the following statements is true?
(a) Header is 13 Bytes long and Packet is
286 Bytes long
(b) Header is
13 Bytes long and Packet is 30 Bytes long
(c) Header is 52
Bytes long and Packet is 286 Bytes
long
(d) Header is 52
Bytes long
and Packet is 230 Bytes long
(e) None of the above is true
9-
An organization is assigned the
Class C
IP address
192.168.0.0/24.
This organization, which has its
headquarters in Clear Lake, has also 8 additional branch locations.
Headquarters is assigned the first (i.e.
smallest value) usable subnet ID.
The next subnet ID is assigned to second location, the next to third location
etc. What is the subnet address of the
fourth branch location
?
(a) 192.168.0.96
(b) 192.168.0.32
(c) 192.168.0.64
(d) 192.168.0.48
(e) None of the above
10- Which one of the following protocols and protocol features does
traceroute
(tracert) program utilize?
a)
ICMP “destination unreachable”, ICMP “time exceeded” and IP “TTL”
b)
ICMP “echo response” , ICMP “time exceeded” and IP “version”
c)
ICMP “echo request”, ICMP “echo response”,
ICMP “time exceeded”
and IP “TTL”
d)
ICMP “echo request”, IP “options”,
ICMP “destination unreachable”,
and IP “TTL”
e)
ICMP “time exceeded”, ICMP “echo request” and IP “Header Length”
11- What would be the default gateway IP address for computer
X
in the following figure?
(a) 192.168.1.2
(b) 192.168.1.65
(c) 192.168.1.34
(d) 192.168.1.1
(e) None of the above
12- Given the IP address
96.216.215.214
and the subnet mask of
/17
, which one of the following cases is
true
about
subnet ID
and
actual host ID
?
(a) SID=216.1.0
AHID=0.214.214
(b) SID=216.128.0
AHID=0.87.214
(c) SID=216.160.0
AHID=0.55.214
(d) SID=216.96.0
AHID=0.119.214
(e) None of the above
13- An organization uses a
Class A
address with a mask 255.255.192.0. How many usable address are available in
each subnet?
(a) 2
10
– 2
(b) 2
11
– 2
(c) 2
12
– 2
(d) 2
13
– 2
(e) None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
3
of
5
14- Which one of the following is
NOT
a broadcast address?
(a) IP address = 129.7.191.255,
subnet mask = 255.255.224.0
(b) IP address = 129.7.254.255,
subnet mask = 255.255.254.0
(c) IP address = 129.7.207.255,
subnet mask = 255.255.240.0
(d) IP address = 129.7.192.255,
subnet mask = 255.255.255.0
(e) All of the above are broadcast addresses
15- Which one of the statements is
wrong
about
ARP
?
(a)
ARP
stands for address resolution protocol
(b)
ARP
is
a
link layer protocol
(c)
ARP
allows mapping
IP addresses to NIC addresses
(d)
ARP
works only within the same subnet (LAN)
(e)
ARP entries are kept in ARP cache
for a limited amount of time
16- You are given the IP address
192.168.20.0/24.
This address space need to be used for
9 offices
in Clear Lake,
Alvin, Pasadena, La Porte, Texas City, Dickinson, Galveston, Pearland and League City
using old style
routers.
You design a subnet mask that allows maximum number of hosts in each city. Then you assign
the
very last usable subnet ID choice
(i.e. the largest usable subnet ID number) to Clear Lake, the one before that
to Alvin, and the one before that to Pasadena etc. What is the broadcast address for the Pasadena subnet?
a) 192.168.20.207
b) 192.168.20.47
c) 192.168.20.63
d) 192.168.20.223
e)
None of the above
17- Which one of the following statements is
wrong
about Ethernet frames?
a)
Ethernet frame header is always14 Bytes long
b)
The first field on Ethernet frame is called Destination MAC address
c)
Ethernet frame uses a 4-Byte trailer called FCS which is used for error detection
d)
The last field in Ethernet frame header is called “Type” field
e)
Maximum length of an Ethernet frame is 1500 Bytes
18- A host computer “
X”
with IP address
200.180.150.124/26
can’t seem to be able to send packets to IP address
200.180.159.128/26
. What is the problem?
a)
Address of computer X is a broadcast address
b)
Address of computer Y is a subnet address
c)
Computer X must have the wrong default gateway address
d)
Computer Y must have the wrong default gateway address
e)
/26 is not a valid subnet mask
19- Which one of the following IP addresses
cannot
be assigned to a host as an IP address?
(a) 192.168.200.79/28
(b) 192.168.200.96/26
(c) 192.168.200.80/27
(d) 192.168.200.32/26
(e) All of the above are assignable host addresses
20- A computer with IP address
172.26.26.126/25
wants to send a packet to another computer with IP address
172.26.26.129.
What should it do?
(a) the destination computer is on the same subnet and it should send directly
(b) the destination computer is on a different subnet and it should send via the default gateway
(c) the destination computer address is not a legitimate address because it represents a subnet
address
(d) the destination computer address is not a legitimate address because it represents a broadcast
address
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
4
of
5
21- When
ARP Request
message is encapsulated in Ethernet frame, the destination MAC address is set to:
(a) To the MAC address of the host to which the ARP request is sent to
(b) It is set to the same value as the IP address of the destination host
(c) It is set to the same value as the subnet address of the source host computer
(d) It is set to ffff.ffff.ffff
(e) None of the above is true
22- In an IP packet, the destination IP address appears as “
7a b7 9f 82”
and the source address appears as “
ce a5
f8 78”
(both addresses are in hexadecimal format).
What classes are these IP address respectively?
(a) The first is class A and the second is Class B address
(b) The first is class A and the second is Class C address
(c) The first is class B and the second is Class B address
(d) The first is class B and the second is Class C address
(e) None of the above
23- Which one of the following masks
CAN
be used as a mask for a
host
whose IP address is
172.25.159.255
?
(a) /18
(b) /19
(c) /21
(d) /20
(e) None of the above can be used as mask
24- The
Type
field of an Ethernet frame has the binary value
00001000 00000110
in it.
What kind of payload is this
Ethernet frame carrying?
a) IP
b) ARP
c) UDP
d) TCP
e)
None of the above
25-
You are told that the IP address
192.168.1.223
has the AHID value
31
. Which of the following would be the
correct subnet mask for this IP Address?
(a) /26
(b) /27
(c) /28
(d) /29
(e) /30
26- In the following network, how many static routes will be needed for
R5
?
.a) 2
b) 3
c) 4
d) 5
e) 6
27- In an IP packet, “
Total Length”
field (a 2-Byte field) indicates the length of the IP packet. In this field, what would
the binary value be if the packet is the maximum possible size that would fit into an Ethernet frame?
(a) 00000101
11011100
(b) 00000101
11001000
(c) 00000001
01110111
(d) 00000001
10000001
(e) None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
5
of
5
28- Two computers, PC1 and PC2 are on the same subnet of a small organization. Computer PC1 has the IP
address
193.194.195.164/28
.
Which of the following will be a usable address for PC2?
(a) 193.194195.160
(b) 193.194.195.191
(c) 193.194.195.158
(d) 193.194.195.175
(e) None of the above is a usable address for PC2
29- What type of cable do hub based Ethernets use?
a) Twisted pair cable
b) Coaxial cable
c) Bare copper cable
d) Electric cable
30- An organization has acquired
192.168.100.0/24
Class C address. This organization has a
total of 13 locations
.
After allocating the subnet addresses to those 13 locations,
the unused address space
needs to be utilized for
the serial links.
How many serial link addresses will be possible from the unused address space?
a) 12
b) 13
c) 8
d) 16
e)
None of the above
31- An IP address is given in hexadecimal format as
c0 a8 06 5F
.
The subnet mask for this IP address is
/27
. Can
this address be assigned to a host?
Assume that the last usable address is reserved for default gateway.
(a) Yes it can be assigned since it is in usable address range
(b) No it cannot be assigned because it is default gateway address
(c) No it cannot be assigned because it is a broadcast address
(d) No it cannot be assigned because it is a subnet address
(e) No it cannot be assigned because it is neither Class A or Class B or Class C address
32- In a subnet the last usable address is 192.168.10.174/8. What is the subnet address for this particular subnet?
a) 192.168.10.160
b) 192.168.10.176
c) 192.168.10.128
d) 192.168.10.164
e)
None of the above
33- A computer with IP address 172.16.14.14/23 needs to send a broadcast IP packet on its subnet. What would be
the destination address on this packet?
a) 172.16.14.255
b) 172.16.14.127
c) 172.16.13.127
d) 172.16.15.255
e)
None of the above
34- A small company has bought seven
old style routers (
which don’t allow all 0 and all 1 subnets). This company
has acquired the Class C address
192.168.168.0/24
and it intends to use those old style routers to interconnect
its
seven locations
by subnetting the given Class C address. Those seven locations are: Clear Lake
(headquarters), Alvin, Pasadena, League City, Dickinson, Santa Fe and Galveston.
In its subnet mask selection,
the company would like to maximize the number of usable host addresses for each location. Based on the given
information, how many unused subnets this organization would end up with after the required design? In your
answer
do not
take into account addresses required for the serial links.
.a) 1
b) 3
c) 5
d) 7
e) None of the given choices is correct
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
1
of
7
Exercise Set 21
Answers are shown in red color
Assume that all
0
and
all
1
subnets
are
USABLE
unless otherwise stated
1-
Which of the following commands should be used to configure “
telnet
” in a Cisco router (without paying attention
to the ordering of the commands)?
.i) Router(config)#
interface telnet
ii)
Router(config)#
line telnet 0 4
iii)
Router(config-int)#
telnet password howdy
iv)
Router(config)#
line vty 0 4
v)
Router(config-line)#
password howdy
vi)
Router(config-line)#
login
vii) Router(config-int)#
login
(a) Commands
iv, v, vi
must be used
(b) Commands
i, iv, vii
must be used
(c) Commands
iii, iv, v
must be used
(d) Commands
ii, iv, vi
must be used
(e) None of the above choices is true
2-
Which of the following is
not
a Local Area Network link?
(a) Ethernet
(b) Wireless network
(c) Two routers connected with their s0/0 interfaces
(d) Token Ring Local Area Network
(e) All of the above are Local Area Network Links
3-
In the network shown below,
PC1
has the IP address
172.16.1.10/24
and
PC2
has the IP address
172.16.5.10/24
. At PC1 “
tracert
172.16.5.10
” command is issued.
In all of the routers, fa0/0 and s0/0 interfaces are assigned the first usable IP address in their subnet and s0/1
interfaces are assigned the second usable IP address in their subnet. As it has been discussed in the class,
tracroute
command utilizes
ICMP
“time exceeded
” messages and “
echo-request
” and “
echo-reply
”
messages. Based on the information provided,
after how many lines of output
, the traceroute command
from
PC1 to PC2 will be completed
?
(a) After 5 lines
(b) After 4 lines
(c) After 6 lines
(d) After 3 lines
(e) It depends on how large the TTL value is set at PC1.
4-
Which one of the following subnet mask can
NOT
be used with host IP address
192.168.168.168?
(a) /26
(b) /27
(c) /28
(d) /29
(e) All of the above can be used with the given address
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
2
of
7
5-
In the coaxial Ethernet LAN shown below, there are five PCs with the shown Ethernet card MAC addresses.
Assume that
PC-A sends an Ethernet frame to PC-D
. Based on the given information, which of the statements
about processing of this Ethernet frame is true?
a)
All Ethernet cards receive the frame, then examine destination MAC address then examine Type field
b)
All Ethernet cards receive the frame, examine destination address then perform CRC check
c)
Only PC-D Ethernet card receive the frame, examine destination MAC address then perform CRC check
d)
Only PC-D Ethernet card receive the frame, perform CRC check then examine destination MAC address
e)
All Ethernet cards receive the frame, perform CRC check then examine destination MAC address
6-
In which one of the following cases there is
NO
subnetting?
(a) IP address =
10.10.10.10
subnet mask = 255.255.0.0
(b) IP address = 192.168.169.170
subnet mask = 255.255.255.0
(c) IP address = 173.22.190.189
subnet mask = 255.255.255.0
(d) IP address = 192.168.0.0,
subnet mask = 255.255.255.128
(e) In all of the above cases there is subnetting
7-
In an IP packet, the header length (4-bits) and total length (16-bits) fields have the following binary values:
1001
and
00000001 10000001
.
Which one of the following statements is true?
(a) Header is 9 Bytes long and Packet is
385 Bytes long
(b) Header is
9 Bytes long and Packet is 129 Bytes long
(c) Header is 36
Bytes long and Packet is
385 Bytes
long
(d) Header is 64
Bytes long
and Packet is 129 Bytes long
(e) None of the above is true
8-
An organization is assigned the
Class C
IP address
192.168.0.0/24.
This organization has its headquarters in
Clear Lake and it has 11 additional branch locations.
The headquarters is assigned the first (i.e. smallest value)
usable subnet ID.
The next subnet ID is assigned to first branch location, the next to second branch location etc.
What is the subnet address of the
third branch location
?
(a) 192.168.0.96
(b) 192.168.0.32
(c) 192.168.0.64
(d) 192.168.0.48
(e) None of the above
9-
Given the IP address
10.216.215.214
and the subnet mask of
/17
, which one of the following cases is
true
about
subnet ID
and
actual host ID
?
(a) SID=216.1.0
AHID=0.214.214
(b) SID=216.128.0
AHID=0.87.214
(c) SID=216.160.0
AHID=0.55.214
(d) SID=216.96.0
AHID=0.119.214
(e) None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
3
of
7
10- The figure below shows two subnets that are built on coaxial Ethernet LANs. These subnets are interconnected
using its fa0/0 and fa0/1 interfaces of a Cisco router. The MAC addresses and the IP addresses of the PCs and
the router interfaces are as shown in the figure.
Assume that in the given network, PC-A boots up and immediately performs “
ping
” operations to hosts PC-B,
PC-C, PC-D and PCE. After all the ping operations are completed,
how many entries (i.e. lines) will be
present
in the
ARP cache
of
PC-A
?
a)
3 entries
b)
4 entries
c)
5 entries
d)
2 entries
e)
None of the above is true
11- In the network shown below,
Clear Lake PC
issues the following command:
“ping 172.20.2.11
” and
consequently the following output is observed at this PC:
What would be the
reason
for
“Destination host unreachable
” messages?
a)
Ethernet frames carrying the packet from Clear Lake PC to Pasadena PC had CRC errors
b)
Ethernet interface of Pasadena router is down
c)
Ethernet interface of Clear Lake router is down
d)
Pasadena PC is down
e)
Clear Lake router has missing static route
12- An organization uses a
Class A
address with a subnet mask of 255.255.224.0. How many usable address are
available in each subnet?
(a) 2
10
– 2
(b) 2
11
– 2
(c) 2
12
– 2
(d) 2
13
– 2
(e) None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
4
of
7
13- Which one of the following is
NOT
a broadcast address?
(a) IP address = 172.24.191.255,
subnet mask = 255.255.224.0
(b) IP address = 172.24.254.255,
subnet mask = 255.255.254.0
(c) IP address = 172.24.207.255,
subnet mask = 255.255.240.0
(d) IP address = 172.24.192.255,
subnet mask = 255.255.255.0
(e) All of the above are broadcast addresses
14- Which one of the statements is
wrong
about
ARP
?
(a)
ARP
stands for address resolution protocol
(b)
ARP
is
a
network layer protocol
(c)
ARP
allows mapping
IP addresses to NIC addresses
(d)
ARP
works only within the same subnet (LAN) and but also from one subnet to another
(e)
ARP entries are kept in ARP cache
for a limited amount of time
15- You are given the IP address
192.168.110.0/24.
This address space need to be used for
6 offices
in Clear Lake,
Alvin, Pasadena, Texas City, Galveston and League City
using old style routers.
You design a subnet mask
that allows maximum number of hosts in each city. Then you assign
the first usable subnet ID choice
(i.e. the
smallest usable subnet ID number) to Clear Lake, the one after that to Alvin, and the one after that to Pasadena
etc. What is the broadcast address for the Texas City subnet?
a) 192.168.110.79
b) 192.168.110.63
c) 192.168.110.65
d) 192.168.110.31
e)
None of the above
16- Which one of the following statements is
wrong
about Ethernet frames?
a)
Ethernet frame header is always14 Bytes long
b)
The first field on Ethernet frame is called Destination MAC address
c)
Ethernet frame uses a 4-Byte trailer called FCS which is used for error correction
d)
The last field in Ethernet frame header is called “Type” field
e)
Maximum payload that and Ethernet frame can carry is 1500 Bytes
17- A host computer “
X”
with IP address
192.168.150.124/26
can’t seem to be able to send packets to a host
Y
with
IP address
192.168.159.128/26
. What is the problem?
a)
Address of computer X is a broadcast address
b)
Address of computer Y is a subnet address
c)
Computer X must have the wrong default gateway address
d)
Computer Y must have the wrong default gateway address
e)
/26 is not a valid subnet mask
18- Which one of the following IP addresses
cannot
be assigned to a host as an IP address?
(a) 192.168.200.112/28
(b) 192.168.200.96/26
(c) 192.168.200.80/27
(d) 192.168.200.32/26
(e) All of the above are assignable host addresses
19- A computer with IP address
192.168.111.126/25
wants to send a packet to another computer with IP address
192.168.111.129.
What should it do?
(a) the destination computer is on the same subnet and it should send directly
(b) the destination computer is on a different subnet and it should send via the default gateway
(c) the destination computer address is not a legitimate address because it represents a subnet
address
(d) the destination computer address is not a legitimate address because it represents a broadcast
address
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
5
of
7
20- When
ARP Request
message is encapsulated in an Ethernet frame, the destination MAC address is set to:
(a) To the MAC address of the host to which the ARP request is sent to
(b) It is set to the same value as the IP address of the destination host
(c) It is set to the same value as the subnet address of the source host computer
(d) It is set to ffff.ffff.ffff
(e) None of the above is true
21- In an IP packet, the destination IP address appears as “
ca 47 9f 82”
and the source address appears as “
2e a5
f8 78”
(both addresses are in hexadecimal format).
What classes are these IP address respectively?
(a) The first is class C and the second is Class A address
(b) The first is class A and the second is Class C address
(c) The first is class B and the second is Class A address
(d) The first is class C and the second is Class B address
(e) None of the above
22- Which one of the following subnet masks
CAN
be used as a subnet mask for a
host
whose IP address is
172.30.159.255
?
(a) /18
(b) /19
(c) /21
(d) /20
(e) All of the above can be used as mask for a host
23- The
Type
field of an Ethernet frame has the binary value
00001000 00000000
in it.
What kind of payload is this
Ethernet frame carrying?
a) IP
b) ARP
c) UDP
d) TCP
e)
None of the above
24-
You are told that the IP address
192.168.1.159
has the AHID value
31
. Which one of the following masks could
be the correct subnet mask for this IP Address?
(a) /26
(b) /27
(c) /28
(d) /29
(e) None of the above
25- In the following network, how many static routes will be needed for
R5
?
.
a) 2
b) 3
c) 4
d) 5
e) 6
26- In an IP packet, “
Total Length”
field (a 2-Byte field) indicates the length of the IP packet. In this field, what would
the binary value be if the packet is the
minimum possible size
that would fit into an Ethernet frame (
hint
:
minimum Ethernet payload size is 46 Bytes)?
(a) 00000000
00101110
(b) 00000000
00011110
(c) 00000000
00101100
(d) 00000000
01001110
(e) None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
6
of
7
27- Two computers, PC1 and PC2 are on the same subnet of a small organization. Computer PC1 has the IP
address
192.168.195.164/28
.
Which of the following will be a usable address for PC2?
(a) 192.168195.160
(b) 192.168.195.191
(c) 192.168.195.158
(d) 192.168.195.175
(e) None of the above is a usable address for PC2
28- What type of cable do hub based Ethernets use?
a) Twisted pair cable
b) Coaxial cable
c) Bare copper cable
d) Electric cable
29- An organization has acquired
192.168.255.0/24
Class C address. This organization has a
total of 13 locations
.
After allocating the subnet addresses to those 13 locations,
the unused address space
needs to be utilized for
the serial links.
How many serial link addresses will be possible from the unused address space?
a) 12
b) 13
c) 8
d) 16
e)
None of the above
30- Assume that
University of Houston system
consists of
four (4)
campuses:
Main
,
Victoria
,
Clear
Lake
and
Downtown
. Furthermore, assume that UH system is assigned the
Class B address 172.26.0.0/16.
Also assume
that the host counts for Main, Victoria, Clear Lake and Downtown campuses are:
28,000 hosts,
12,500 hosts
,
6,900
hosts and
3,300 hosts
respectively.
The given class B address space needs to be allocated to four
campuses using
VLSM
design. Furthermore, assume that
Main campus has 14 building
s with all equal size
host counts i.e all subnets are the same size meaning
FLSM
design in main campus). Based on the given
information, what would be the subnet mask that should be used in Main Campus subnets (i.e. buildings)?
a) /21
b) /20
c) /22
d) /23
e)
None of the above is true
31- In a subnet the last usable address is given as 192.168.10.206/28. What is the subnet address for this particular
subnet?
a) 192.168.10.192
b) 192.168.10.200
c) 192.168.10.196
d) 192.168.10.176
e)
None of the above
32- The medium sharing method of Ethernet LANs can be summarized as “Listen Before Talking/Listen While
Talking” (
LBT/LWT
).
What is the official Ethernet term for this access method?
a)
Carrier Sense Multiple Access/Collision Detection
(CSMA/CD)
b)
Collision Detection Multiple Access/Carrier Sense
(CDMA/CS)
c)
Carrier Method Access Detection/Collision Sense
(CMAD/CS)
d)
Collision Sense Multiple Access/Carrier Detection
(CSMA/CD)
e)
None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
7
of
7
33- A computer with IP address 172.16.199.199/23 needs to send a broadcast IP packet on its subnet. What would
be the destination address on this packet?
a) 172.16.199.255
b) 172.16.223.255
c) 172.16.207.255
d) 172.16.255.255
e)
None of the above
34- The hexadecimal number sequence shown below is the first 42 Bytes of an
Ethernet frame
which is carrying an
IP packet as its payload. This frame is sent from a source computer which is using
/28 as the subnet mask
.
Using the packet header format shown below, determine if the source and the destination computers are on the
same subnet or on the same network.
eb
2c
3a
05
f2
fa
4b
2c
3c
1f
3d
b7
08
00
47
00
01
4f
f2 3d 00 00
08
06
2c
39
c0
a8 22 46
c0
a8
22
55
71
ce 3d fa
27 3b 56 d2
. . . . . . . . . . . . . .
a)
Source and destination computers are on the same network but on different subnets
b)
Source and destination computers are on different Class C networks
c)
Source and destination computers are on the same network and on the same subnet
d)
Source and destination computers are on different Class B networks
e)
None of the above is true
35- A small company has bought six
old style routers (
which don’t allow all 0 and all 1 subnets). This company has
acquired the Class C address
192.168.168.0/24
and it intends to use those old style routers to interconnect its
seven locations
by subnetting the given Class C address. Those seven locations are: Clear Lake
(headquarters), Alvin, Pasadena, League City, Dickinson, Texas City, and Galveston.
In its subnet mask
selection, the company would like to maximize the number of usable host addresses for each location. Based on
the given information, how many unused subnets this organization would end up with after the required design?
In your answer
do not
take into account addresses required for the serial links.
.a) 1
b) 3
c) 5
d) 7
e) None of the given choices is correct
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
1
of
7
Exercise Set 22
Answers are shown in red colors
You will assume that all
0
and
all
1
subnets
are
USABLE
unless otherwise stated
1-
An organization uses a Class A address with a mask 255.255.192.0 using FLSM. How many usable address are
available in each subnet?
(a) 2
10
– 2
(b) 2
11
– 2
(c) 2
12
– 2
(d) 2
13
– 2
(e) None of the above
2-
In an IP packet, the header length field has the following binary value: 0110. Is there “
options
” field in this packet
header?
a).
Yes, there is “options” field.
b).
No, there is no “options” field.
c).
“options” field does not depend on the packet header size.
d).
“options” field exist only if the packet header field has the binary value 0101.
e).
None of the above is true
3-
Consider the network given below. If PC1 creates a packet to go to PC3, and places into a
frame
which hosts
will “
hear
” this
frame
originating from PC1?
(a) PC2, R1
(b) PC2, PC3,PC4,PC5
(c) PC3
(d) PC2, PC3
(e) None of the above is true
4-
Which of the following is not a legitimate IP address for a host?
(a) 192.168.255.254/24
(b) 10.255.255.254/8
(c) 191.191.191.191/24
(d) 157.256.255.254/24
(e) All of the above are legitimate IP addresses
5-
A router receives a packet and after examining the packet header and finds the destination IP address (in binary)
as:
10100111
10010001
11000011
01100001.
The router uses /23 as subnet mask. What is the
Subnet ID
number
in decimal form?
(a) 195.0
(b) 194.0
(c) 195.97
(d) 192.97
(e) None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
2
of
7
6-
In which one of the following cases there is
NO
subnetting?
(a) IP address =
10.10.10.10
subnet mask = 255.255.0.0
(b) IP address = 192.168.169.170
subnet mask = 255.255.255.0
(c) IP address = 173.22.190.189
subnet mask = 255.255.255.0
(d) IP address = 192.168.0.0,
subnet mask = 255.255.255.128
(e) In all of the above cases there is subnetting
7-
In the following network, how many static routes will be needed for
R3
? Dashed lines are T1 links and solid lines
are Ethernet networks.
a) 3
b) 4
c) 5
d) 6
e) 7
8-
In an IP packet, the header length (4-bits) and total length (16-bits) fields have the following binary values:
1001
and
00000001 10000001
.
Which one of the following statements is true?
(a) Header is 9 Bytes long and Packet is
385 Bytes long
(b) Header is
9 Bytes long and Packet is 129 Bytes long
(c) Header is 36
Bytes long and Packet is
385 Bytes
long
(d) Header is 64
Bytes long
and Packet is 129 Bytes long
(e) None of the above is true
9-
An organization is assigned the
Class B
IP address
172.16.0.0/16.
This organization has its headquarters in
Houston and it has 39 additional branch locations in the USA.
The headquarters is assigned the first (i.e.
smallest value) usable subnet ID.
The next subnet ID is assigned to first branch location, the next to second
branch location etc. What is the subnet address of the
third branch location
?
(a) 172.16.8.0
(b) 172.16.12.0
(c) 172.16.16.0
(d) 172.16.20.0
(e) None of the above
10- Given the IP address
10.216.215.214
and the subnet mask of
/17
, which one of the following cases is
true
about
subnet ID
and
actual host ID
?
(a) SID=216.1.0
AHID=0.214.214
(b) SID=216.128.0
AHID=0.87.214
(c) SID=216.160.0
AHID=0.55.214
(d) SID=216.96.0
AHID=0.119.214
(e) None of the above
R1
fa0/0
R2
s0
s1
fa0/0
R3
fa0/0
R4
s0
s1
fa0/0
s0
s1
T1
T1
T1
R5
fa0/0
s0
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
3
of
7
11- An organization uses a
Class A
address with a subnet mask of 255.255.128.0. How many subnets are
available?
(a) 2
8
(b) 2
8
– 2
(c) 2
9
– 2
(d) 2
9
(e) None of the above
12- The figure below shows two subnets that are built on coaxial Ethernet LANs. These subnets are interconnected
using its fa0/0 and fa0/1 interfaces of a Cisco router. The MAC addresses and the IP addresses of the PCs and
the router interfaces are as shown in the figure.
Assume that in the given network, PC-A boots up and immediately performs “
ping
” operations to hosts PC-D,
and PCE. After two ping operations are completed,
how many entries (i.e. lines) will be present
in the
ARP
cache
of
PC-A
?
a)
1 entry
b)
2 entries
c)
3 entries
d)
4 entries
e)
None of the above is true
13- Which one of the following is
NOT
a broadcast address?
a) IP address =
128.127.255.255,
subnet mask = 255.255.0.0
b)
IP address = 128.127.251.255,
subnet mask = 255.255.255.0
c)
IP address = 128.127.191.255,
subnet mask = 255.255.224.0
d)
IP address = 128.127.252.255,
subnet mask = 255.255.240.0
e)
All of the above are broadcast addresses
14- The purpose of the TTL field in the IP header is:
(a) To measure the Time To Live for IP packets in seconds
(b) To limit the lifetime of a packet in seconds
(c) To let the receiving host determine how many hops packet made
(d) To prevent packets from getting into endless routing loops
(e) None of the above
15- A host computer “
X”
with IP address
192.168.150.96/26
can’t seem to be able to send packets to a host
Y
with
IP address
192.168.150.127/26
. What is the reason?
a)
Address of computer Y is a broadcast address
b)
Address of computer Y is a subnet address
c)
Address of computer X is a subnet address
d)
Address of computer X is a broadcast address
e)
None of the above is the reason.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
4
of
7
16- Which of the following can
NOT
be used as a mask for a host IP address 126.135.240.0?
(a) /19
(b) /21
(c) /17
(d) /15
(e) All of the above can be used as a mask for the given address
17- In the network shown below,
PC1
has the IP address
172.16.1.10/24
and
PC2
has the IP address
172.16.5.10/24
. Furthermore, in all of the routers, fa0/0 and
s0/0 interfaces are assigned the first usable IP
address
in their subnet and
s0/1 interfaces are assigned the second usable IP address
in their subnet.
Assume that
PC2
issues the following command:
“tracert 172.16.1.10”.
What IP addresses will be displayed in
line 4
in the output shown below?
C>tracert 172.16.1.10
Tracing route to 172.16.1.10
Over a maximum of 39 hops:
1
1 ms
2 ms 1 ms
172.16.5.1
2
1 ms
2 ms 1 ms
3
1 ms
2 ms 1 ms
4
1 ms
2 ms 1 ms
??
5
1 ms
2 ms 1 ms
(a) 172.16.4.1
(b) 172.16.4.2
(c) 172.16.3.2
(d) 172.16.2.1
(e) None of the above
18- A router R1 receives a packet and forwards it to the next router on the path (R2). After the packet leaves R2,
TTL field of the packet contains the decimal number 11. Based on the data provide, which one of the following
statements is wrong?
(a) After R2, the packet can make 10 more hops.
(b) After R2, the packet can make 11 more hops.
(c) After R2, the packet can live 11 more seconds.
(d) After R2, the packet can live 10 more seconds.
(e) None of the above is true
19- The
Type
field of an Ethernet frame has the binary value
00001000 00000110
in it.
What kind of payload is this
Ethernet frame carrying?
a) IP
b) ARP
c) UDP
d) TCP
e)
None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
5
of
7
20- A computer with IP address
192.168.111.222/27
wants to send a packet to another computer with IP address
192.168.111.225.
What should it do?
(a) the destination computer is on the same subnet and it should send directly
(b) the destination computer is on a different subnet and it should send via the default gateway
(c) the destination computer address is not a legitimate address because it represents a subnet
address
(d) the destination computer address is not a legitimate address because it represents a broadcast
address
21- In an IP packet, the destination IP address appears as “
ca 47 9f 82”
and the source address appears as “
2e a5
f8 78”
(both addresses are in hexadecimal format).
What classes are these IP address respectively?
(a) The first is class C and the second is Class A address
(b) The first is class A and the second is Class C address
(c) The first is class B and the second is Class A address
(d) The first is class C and the second is Class B address
(e) None of the above
22- Which one of the following subnet masks
CAN
be used as a subnet mask for a
host
whose IP address is
172.30.159.255
?
(a) /18
(b) /19
(c) /21
(d) /20
(e) All of the above can be used as mask for a host
23-
You are told that the IP address of a host is
192.168.88.223
and that the IP address has the AHID value of
31
.
Which one of the following masks could be the correct subnet mask for this IP Address?
(a) /27
(b) /28
(c) /25
(d) /26
(e) None of the above
24- In a subnet the last usable IP address is given as 192.168.10.190/28. What is the subnet IP address for this
particular subnet?
a) 192.168.10.176/28
b) 192.168.10.160/28
c) 192.168.10.128/28
d) 192.168.10.184/28
e)
None of the above
25- In a Cisco router NVRAM memory holds:
(a) Configuration information
(b) Operating System (IOS)
(c) Enable and telnet passwords
(d) IP addresses of the serial interfaces
(e) None of the above
26- Assume that the checksum field in the IP header indicates that there is an error. This would mean that the error
is in:
(a) In the packet header
(b) In the packet payload
(c) In the entire packet
(d) In the entire packet except the checksum field
(e) None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
6
of
7
27- The following binary number is the MAC address of an Ethernet network interface car (NIC):
10011100 01001100 10100001 10010001 11001101 10111100
What is the serial number of the source Ethernet card in hexadecimal?
a) 91 cd bc
b)
a1 91 cd bc
c) 9c 4c a1
d)
9c 4c a1 91
e)
None of the above
28- Traceroute program utilizes the following protocols and protocol features:
(a) ICMP “destination unreachable”, ICMP “time exceeded”, ICMP “echo request” and IP “hop count”
(b)
ICMP “echo request”,
ICMP “echo response” , ICMP “time exceeded” and IP “TTL”
(c) ICMP “echo request”, ICMP “echo response”, ICMP “time exceeded”
and IP “ULP”
(d) ICMP “echo request” ICMP “echo response”, ICMP “destination unreachable”,
and IP “TTL”
(e) ICMP “time exceeded”, ICMP “echo request”, IP “TTL” and IP “ULP”
29- An organization has acquired
192.168.200.0/24
Class C address. This organization has a
total of 10 locations
with similar size host counts
(i.e. it uses the same subnet mask for all locations). After allocating the subnet
addresses to those 10 locations,
the unused address space
needs to be utilized for the serial links using /30
mask.
How many serial link addresses will be possible from the unused address space?
Assume old style
routers in this question.
a) 12
b) 16
c) 10
d) 8
e)
None of the above
30- Assume that a small company has its headquarters in Clear Lake and two branch locations in Pasadena and
Alvin. This company is assigned the Class C IP address 192.168.168.0/24. Company uses VLSM design in its
subnets. It is given that Clear Lake location has 101 hosts, Pasadena location has 56 hosts and Alvin has 24
hosts. The company is planning to use the unused address space for 3 serial links that it will need. What will be
the subnet address for Alvin?
a) 192.168.168.192/27
b) 192.168.168.224/26
c) 192.168.168.128/26
d) 192.168.168.160/27
e)
None of the above is true
31- The medium sharing method of Ethernet LANs can be summarized as “Listen Before Talking/Listen While
Talking” (
LBT/LWT
).
What is the official Ethernet term for this access method?
a)
Carrier Sense Multiple Access/Collision Detection
(CSMA/CD)
b)
Collision Detection Multiple Access/Carrier Sense
(CDMA/CS)
c)
Carrier Method Access Detection/Collision Sense
(CMAD/CS)
d)
Collision Sense Multiple Access/Carrier Detection
(CSMA/CD)
e)
None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
7
of
7
32- A computer with IP address 172.16.199.197/22 needs to send a broadcast IP packet on its subnet. What would
be the destination address on this packet?
a) 172.16.199.255
b) 172.16.197.255
c) 172.16.193.255
d) 172.16.223.255
e)
None of the above
33- The following hexadecimal number sequence is the first 42 Bytes of an Ethernet frame which is carrying an IP
packet as its payload:
eb 2c 3a 05 f2 fa 4b 2c 3c 1f 3d b7 08 00 48 00 01 4f f2 3d 00 00 08 06 2c 39 7a 24 d1 33 dc 7a a8 ec 71
ce
3d fa 27 3b 56 d2……………
Use the packet header format shown above. What is the IP header length of the packet carried inside the
Ethernet frame?
a) 4 Words
b) 8 Bytes
c) 32 Bytes
d) 12 Words
e)
None of the above is true
34- Which of the following is
not
in IP header?
a) TTL
b) TOS
c)
Type
d) ULP
e) Checksum
35- Which one of the following choices is
wrong
about IP and MAC addresses?
a)
IP addresses are assigned to hosts (i.e. computers and routers)
b)
MAC addresses are assigned to Ethernet cards
c)
IP addresses must be unique on the Internet
d)
IP addresses are 6 octets long and MAC addresses are 4 octets long
e)
When all bits of the MAC address are set to binary 1’s, this means it is a Broadcast MAC address.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
1
of
6
Exercise Set 24
Answers are shown in red colors
You will assume that all
0
and
all
1
subnets
are
USABLE
unless otherwise stated
Each question is 4 points.
1-
An organization uses a Class-A address with a subnet mask of 255.255.128.0. How many subnets will be available in this
organization?
(a)
2
9
(b)
2
17
(c)
2
17
– 2
(d)
2
9
– 2
(e)
None of the above
2-
In the network given below, assume that PC1 and PC3 has the same Ethernet address (assume possible). What kind of problem
does this pose in the operation of the shown network?
(a)
It will create an issue when an ARP request is sent on PC1’s network
(b)
There will be no problem in network operation.
(c)
It will create an issue when an ARP request is sent on PC3’s network.
(d)
Both (a) and (c) above are true
(e)
None of the above is true
3-
Which of the following is
NOT
a legitimate IP address to assign to a host in this organization?
(a)
192.168.255.254/24
(b)
10.255.255.254/8
(c)
191.191.191.191/24
(d)
172.16.254.0/25
(e)
All of the above are legitimate IP addresses
4-
A
broadcast
Ethernet frame has its “
Type
” field value is set to hexadecimal value “
x0806
”. What kind of payload would this
frame be carrying?
(a)
It is carrying an IP broadcast packet
(b)
It is carrying an ARP response message
(c)
It is carrying an ICMP destination unreachable message
(d)
It is carrying a “IP Unicast” packet
(e)
None of the above
5-
In which one of the following cases there is
NO
subnetting
?
(a)
IP address =
10.10.10.10
subnet mask = 255.255.0.0
(b)
IP address = 191.168.169.170
subnet mask = 255.255.255.0
(c)
IP address = 172.22.190.189
subnet mask = 255.255.255.0
(d)
IP address = 192.168.0.0,
subnet mask = 255.255.255.128
(e)
In all of the above cases there is subnetting
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
2
of
6
6-
In the following network, there are four subnets (Subnet A, B, C and D) with subnet addresses 172.16.1.0/24, 172.16.2.0/24,
172.16.3.0/24 and 172.16.4.0/24 as shown in the figure. Subnet B is a serial link between R1 and R2. On subnet A and D, router
Fast-Ethernet interfaces have the first usable IP address in their subnet. On subnet C, R2 has the first usable address and R3 has
the second usable IP address on their fast-Ethernet interfaces. On Subnet B, R1 has the first usable IP address and R2 has the
last usable IP address. All the PCs have the 11
th
usable IP address on their subnets. The network administrator has configured all
the router interfaces correctly. As the next step the network administrator issues the static route commands shown below at
each router. Subsequently, when users try to use “ping” command, some PCs cannot ping others. What is the problem?
R1:
R2:
ip route 172.16.3.0 255.255.255.0 172.16.2.2
ip route 172.16.1.0
255.255.255.0
172.16.2.1
ip route 172.16.4.0 255.255.255.0 172.16.2.2
ip route 172.16.4.0
255.255.255.0
172.16.3.2
R3:
ip route 172.16.1.0 255.255.255.0 172.16.3.1
ip route 172.16.2.0 255.255.255.0 172.16.3.1
a)
There is an error in R1 static route commands
b)
There are errors in R2 and R3 static route commands
c)
There is an error in R2 static route commands
d)
There is an error in R3 static route commands
e)
There are no errors in static route commands, problem must be somewhere else.
7-
In an IP packet, originating from computer X in the figure below has in its total length field (16 bits) the following binary value:
00000001 00001001.
The packet arrives at R1 which needs to forward it to N1 via the serial link (leased line link).
Which one of
the following statements will be true?
(a)
R1 examines the destination IP address, decrements the TTL field by 1 and forwards the packet
(b)
R1 determines that the total length field is an invalid number and discards the packet
(c)
R1 fragments the packet into multiple packets and forwards them to N1
(d)
R1 sends the packet back to X because its field length must be 4 bits long.
(e)
None of the above is true
8-
Assume that UH System
has been assigned the
Class B
IP address
172.16.0.0/16
which
is subnetted among five campuses
(Main, Victoria, Clear Lake, Downtown and Sugar Land). Downtown campus which is assigned 172.16.224.0/20 subnet, needs to
further subnet this address space among its four buildings which have the following host counts:
Building 1 (B1): 1225 hosts
Building 2 (B2): 680 hosts
Building 3 (B3): 440 Hosts
Building 4 (B4): 190 Hosts
What should be the subnet masks for those buildings?
(a)
B1: /20,
B2: /22,
B3: /23,
B4: /24
(b)
B1: /21,
B2: /23,
B3: /23,
B4: /24
(c)
B1: /20,
B2: /23,
B3: /24,
B4: /24
(d)
B1: /21,
B2: /22,
B3: /23,
B4: /24
(e)
None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
3
of
6
9-
Given the IP address
129.7.214.213
and the subnet mask of
/17
, which one of the following cases will be
true
about
subnet ID
and
actual host ID numbers
?
(a)
SI= 1.0
AHID= 214.214
(b)
SID=128.0
AHID= 86.213
(c)
SID= 160.0
AHID= 54.213
(d)
SID= 96.0
AHID= 118.213
(e)
None of the above
10-
The Type of Service (TOS) bits in an IP packet header has the following settings: 01000100. What can be said about the
requested type of service for this packet?
a)
Packet is set with the default priority (i.e. zero priority) and one of the flags (Delay, Throughput, Reliability) is set.
b)
Packet is set with the default priority (i.e. zero priority) and none of the flags (Delay, Throughput, Reliability) is set.
c)
Packet is set with the priority 2 and one of the flags (Delay, Throughput, Reliability) is set.
d)
Packet is set with the priority 68 and none of the flags (Delay, Throughput, Reliability) is set.
e)
None of the above is correct
11-
The figure below shows two subnets that are built on coaxial Ethernet LANs. MAC addresses and IP addresses of the PCs and the
router interfaces are as shown in the figure.
Assume that PC-A boots up and immediately “
pings
” three hosts; PC-B, PC-C, and PC-E. After the ping operations are completed,
how many entries (i.e. lines) will be present
in the
ARP cache
of
PC-A
?
a)
1 entry
b)
2 entries
c)
3 entries
d)
4 entries
12-
Which one of the following is
NOT
a broadcast address?
a)
IP address = 129.7.255.255,
subnet mask = 255.255.0.0
b)
IP address = 129.7.251.255,
subnet mask = 255.255.254.0
c)
IP address = 129.7.191.255,
subnet mask = 255.255.224.0
d)
IP address = 129.7.253.255,
subnet mask = 255.255.240.0
e)
All of the above are broadcast addresses
13-
A host computer “
X”
with IP address
192.168.150.146/28
can’t seem to be able to send packets to a host
Y
with IP address
192.168.150.144/28
. What is the reason?
a)
Address of computer Y is a broadcast address
b)
Address of computer Y is a subnet address
c)
Address of computer X is a subnet address
d)
Address of computer X is a broadcast address
e)
None of the above is the reason.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
4
of
6
14-
In the network shown below, the router is assigned the last usable IP address in the subnet. PC-A is assigned the first usable IP
address, PC-B, the next usable IP address and so on. MAC addresses of PCs are aaaa.aaaa.aaaa for PC-A, bbbb.bbbb.bbbb for PC-
B and so on. R1 has the MAC address 1111.1111.1111. PC-A sends a packet in a unicast frame to PC-D. Which one of the
following statements will be true?
a)
Frame from PC-A will be received only by PC-D Ethernet card and packet will be delivered to IP protocol
b)
Frame from PC-A will be received by all Ethernet cards but only PC-D delivers the packet to IP protocol.
c)
Frame and its payload from PC-A will be received by IP protocols of PC-D and R1 only.
d)
Frame and its payloads from PC-A will be received by R1 which will forward it to PC-D
15-
In the network shown below, routers’ Ethernet interfaces are assigned the last usable IP addresses in their subnets. On the
serial link, R1 serial interface is assigned the first usable IP address and R2 serial interface is assigned the last usable IP address.
Which of the following statements are true about the Default Gateway (DGW) IP addresses?
a)
PC1 DGW: 172.16.1.1, PC2 DGW: 172.16.3.254
b)
PC1 DGW: 172.16.1.254, PC2 DGW: 172.16.3.254, R1 DGW: 172.16.2.254, R2 DGW: 172.16.2.1
c)
PC1 DGW: 172.16.1.254, PC2 DGW: 172.16.3.254, R1 DGW: 172.16.2.1, R2 DGW: 172.16.2.254
d)
PC1 DGW: 172.16.1.254, PC2 DGW: 172.16.3.1, R1 DGW: 172.16.2.254, R2 DGW: 172.16.2.254
e)
None of the above is correct
16-
Which of the following operations must be performed
first
when an Ethernet card
receives
a broadcast Ethernet frame?
(a)
Destination MAC address in the Ethernet frame must be checked to make sure ffff.ffff.ffff
(b)
CRC field must be examined to detect errors
(c)
Source MAC address in the Ethernet frame must be checked to make sure ffff.ffff.ffff
(d)
Type field must be check to make sure it is 0800 hexadecimal
(e)
None of the above is correct
17-
In an IP packet, the source IP address appears as “
c0 a8 b2 b2”
in hexadecimal with subnet mask /28 (in decimal).
What is the
AHID number of this host?
(a)
AHID number is 2
(b)
AHID number is 50
(c)
AHID number is 18
(d)
AHID number is 78
(e)
None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
5
of
6
18-
Two computers, PC1 and PC2 are on the same coaxial Ethernet LAN. Both PCs attempt to access the LAN at the same time and
they collide. Later, they both PCs try and collide for the second time again. On the third attempt, as part of exponential binary
back-off algorithm, each PC picks a random number which defines the amount of time slots to be waited. Which of the following
will be true about this random number the PCs pick?
a)
It will be a number between 1 and 4
b)
It will be a number between 1 and 8
c)
It will be a number between 1 and 2
d)
It will be a number between 1 and 16
e)
None of the above
19-
A computer with IP address
192.168.111.222/28
wants to send a packet to another computer with IP address
192.168.111.205.
What should it do?
(a)
the destination computer is on the same subnet and it should send directly
(b)
the destination computer is on a different subnet and it should send via the default gateway
(c)
the destination computer address is not a legitimate address because it represents a subnet address
(d)
the destination computer address is not a legitimate address because it represents a broadcast address
20-
In a subnet the broadcast IP address is given as 192.168.10.191/29. What is the subnet IP address for this particular subnet?
a)
192.168.10.184
b)
192.168.10.176
c)
192.168.10.180
d)
192.168.10.160
e)
None of the above
21-
A Cisco 2621xm router has
two
FastEthernet,
two
Serial interfaces and a console port. What is the maximum number of IP
addresses that can be assigned to this router?
(a)
5 IP addresses
(b)
1 IP address
(c)
2 IP addresses
(d)
4 IP addresses
(e)
None of the above
22-
Ethernet card of a computer has the MAC address as
a01b.9c38.0000
(in hexadecimal). For the given MAC address, what would
be the
IP address
for this computer?
(a)
160.27.156.56
(b)
156.56.208.177
(c)
27.156.56.208
(d)
IP address can’t be determined from MAC address
23-
Which one of the following items is not an ICMP “Type”?
(a)
ICMP “time exceeded”
(b)
ICMP “echo request”
(c)
ICMP “echo response”
(d)
ICMP “PING request”
(e)
All of the above are ICMP Types
24-
What is the purpose of “
Listen Before Talking
(LBT)” part of Ethernet medium access method?
a)
To detect potential collisions
b)
To sense idleness of the communications medium
c)
To avoid potential reflections from cable ends
d)
To reduce the effect of errors resulting from CRC field.
e)
None of the above
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Page
6
of
6
25-
A computer with IP address 129.7.196.197/21 needs to send a broadcast IP packet on its subnet. What would be the destination
address on this packet?
a)
129.7.199.255
b)
129.7.191.255
c)
129.7.255.255
d)
129.7.223.255
e)
None of the above
26-
The following hexadecimal number sequence is the first 42 Bytes of a long Ethernet frame which is carrying an IP packet as its
payload:
eb 2c 3a 05 f2 fa
4b 2c 3c 1f 3d b7
08 00
45 00 01 4f
f2 3d 00 00
95 06 89 39
81 07 88 33
81 07 49 91
71
ce 3d fa 27 3b 56
d2…………
YOUR TASK:
What is the source IP address in dotted decimal notation?
a)
81.07.88.33
b)
129.7.73.51
c)
81.07.49.91
d)
95.6.89.39
e)
None of the above is true
27-
Two PCs, PC-A and PC-B are interconnected with a long communication cable. PC-A sends to PC-B 8 data bits appended with a
parity bit as shown in the figure below. Due to electrical noise shown bit values change during the transmission. What would PC-
B do when it receives the shown 9-bit message?
a)
PC-B, with the help of the parity bit, corrects the erroneous bits
b)
PC-B decides that there is an error in the bit sequence and discards the message
c)
Parity bit does not allow PC-B to detect the bit errors and PC-B assumes the message is OK
d)
PC-B cannot decide whether there is error or not and waits PC-A to send the message again
e)
None of the above is true
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Documents
Recommended textbooks for you

Fundamentals of Information Systems
Computer Science
ISBN:9781337097536
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning

Comptia A+ Core 1 Exam: Guide To Computing Infras...
Computer Science
ISBN:9780357108376
Author:Jean Andrews, Joy Dark, Jill West
Publisher:Cengage Learning

A+ Guide To It Technical Support
Computer Science
ISBN:9780357108291
Author:ANDREWS, Jean.
Publisher:Cengage,

Enhanced Discovering Computers 2017 (Shelly Cashm...
Computer Science
ISBN:9781305657458
Author:Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:Cengage Learning

A+ Guide to Hardware (Standalone Book) (MindTap C...
Computer Science
ISBN:9781305266452
Author:Jean Andrews
Publisher:Cengage Learning

LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:9781337569798
Author:ECKERT
Publisher:CENGAGE L
Recommended textbooks for you
- Fundamentals of Information SystemsComputer ScienceISBN:9781337097536Author:Ralph Stair, George ReynoldsPublisher:Cengage LearningComptia A+ Core 1 Exam: Guide To Computing Infras...Computer ScienceISBN:9780357108376Author:Jean Andrews, Joy Dark, Jill WestPublisher:Cengage LearningA+ Guide To It Technical SupportComputer ScienceISBN:9780357108291Author:ANDREWS, Jean.Publisher:Cengage,
- Enhanced Discovering Computers 2017 (Shelly Cashm...Computer ScienceISBN:9781305657458Author:Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. CampbellPublisher:Cengage LearningA+ Guide to Hardware (Standalone Book) (MindTap C...Computer ScienceISBN:9781305266452Author:Jean AndrewsPublisher:Cengage LearningLINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.Computer ScienceISBN:9781337569798Author:ECKERTPublisher:CENGAGE L

Fundamentals of Information Systems
Computer Science
ISBN:9781337097536
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning

Comptia A+ Core 1 Exam: Guide To Computing Infras...
Computer Science
ISBN:9780357108376
Author:Jean Andrews, Joy Dark, Jill West
Publisher:Cengage Learning

A+ Guide To It Technical Support
Computer Science
ISBN:9780357108291
Author:ANDREWS, Jean.
Publisher:Cengage,

Enhanced Discovering Computers 2017 (Shelly Cashm...
Computer Science
ISBN:9781305657458
Author:Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:Cengage Learning

A+ Guide to Hardware (Standalone Book) (MindTap C...
Computer Science
ISBN:9781305266452
Author:Jean Andrews
Publisher:Cengage Learning

LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:9781337569798
Author:ECKERT
Publisher:CENGAGE L