Chapter 11 - TCP/IP

navybeansvietnameseNetworking and Communications

Oct 24, 2013 (3 years and 9 months ago)

99 views

Chapter 11
-

TCP/IP

TRUE/FALSE


1.

You can interconnect two or more TCP/IP networks and not be on the Internet.


ANS:

T

REF: 244


2.

Routers cannot forward ARP requests because they are broadcasts.


ANS:

T

REF: 246


3.

The part of the IP address that is
the same for all computers on a network is called the Host ID.


ANS:

F

REF: 248


4.

If the first octet of the IP address begins with 110, the system belongs to a Class C network.


ANS:

T

REF: 251


5.

One of the downsides of subnetting is that you will ha
ve fewer host numbers in each new subnet.

ANS:

T

REF: 255


6.

As the Internet grew, DNS was replaced with HOSTS.


ANS:

F

REF: 259


7.

DNS allows individual client machines in an IP network to configure all their IP settings
automatically.


ANS:

F

REF: 2
61


8.

Windows 2000/XP/2003 systems all support DNS.

ANS:

T

REF: 262


9.

Since a server may run only one server program at a time, it is necessary to have two separate systems
to run both DNS and DHCP.

ANS:

F

REF: 262


10.

For IPv6 addresses, you can use

two periods to indicate a string of consecutive 16
-
bit groups with a
value of zero.

ANS:

F

REF: 266


MULTIPLE CHOICE



1.

Which of the following is a valid IP address for an individual system expressed in decimal notation?

a.

0.0.0.0

c.

128
-
5EF
-
297

b.

2
55.255.255.255

d.

215.261.32.91



ANS:

D

REF: 240


2.

How many binary digits are in an IP address?

a.

4

c.

16

b.

8

d.

32



ANS:

D

REF: 240


3.

Each of the four groups of an IP address will have decimal values ranging from ____________.

a.

1 to 256

c.

1 to 1024

b.

0 to 255

d.

0 to 1023



ANS:

B

REF: 241


4.

What is the binary equivalent of the decimal value 97?

a.

0110001

c.

01000001

b.

1001110

d.

01101010



ANS:

A

REF: 242
-
243


5.

What is the broadcast address that is sent to all systems on the n
etwork?

a.

0.0.0.0

c.

FFFFFFFFFFFF

b.

127.0.0.1

d.

1.1.1.1



ANS:

C

REF: 245
-
246


6.

All of the following statements are true about the subnet mask
except

____________.

a.

A 0 in the subnet mask indicates part of
the network ID.

c.

The subnet mask can b
e expressed either
in dotted decimal or in the /x notation
(example: 192.168.14.3 /24)

b.

All machines on the same network have
the same subnet mask.

d.

The subnet mask is the same length as an
IP address.



ANS:

A

REF: 250


7.

The first octet of a Cla
ss A IP address always begins with ____________.

a.

00

c.

110

b.

10

d.

0



ANS:

D

REF: 251


8.

If the first decimal value of an IP address is between 128 and 191, to what IP class does the network
belong?

a.

Class A

c.

Class C

b.

Class B

d.

Class D



ANS:

B

REF: 251


9.

Without subnetting, what is the maximum number of hosts you may have on a network if the first
decimal value of the IP address is between 192
-
223?

a.

16.7 million

c.

254

b.

65,546

d.

64



ANS:

C

REF: 251


10.

What will a router do i
f it receives a packet that does not match any of the routes in its routing table?

a.

It will discard the packet

c.

It will broadcast the packet’s network ID



䥴 will 景牷a牤 the packet to its own
de晡ult gateway ⡩映one has been speci晩ed)



䥴 will r
etu牮 the packet to its sending
system.



ANS:

B

REF: 253
-
254


11.

Which of the following subnet masks is an example of classless subnetting?

a.

/8

c.

/16

b.

/12

d.

/24



ANS:

B

REF: 255


12.

What command can you give to test the NIC’s ability to send

and receive packets?

a.

ARP
-
a

c.

PING 127.0.0.1

b.

PING 255.255.255.255

d.

IPCONFIG



ANS:

C

REF: 257


13.

Which of the following is not a designated private IP addresses?

a.

192.168.64.7

c.

153.6.2.1

b.

172.28.16.48

d.

10.164.19.5



ANS:

C

REF: 25
8


14.

Which of the following is
not

a top level domain name?

a.

.us

c.

.mil

b.

.htm

d.

.net



ANS:

B

REF: 260


15.

Domain names must be registered for Internet use with an organization called ____________.

a.

ICANN

c.

IANA

b.

IEEE

d.

IETF



ANS:

A

RE
F: 260


16.

Which of the following is
not

part of a fully qualified domain name (FQDN)?

a.

the host name

c.

the top level domain name

b.

the second level domain name

d.

the IP address



ANS:

D

REF: 260


17.

What did Microsoft create that solved the pro
blem of resolving IP addresses to NetBIOS names
without using broadcasting?

a.

DNS

c.

ARP

b.

WINS

d.

DHCP



ANS:

B

REF: 263


18.

Which of the following is the protocol that automatically configures a system’s IP information for end
users?

a.

DNS

c.

DHCP

b.

WINS

d.

ARP



ANS:

C

REF: 261


19.

What function is being used if a packet goes to port 80?

a.

FTP

c.

Telnet

b.

web browsing

d.

e
-
mail



ANS:

B

REF: 263


20.

Most of the maintenance jobs on a TCP/IP network are handled by the simple protocol name
d
___________________.

a.

UDP

c.

HTTP

b.

IPICMP

d.

DHCP



ANS:

A

REF: 263



21.

File Transfer Protocol (FTP) uses which port(s)?

a.

80

c.

25 and 110

b.

20 and 21

d.

23



ANS:

B

REF: 265


22.

Which protocol is often used for transferring files between

servers and clients without requiring a user
login?

a.

HTTP

c.

TFTP

b.

FTP

d.

SMTP



ANS:

C

REF: 265


23.

Which protocol handles outgoing e
-
mail?

a.

POP3

c.

SNMP

b.

SMTP

d.

TFTP



ANS:

B

REF: 265


24.

If your system receives packets on ports 110 and

25, where does it send them?

a.

To the DHCP server

c.

To the web browser

b.

To the DNS server

d.

To the e
-
mail application



ANS:

D

REF: 265


25.

What is the length of addresses in IPv6?

a.

32 bits

c.

128 bits

b.

64 bits

d.

256 bits



ANS:

C

REF: 26
6


26.

What organization developed the new IPv6 standard?

a.

IEEE

c.

IANA

b.

ICANN

d.

IETF



ANS:

D

REF: 266


27.

Which of the following is an example of an IPv6 address?

a.

197.169.94.82

b.

FEDC:BA98:7654:3210:0800:200C:00CF:1234

c.

197.169.94.82/24

d.

FEDC.BA98.7654.3210.0800.200C.00CF.1234.56AE.9512



ANS:

B

REF: 266



28.

If you cannot receive e
-
mail, what protocol should you suspect is not working properly?

a.

POP3

c.

SNMP

b.

SMTP

d.

HTTP



ANS:

A

REF: 265


29.

In an IPv6 address, each group

is ___________________.

a.

a decimal value between 0 and 255

c.

a 16
-
bit group with a hexadecimal number
with a value between 0000 and FFFF

b.

an 8
-
bit binary number

d.

a hexadecimal number with a value
between 0 and F



ANS:

C

REF: 266


30.

What is th
e default subnet mask for a class C network?

a.

255.0.0.0

c.

255.255.255.0

b.

255.255.0.0

d.

255.255.255.255



ANS:

C

REF: 267


COMPLETION



1.

IP addresses are normally written as four decimal values separated by ________________.


ANS:

periods

REF: 2
39


2.

Each of the four parts of an IP address is called a binary ______________.


ANS:

octet

REF: 241


3.

To do numeric conversions easily, set the Windows calculator to the _____________ mode.


ANS:

Scientific

REF: 243


4.

TCP/IP was invented by the U.
S. government agency named __________________.


ANS:

Defense Advanced Research Projects Agency (DARPA)

REF: 244


5.

Routers direct network traffic by reading the _______________ of each incoming packet.


ANS:

destination IP addresses

REF: 244


6.

A singl
e TCP/IP network consists of computers connected together into a single _______________.


ANS:

Collision domain

REF: 244


7.

A TCP/IP network use a(n) _____________ to interconnect to other TCP/IP networks.


ANS:

router

REF: 244


8.

Traffic that goes thr
ough the router is destined for ______________ computers located outside the
local network.


ANS:

remote

REF: 245


9.

When a system learns the MAC address of another computer on the network, it stores this information
in the __________________.


ANS:

ARP
cache

REF: 246


10.

The router that connects a local network to a larger network is known as the default ______________.


ANS:

gateway

REF: 246


11.

When you set up a TCP/IP network, you must enter the IP address of the gateway in the
___________________
_ of every system.


ANS:

Properties dialog box

REF: 247


12.

To distinguish between local and remote IP addresses, every system on a TCP/IP network needs a
special binary value called the ___________________.


ANS:

subnet mask

REF: 248


13.

If the last o
ctet of a Class C IP address consists of all zeros, you are looking at the _______________.


ANS:

network ID

REF: 249


14.

No host ID can be either all _____________ or all _______________ in binary notation.


ANS:

zeros, ones

REF: 248


15.

Most network
people represent subnet mask as a “/” character followed by a number equal to the
number of _______________ in the subnet mask.


ANS:

ones

REF: 250


16.

The first octet of a Class B network begins with ________________.


ANS:

10

REF: 251


17.

After you d
etermine how many subnets you need to create, start with the given subnet mask and move
it to the _____________ as many places as you need to get the number of subnets.


ANS:

right

REF: 252


18.

Each NIC in a router is commonly referred to as a(n) _______
____________.


ANS:

interface

REF: 253


19.

The subnet mask for a classfull subnets always stops at__________________.


ANS:

a period (or at the first one, two, or three octets)

REF: 255


20.

In its binary form, a network ID always ends in _____________.


ANS:

zero

REF: 256


21.

Each IP address has a corresponding human
-
friendly name called the ________________.


ANS:

DNS name

REF: 258
-
259


22.

In the early days when the Internet was very small, a special text file called _____________ contained
a list
of IP addresses for every computer on the Internet, matched to the corresponding system name.


ANS:

HOSTS

REF: 258


23.

The Internet name for the group of computers known collectively as the DNS root is ____________.


ANS:

“.” or “dot”

REF: 259


24.

Subd
omain names are added to the _____________ of the domain name.


ANS:

left

REF: 260


25.

In Windows you can check your current DNS server settings by using the ___________ command.


ANS:

WINIPCFG or IPCONFIG

REF: 261


26.

To use DHCP requires that your ne
twork contains a(n) _______________ that stores all necessary IP
information for the network.


ANS:

DHCP server

REF: 261


27.

The TCP protocol that resolves domain names into actual IP addresses is ______________.


ANS:

DNS

REF: 259


28.

The inventors of

TCP/IP assigned a special number called a _____________ to each separate network
function.


ANS:

port

REF: 263


29.

Packets sent to port 80 use a special protocol called ___________________.

ANS:

HyperText Transfer Protocol (HTTP)

REF: 263


30.

UDP pack
ets are called _______________ because they do not confirm that a packet actually reaches
its destination.

ANS:

connectionless

REF: 264


ESSAY



1.

What program can you use with a Windows 2000/XP system to see its IP address?


ANS:


IPCONFIG

REF: 261


2.

What does it mean if the traffic on a TCP/IP network stays local?


ANS:


It stays within its own network. Both the sender and the receiver are on the same local network.

REF: 245


3.

If a system knows the IP address but does not know the MAC address, wha
t can it use to discover the
MAC address of a local computer?


ANS:


Address Resolution Protocol (ARP)

REF: 245


4.

What command would you give to view the ARP cache for your system?


ANS:


ARP
-
a

REF: 246


5.

What two connections must a gateway have?

AN
S:


one connecting to the local network and a second connecting to another network

REF: 246


6.

Into what two parts is an IP address divided?


ANS:


The Network ID and the Host ID

REF: 248


7.

To prevent any two systems anywhere in the world from having
the same IP address, what is the single
body known as that dispenses IP addresses?


ANS:


Internet Assigned Numbers Authority (IANA)

REF: 249


8.

When determining the number of subnets you will have, why must you subtract two?


ANS:


Two subnets are unusa
ble because you cannot use all zeros (reserved for the network itself) or all ones
(reserved for the broadcast address) for the Host ID.

REF: 252


9.

Classless subnetting is easier to understand if you convert the subnet mask from dotted decimal format
i
nto what numeric format?

ANS:


binary

REF: 255


10.

What is the loopback address and what does it do?

ANS:


The loopback address (127.0.0.1) tells the device to send the packets to itself. It is used most often
with PING to test the ability of the TCP/
IP stack to send and receive packets without regard to whether
or not any specific interface or network segment is functioning.

REF: 257


11.

For what two basic reasons may people choose to use private IP addresses?


ANS:


Used for security purposes, priv
ate IP addresses hide the computers from the rest of the Internet

Private IP address, combined with NAT or proxy servers, allows a single public IP address to be used
for connecting multiple computers on the internal, private network to the Internet.

REF:

258


12.

In the early days of the Internet, where was the HOSTS file stored and how was it kept up to date?


ANS:


Every system on the Internet stored a HOSTS file that was updated every night at 2:00 A.M.

REF: 258


13.

Briefly explain the steps in the p
rocess that is used to resolve a domain name to an IP address if the
information is not stored in the system’s HOSTS file or in its cache.


ANS:


The system queries the DNS server listed in its DNS server settings. If the DNS server cannot resolve
the nam
e, the DNS server asks the root server. The root server redirects to a top
-
level DNS server that
in turn points to a second
-
level DNS server that actually resolves the domain name.

REF: 260


14.

Where do you configure DNS in Windows?


ANS:


Through the TC
P/IP Properties dialog box

REF: 260


15.

What are four items should be configured for every TCP/IP host connected to the Internet?


ANS:


IP address

default gateway

subnet mask

DNS server

REF: 261


16.

How would you set up a Windows system to use DHCP?


ANS:


Go to the TCP/IP Properties dialog box and set the IP addresss to “Obtain an IP address
automatically.”

REF: 261


17.

What must a Windows 9x or NT system have to resolve NetBIOS names across routed networks?


ANS:


WINS

REF: 261
-
262


18.

What Tran
sport protocol does Trivial File Transfer Protocol (TFTP) use to transfer files?


ANS:


UDP

REF: 264


19.

What is the protocol that sends Web pages to clients running web browsers?


ANS:


HyperText Transfer Protocol (HTTP)

REF: 264


20.

What does the SNM
P protocol do?


ANS:


The Simple Network Management Protocol (SNMP) allows network management applications to
remotely monitor other devices on the network.

REF: 265


21.

What is the protocol that allows a user to log in remotely and execute text
-
based co
mmands on a
remote host?


ANS:


Telnet

REF: 265


22.

What is the name of the current 32
-
bit IP specification?


ANS:


IPv4

REF: 266


23.

For IPv6 addresses, what do you use to represent a string of 16
-
bit groups with a value of zero?


ANS:


a pair of colo
ns (::)

REF: 266


24.

Discuss briefly the reasons for a new IP version being developed to replace the current IP version of IP
addresses.


ANS:


Although the current version theoretically provides over 4 billions addresses, only about 1.7 billion are
avai
lable and many of those are wasted by organizations that take more IP addresses than they need.
This means that we may soon run out of IP addresses using the current IPv4 specification.

REF: 266


25.

If you have a Class C network, it allows for one subne
t with only 254 systems. What solution can you
come up with if your organization needs more than 254 host addresses?


ANS:


Use private IP address ranges, such as 10.x.x.x, and use NAT or Proxy servers to provide Internet
connectivity as needed.

REF: 252


26.

What is the Windows
-
only protocol that resolves NetBIOS names into IP addresses?


ANS:


WINS

REF: 262


27.

Discuss two situations where it would be better to use autoconfiguration for IP settings?


ANS:


Students may select from the following choice
s:

(1) Networks that change often

(2) Systems that travel around, like laptops

(3) Dial
-
up systems

REF: 261


28.

Where can a DNS client go to determine the authoritative DNS server for each top
-
level domain?


ANS:


at the DNS root

REF: 259
-
260


29.

What
does a router do with a broadcast packet?


ANS:


It discards it.

REF: 246


30.

If the IP address of a system is written as 184.222.4.36/16, what class address is it?


ANS:


Class B

REF: 258