Network Services
Network Services
Application 2-13
outgoing
Electronic Mail message queue
user mailbox
Three major components: user
user agents agent
mail
mail servers user
server
agent
simple mail transfer protocol:
SMTP SMTP mail
server user
User Agent SMTP agent
composing, editing, reading
mail messages SMTP
mail user
e.g., Outlook, Mozilla server agent
Thunderbird, iPhone mail
client user
agent
user
agent
Application 2-14
Mail User Agents
messages SMTP
client: sending mail server mail user
server agent
“server”: receiving mail
server user
agent
user
agent
Scenario: Ahmed sends message to
Baber
1) Ahmed uses UA to compose 4) SMTP client sends Ahmed’s
message and “to” message over the TCP
Baber@someschool.edu connection
2) Ahmed’s UA sends message 5) Baber’s mail server places
to his mail server; message the message in Baber’s
placed in message queue mailbox
3) Client side of SMTP opens 6) Baber invokes his user agent
TCP connection with Baber’s to read message
mail server
1 mail
mail
server user
user server
2 agent
agent 3 6
4 5
Mail access protocols
SMTP SMTP access user
user
agent protocol agent
Application 2-20
Working of DHCP
The server also configures the client's DNS servers,
WINS servers, NTP servers, and sometimes other
services as well.
The client sends a REQUEST (or DHCPREQUEST)
packet, letting the server know that it intends to use the
address.
The server sends an ACK (or DHCPACK) packet,
confirming that the client has a been given a lease on the
address for a server-specified period of time.
Benefits of DHCP
Accurate IP configuration: Typographical errors are
typically very difficult to troubleshoot and the use of a
DHCP server minimizes that risk.
Reduced IP address conflicts: Each connected device
must have a unique IP address.
Automation of IP address administration: Without DHCP,
network administrators would need to assign and revoke
addresses manually. Keeping track of which device has
what address is nearly impossible
Efficient change management: The use of DHCP makes it
very simple to change addresses, scopes or endpoints. no
network configuration is required.
FTP Server
FTP is a standard network protocol used for the
transfer of files between a client and server on a
computer network.
FTP is a very well-established protocol, developed in
the 1970s to allow two computers to transfer data
over the internet.
One computer acts as the server to store information
and the other acts as the client to send or request
files from the server. An FTP server will use TCP
port 20 for data connection and port 21 for control
connection.