TCP/IP Utilities and Troubleshooting Flashcards

1
Q

Which utility can be used to display and modify the table that maintains the TCP/IP address–to–MAC address translation?

NBTSTAT

Telnet

ARP

A

ARP

ARP is responsible for converting a layer-3 address (IP address) to a layer-2 address (MAC address). A utility by the same name is available in most operating systems and is responsible for modifying entries within the ARP cache

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which are not valid message types for ARP? (Choose all that apply.)

ARP reply

ARP decline

ARP response

ARP request

A

ARP decline

ARP response

ARP decline and ARP response are not valid ARP messages. Only four types of messages can be sent out by the ARP protocol: ARP request, ARP reply, RARP request, and RARP reply

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How long will a dynamic ARP entry remain in cache if it has not been reused?

10 minutes

5 minutes

2 minutes

A

2 minutes

Two minutes. Unlike static addresses, which never age out, dynamic addresses remain for only a predetermined amount of time. Windows adjusts the size of the ARP cache automatically. Entries not used after two minutes are removed. If entries are used frequently, they remain in the ARP cache for ten minutes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

ARP is responsible for converting ________________ addresses to ________________ addresses.

layer-3, layer-2

layer-4, layer-3

layer-2, layer-3

A

layer-3, layer-2

ARP is responsible for converting IP addresses (layer-3 addresses) to MAC addresses (layer-2 addresses)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which command and command switch were used to generate the following output?

Interface: 10.10.10.101
Internet Address Physical Address Type
12.10.10.10 00-06-6b-8e-4e-e3 dynamic
12.10.10.19 00-c0-ae-d0-bb-f5 dynamic

ARP -d

IPCONFIG /DISPLAYMAC

ARP -a

A

ARP -a

ARP -a will display the ARP cache, which is what the output for this question is showing. Be sure you can identify the output for the exam

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which utility enables you to execute console commands remotely through a terminal session?

FTP

Ping

Telnet

A

Telnet

Telnet (telecommunications network) was designed to provide a virtual terminal or remote login across the network. This enables the user to execute commands on a remote machine anywhere on the network as if he or she were sitting in front of the console. The term Telnet refers to both the protocol and the application used for remote management

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which protocol is defined to use TCP port 23?

Telnet

FTP

HTTP

A

Telnet

Telnet uses TCP port 23 by default

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which utility is used to determine the path that data takes to a remote host?

NBTSTAT

FTP

Tracert

A

Tracert

Tracert is a command-line utility that was designed to determine the path taken by a data packet to reach its destination. This can be very helpful in determining at what point a network connection is no longer active. It can also be helpful in troubleshooting issues with network response times

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which command was used to generate the following command output?

1 <10 ms <10 ms <10 ms 192.168.0.254
2 <10 ms <10 ms <10 ms 12.127.106.34
3 40 ms 40 ms 50 ms r04.nycmny01.us.bb.verio.net [129.250.10.37]
4 40 ms 40 ms 40 ms r20.nycmny01.us.bb.verio.net [129.250.2.36]
5 40 ms 40 ms 50 ms r00.nwrknj01.us.bb.verio.net [129.250.2.216]
6 110 ms 121 ms 120 ms 192.94.118.221
7 110 ms 130 ms 120 ms www.novell.com [130.57.4.27]
Trace complete.

TRACERT www.novell.com

Ping www.novell.com

NSLOOKUP www.novell.com

A

TRACERT www.novell.com

Tracert sends back multiple responses, one for each router that it hits on its way to the destination address. In this example, we are tracing the pathway to www.novell.com and getting a hop entry with each router on the way

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which utility is used to display TCP/IP-specific protocol and interface statistics?

NBTSTAT

ARP

Netstat

A

Netstat

Netstat displays protocol statistics and current TCP/IP network connections. This utility can be used to display in-depth detail about protocol status, statistics for the different network interfaces, and the current routing table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which command and command switch were used to generate the following output?

Active Connections
Proto Local Address Foreign Address Stat
TCP comp1:smtp 2kpc1.domain5.net:0 LISTENING
TCP comp1:http xppc2.domain5.net:1256 LISTENING
TCP comp1:epmap 2kpc1.domain5.net:0 LISTENING
TCP comp1:https 2kpc1.domain5.net:0 LISTENING
TCP comp1:microsoft-ds 2kpc1.domain5.net:0 LISTENING
TCP comp1:1025 2kpc1.domain5.net:0 LISTENING
TCP comp1:1245 2kpc1.domain5.net:0 LISTENING
TCP comp1:1277 2kpc1.domain5.net:0 LISTENING
TCP comp1:1312 2kpc1.domain5.net:0 LISTENING

NBTSTAT -c

NETSTAT -a

IPCONFIG /ALL

A

NETSTAT -a

The Netstat utility is used to view TCP/IP connection information and listening ports

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which items are not available for display in IPCONFIG?

TCP/IP address

MAC address

DHCP lease information

None of the above

A

None of the above

All of the options listed can be displayed in IPCONFIG by using the /ALL option

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which option of IPCONFIG is used to receive a new lease on your IP address?

/release

/obtain

/renew

A

/renew

The /renew switch is used to renew the IP address that you have obtained from the DHCP server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

You are troubleshooting to determine why Sue’s computer cannot connect to the Internet. What command would you type to view all of Sue’s TCP/IP settings in a Windows command prompt?

IPCONFIG

IPCONFIG /ALL

IPCONFIG /SHOWITALL

A

IPCONFIG /ALL

IPCONFIG /ALL is used to view all of the TCP/IP settings on a system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which utility is used to facilitate file transfers between two remote hosts?

FTP

Telnet

Ping

A

FTP

FTP (File Transfer Protocol) is designed primarily for transferring data across a network. FTP denotes both a protocol and a utility used for this purpose

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What TCP ports are used by FTP services? (Choose two.)

TCP port 20

TCP port 25

TCP port 21

TCP port 80

A

TCP port 20

TCP port 21

FTP uses two TCP channels to operate. It uses TCP port 20 as the data transfer channel and TCP port 21 for control commands. The data transfer channel is known as the DTP, or Data Transfer Process, and the command channel is known as the PI, or Protocol Interpreter. The two channels enable you to transfer data and execute commands at the same time, and they provide a more efficient and faster data transfer. FTP also works in real time. It does not queue up requests as most other utilities do; it transfers data while you watch

17
Q

Which utility is used to verify network connectivity of a remote host?

Route

ARP

Ping

A

Ping

The ping (Packet Internet Groper) command is the most-used TCP/IP troubleshooting tool available. This command is used to test a machine’s connectivity to the network and to verify that it is active. Usually, using this command is one of the first steps to any troubleshooting if a connectivity problem is occurring between two computers. This can quickly help you to determine whether a remote host is available and responsive

18
Q

You are having trouble connecting to resources on the Internet, so you use the IPCONFIG utility to verify your TCP/IP configuration. The configuration is shown.

Ethernet adapter Lan Connection:
Connection-specific DNS Suffix . : glensworld.loc
IP Address. . . . . . . . . . . . : 192.168.1.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
c

Your configuration seems to be accurate. Which command would you type next to help determine what the problem is?

Ping glensworld.loc

Ping 192.168.1.100

Ping 192.168.1.1

A

Ping 192.168.1.1

When troubleshooting connectivity to the Internet, you first check your TCP/IP settings and then ping the IP address of the default gateway to verify that the router is up and running

19
Q

The following output was generated from which command?

Reply from 10.10.10.1: bytes>32 time<1ms TTL>128
Reply from 10.10.10.1: bytes>32 time<1ms TTL>128
Reply from 10.10.10.1: bytes>32 time<1ms TTL>128
Reply from 10.10.10.1: bytes>32 time<1ms TTL>128
Ping statistics for 10.10.10.1:
Packets: Sent > 4, Received > 4, Lost > 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum > 0ms, Maximum > 0ms, Average > 0ms

ROUTE 10.10.10.1

Ping 127.0.0.1

Ping 10.10.10.1

A

Ping 10.10.10.1

In the output you can see that the address of 10.10.10.1 is sending responses back. There are four responses that are the four ping response messages

20
Q

You are having trouble resolving the entry server.certworld.loc to an IP address and suspect that the DNS resolver cache is causing the problem. Which of the following commands would you use to delete all entries from the cache?

ipconfig /purgeall

ipconfig /displaydns

ipconfig /flushdns

A

ipconfig /flushdns

ipconfig /flushdns is used to flush the DNS resolver cache of a Windows system

21
Q

Which utility is used to verify the DNS database on a DNS server?

ARP

Ping

NSLOOKUP

A

NSLOOKUP

The NSLOOKUP utility is used to view and test the DNS database on the DNS server

22
Q

What dig command is used to perform a reverse name query?

Dig www.gleneclarke.com

Dig www.gleneclarke.com +short

Dig -x 192.168.2.200

A

Dig -x 192.168.2.200

To perform a reverse query with dig, you use the -x switch and then supply the IP address of the system you wish to know the name of

23
Q

Which TCP/IP utility is used to manage the routing table on the local system?

Route

ARP

Ping

A

Route

The route utility is used to manage the local routing table. You can view the routing table with route print and add a route with route add

24
Q

You wish to find out what your system name is. What utility would you use?

Route

hostname

Ping

A

hostname

The hostname command is used to display the system name

25
Q

What command would you use to verify that TCP/IP is running successfully on your system?

arp

ping 127.0.0.1

telnet

A

ping 127.0.0.1

You would ping the loopback address to verify that the TCP/IP software stack is installed and working

26
Q

What service is used to convert an FQDN to an IP address?

Telnet

FTP

DNS

A

DNS

DNS is used to convert the FQDN—for example, www.gleneclarke.com—to an IP address