Networking - TCP/IP
Exercise : TCP/IP - TCP/IP
- TCP/IP - TCP/IP
1.
Which of the following services use TCP?
- DHCP
- SMTP
- HTTP
- TFTP
- FTP
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?
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?
- It uses FF:FF:FF:FF:FF:FF as a layer 2 broadcast.
- It uses UDP as the Transport layer protocol.
- It uses TCP as the Transport layer protocol.
- It does not use a layer 2 destination address.
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?
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?
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.
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers