Networking - TCP/IP

Exercise : TCP/IP - TCP/IP
  • TCP/IP - TCP/IP
1.
Which of the following services use TCP?
  1. DHCP
  2. SMTP
  3. HTTP
  4. TFTP
  5. FTP
1 and 2
2, 3 and 5
1, 2 and 4
1, 3 and 4
Answer: Option
Explanation:
SMTP, HTTP and FTP use TCP.

2.
What layer in the TCP/IP stack is equivalent to the Transport layer of the OSI model?
Application
Host-to-Host
Internet
Network Access
Answer: Option
Explanation:
The four layers of the TCP/IP stack (also called the DoD model) are Application/Process, Host-to-Host, Internet, and Network Access. The Host-to-Host layer is equivalent to the Transport layer of the OSI model.

3.
Which of the following describe the DHCP Discover message?
  1. It uses FF:FF:FF:FF:FF:FF as a layer 2 broadcast.
  2. It uses UDP as the Transport layer protocol.
  3. It uses TCP as the Transport layer protocol.
  4. It does not use a layer 2 destination address.
1 only
1 and 2
3 and 4
4 only
Answer: Option
Explanation:
A client that sends out a DHCP Discover message in order to receive an IP address sends out a broadcast at both layer 2 and layer 3. The layer 2 broadcast is all Fs in hex, or FF:FF:FF:FF:FF:FF. The layer 3 broadcast is 255.255.255.255, which means all networks and all hosts. DHCP is connectionless, which means it uses User Datagram Protocol (UDP) at the Transport layer, also called the Host-to-Host layer.

4.
You want to implement a mechanism that automates the IP configuration, including IP address, subnet mask, default gateway, and DNS information. Which protocol will you use to accomplish this?
SMTP
SNMP
DHCP
ARP
Answer: Option
Explanation:
Dynamic Host Configuration Protocol (DHCP) is used to provide IP information to hosts on your network. DHCP can provide a lot of information, but the most common is IP address, subnet mask, default gateway, and DNS information.

5.
Which of the following is private IP address?
12.0.0.1
168.172.19.39
172.15.14.36
192.168.24.43
Answer: Option
Explanation:
Class A private address range is 10.0.0.0 through 10.255.255.255. Class B private address range is 172.16.0.0 through 172.31.255.255, and Class C private address range is 192.168.0.0 through 192.168.255.255.