Network+ Chapter 10

  1. Consider the following output:Click here to view code imageC:\> arp -a

    Interface: 172.16.202.128 --- 0xb
      Internet Address      Physical Address      Type
      172.16.202.2          00-50-56-fd-65-2c     dynamic
      172.16.202.255        ff-ff-ff-ff-ff-ff     static
      224.0.0.22            01-00-5e-00-00-16     static
      224.0.0.252           01-00-5e-00-00-fc     static
      255.255.255.255       ff-ff-ff-ff-ff-ff     static

    What is the MAC address corresponding to the IP address of 172.16.202.2?




    C. 00-50-56-fd-65-2c
  2. What option would you specify after the ipconfig command to display a Windows PC’s DNS server’s IP address?




    A. /all
  3. Which Windows commands could have produced the following output? (Choose two.)Click here to view code image=============================================================================
    Interface List
     20...00 0c 29 3a 21 67 ......Intel(R) PRO/1000 MT Network Connection #2
     11...00 0c 29 3a 21 5d ......Intel(R) PRO/1000 MT Network Connection
      1........................... Software Loopback Interface 1
     12...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
     13...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
    =============================================================================

    IPv4 Route Table
    =============================================================================
    Active Routes:
    Network Destination        Netmask          Gateway         Interface  Metric
              0.0.0.0          0.0.0.0     172.16.202.2     172.16.202.128     10
              0.0.0.0          0.0.0.0     172.16.202.2     172.16.202.129     10
            127.0.0.0        255.0.0.0          On-link          127.0.0.1    306
            127.0.0.1  255.255.255.255          On-link          127.0.0.1    306
      127.255.255.255  255.255.255.255          On-link          127.0.0.1    306
         172.16.202.0  255.255.255.0            On-link     172.16.202.128    266
         172.16.202.0  255.255.255.0            On-link     172.16.202.129    266
       172.16.202.128  255.255.255.255          On-link     172.16.202.128    266
       172.16.202.129  255.255.255.255          On-link     172.16.202.129    266
       172.16.202.255  255.255.255.255          On-link     172.16.202.128    266
       172.16.202.255  255.255.255.255          On-link     172.16.202.129    266
           224.0.0.0       240.0.0.0            On-link          127.0.0.1    306
           224.0.0.0       240.0.0.0            On-link     172.16.202.129    266
           224.0.0.0       240.0.0.0            On-link     172.16.202.128    266
      255.255.255.255  255.255.255.255          On-link          127.0.0.1    306
      255.255.255.255  255.255.255.255          On-link     172.16.202.129    266
      255.255.255.255  255.255.255.255          On-link     172.16.202.128    266

    a. netstat -a
    b. route print
    c. netstat -r
    d. nbtstat
    -r
    • b. route print
    • c. netstat -r
  4. Which of the following Windows commands enables you to display NetBIOS over TCP/IP information?a. route
    b. nbtstat
    c. digd. netstat
    b. nbtstat
  5. What protocol is used by the ping command?




    D. ICMP
  6. Which of the following commands is used on a UNIX host to generate information about each router hop along the path from a source to a destination?




    C. traceroute
  7. Which of the following UNIX commands can be used to check FQDN-to-IP address resolution? (Choose three.)




    • C. nslookup
    • c. dig
    • d. host
  8. Which of the following commands would you issue on a UNIX host to send five ICMP echo messages to a device with an IP address of 10.1.1.1?




    B. ping -c 5 10.1.1.1
  9. What command produced the following snippet of output?Click here to view code imageOUTPUT OMITTED...
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62169
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;pearsonitcertification.com. IN        A

    ;; ANSWER SECTION:
    pearsonitcertification.com. 10800 IN       A         64.28.85.25

    ;; Query time: 202 msec
    ;; SERVER: 192.168.1.1#53(192.168.1.1)
    ;; WHEN: Wed Jun  1 20:41:57 2011
    ;; MSG SIZE  rcvd: 60
    OUTPUT OMITTED...

    a. traceroute -d pearsoni
    tcertification.com
    b. dig pearsonitcertification.com
    c. netstat -a pearsonitcertification.com
    d. nbtstat pearsonitcertification.com
    b. dig pearsonitcertification.com
  10. What command produced the following snippet of output?Click here to view code imageOUTPUT OMITTED...
    lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
        inet6 fd4e:f9d5:c34e:acd1:5a55:caff:fefa:1551 prefixlen 128
    gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
    stf0: flags=0<> mtu 1280
    en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST>   mtu 1500
        ether 58:55:ca:fa:15:51
        inet6 fe80::5a55:caff:fefa:1551%en0 prefixlen 64 scopeid 0x4
        inet 192.168.1.245 netmask 0xffffff00 broadcast       192.168.1.255
        media: autoselect
        status: active
    OUTPUT OMITTED...




    D. ifconfig
  11. What is the "arp" command and what does it do?
    • Address Resolution Protocol (ARP) is used to see what layer 2 MAC addresses correspond to layer 3 IP addresses.
    • ARP can be used to statically add a MAC address to IP address mapping to a PC's ARP/MAC address lookup table, also known as ARP cache.
  12. What command can be used to show IP address configuration parameters on a Windows PC and if the PC is using Dynamic Host Configuration Protocol (DHCP), this command can be used to release and renew a DHCP lease, which is often used for troubleshooting.
    ipconfig
  13. What command displays NetBios information for IP based networks?  What represents the Netbois in the command name?
    nbtstat 

    Netbios over TCP/IP which is called NBT or NetBT.
  14. What command displays various information about IP based connections on a PC?
    netstat
  15. What command is used to resolve IP addresses to Fully Qualified Domain Names (FQDN)?
    nslookup
  16. This is one of the most commonly used command line commands used to check IP connectivity between two devices.  What protocol and what layer is used to support this command?
    ping 

    It used Internet Control Message Protocol (ICMP) which is a layer 4 (Transport layer) protocol.
  17. How does one ping an IPV6 address?
    ping-6
  18. What command displays a PCs current IP routing table?
    route
  19. What troubleshooting command line pings every router hop from the source to the destination and reports the round-trip time for each router hop?
    tracert
  20. What is UNIX's dig command?
    Similar to nslookup, it resolves FQDN to IP addresses.
  21. How is the dig command different from nslookup?
    The dig command has no interactive mode, it is strictly command-line.
  22. What is a UNIX command that can be used to resolve FQDN to IP addresses, besides slookup and dig?
    host
Author
peeojay
ID
339650
Card Set
Network+ Chapter 10
Description
Command Line Tools
Updated