Unit 1
Unit 1
Q1) What is FTP? Where and when is it used? Why does it require 02 ports? Explain at least 05 user commands used in
FTP?
File Transfer Protocol (FTP) is a standard network protocol used to transfer files between a client and a server over a
network (such as the Internet or a local network). It operates using a client server architecture and relies on TCP
(Transmission Control Protocol) for reliable data transmission.
FTP is used in various scenarios, including:
1. Website Hosting & Maintenance – Web developers use FTP to upload and manage website files on a remote
server.
2.File Sharing – Organizations use FTP servers to share files between employees, teams, or customers.
3. Backup & Data Transfer – Businesses and individuals use FTP for transferring large amounts of data between
devices or for backup purposes.
4. Software Distribution – Companies provide software downloads via FTP servers.
5. Remote Access to Files – Users can retrieve files stored on a remote server from different locations.
----------------------------------------------------------------------------------------------------------------------------------------------------
Q7) What is MIME? Explain MIME header in detail. Discuss its role in SMTP
What is MIME?
MIME (Multipurpose Internet Mail Extensions) is an extension of the SMTP (Simple Mail Transfer Protocol) that
allows emails to support:
Text in multiple character sets
Attachments (images, audio, video, PDFs, etc.)
Rich content (HTML, formatted text, etc.)
Since SMTP was originally designed for plain text, it could not handle multimedia content. MIME overcomes this
limitation by encoding and structuring different content types in an email.
----------------------------------------------------------------------------------------------------------------------------------------------------
Q8) Explain stepwise the procedure carried out by DHCP client and DHCP server.
What is DHCP?
DHCP (Dynamic Host Configuration Protocol) is a network protocol used to automatically assign IP addresses
and other network settings (like subnet mask, gateway, and DNS) to devices in a network. This removes the need for
manual IP configuration.
DHCP Communication Process (DORA Process)
The DHCP client and server communicate using a four-step process known as DORA (Discover, Offer, Request,
Acknowledge).
Stepwise DHCP Process
Step 1: DHCP Discover (Client → Broadcast)
When a new device (DHCP client) joins the network, it does not have an IP address.
The client sends a DHCPDISCOVER message as a broadcast (255.255.255.255) to find available
DHCP servers.
Packet details:
o Source IP: 0.0.0.0 (Client has no IP)
o Destination IP: 255.255.255.255 (Broadcast to all)
o Message Type: DHCPDISCOVER
Example:
DHCPDISCOVER → "Is there any DHCP server available?"
----------------------------------------------------------------------------------------------------------------------------------------------------
q9) Differentiate between POP3 and IMAP