






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Throughput, delay, loss, cost, mobility, robustness, and secrecy
Circuit switching uses a dedicated path that is established before communications begins. Packet switching shares a path that need not be established before communications begins.
Processing, transmission, propagation, and queueuing.
Speed of light propagation delay is about 1 nanosecond per foot, so 1 mile is about 5 microseconds, and thus the propagation delay from Tampa to Atlanta is about 2 milliseconds (400 miles x 5 microsecond/mile).
The ability of any two systems conforming to the reference model and associated standards to communicate (and interoperate) with each other.
Email is an asynchronous communications medium based on sent and received text messages (may include non-text attachments). The three major components of email are user agents, mail servers, and the SMTP (Simple Mail Transfer Protocol). SMTP is used to transfer messages between mail servers using TCP/IP (client/server). SMTP uses ASCII commands and headers. Commands are not authenticated. Between a mail server and a user agent, POP (Post Office Protocol), IMAP (Internet Mail Access Protocol), or HTTP (HyperText Transfer Protocol) is used to access received mail stored in inboxes on the mail server. Mail servers have a fixed IP address and are always powered-on. The user agents need not always be powered-on and also need not be fixed in location or IP address. The figure shows a user agent accessing a mail server with POP, two mail servers exchanging messages using SMTP, and another user agent accessing its mail server using IMAP.
user agent server server user agent +-----+ POP +-----+ SMTP +-----+ IMAP +-----+ | |---------| |---------| |---------| | | | | | | | | | +-----+ +-----+ +-----+ +-----+ |-------------------------------| The Internet
Server program:
Client program:
08 00 20 f7 88 7d 00 11 43 b7 92 43 08 00 45 00 .. ..}..C..C..E. 02 4b 1f f8 40 00 80 06 ca 9b 83 f7 03 2a 83 f7 .K..@........*.. 03 01 08 68 00 50 e0 5a 79 da 38 0b ef 53 50 18 ...h.P.Zy.8..SP. ff ff 80 d7 00 00 47 45 54 20 2f 7e 63 68 72 69 ......GET /~chri 73 74 65 6e 2f 63 68 72 69 73 74 65 6e 2e 68 74 sten/christen.ht 6d 6c 20 48 54 54 50 2f 31 2e 31 0d 0a 48 6f 73 ml HTTP/1.1..Hos
MAC source = 080020f7887d hex MAC dest = 001143b79243 hex IP source = 131.247.3. IP dest = 131.247.3. TCP source port = 2152 TCP dest port = 80 TCP type = PUSH, ACK Application = HTTP (this is an HTTP 1.1 GET)
A LAN is a data network optimized for a medium-sized area (10s to 100s of stations and 100s to 1000s of meters). A LAN is owned and operated by a single organization.
CSMA/CD is Carrier Sense Multiple Access / Collision Detection and enables the sharing of a wired medium among multiple hosts. A 1-persistent CSMA algorithm is implemented as follows (for when a host has a frame to transmit):
The "wait a random period of time" is implemented with Binary Exponential Backoff:
while (attempts < 16) k = min(attempts, 10) r = rand(0, 2^k) delay = r * slot_time
A slot_time is the time it takes to transmit 64 bytes. This time determines the maximum span of an Ethernet (i.e., tpr <= tfr for frame of 64 bytes and tpr being the end-to-end propagation time).
CSMA/CA is Collision Avoidance and has both a sender and receiver component. The sender algorithm is:
The receiver algorithm is:
DIFS is distributed interframe time and SIFS is short interframe time. DIFS is longer than SIFS.
A bridge is a 2-port layer-2 packet filter. A bridge forwards only non-local frames. A bridge has no knowledge of upper layer protocols. A switch is a multiport bridge. Motivations to uses bridges and switches include increasing performance (by localizing traffic), improving reliability (over a single large LAN), and defining organizational boundaries.
receive a frame if (DA is in table) and (DA is local) then not forward else forward if (SA in table) then check/update direction if (SA not in table) then add to table
10^9 bits/sec / ((1500 + 8 + 12) bytes/frame * 8 bits/byte) = 82345 frames/sec