Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses...

131
Basic Concepts In Computer Networking Antonio Carzaniga Faculty of Informatics University of Lugano March 11, 2005 c 2005 Antonio Carzaniga

Transcript of Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses...

Page 1: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Basic Concepts

In Computer Networking

Antonio Carzaniga

Faculty of InformaticsUniversity of Lugano

March 11, 2005

c© 2005 Antonio Carzaniga

Page 2: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Outline

u What is the Internet?

u Types of network

u Types of service

u Protocols

u The Internet protocol stack

c© 2005 Antonio Carzaniga

Page 3: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

What is the Internet?

Internet

c© 2005 Antonio Carzaniga

Page 4: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

What is the Internet?

Internet

c© 2005 Antonio Carzaniga

Page 5: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

What is the Internet?

Internet

c© 2005 Antonio Carzaniga

Page 6: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

What is the Internet?

Internet

c© 2005 Antonio Carzaniga

Page 7: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

What is the Internet?

Internet

end systemor host

c© 2005 Antonio Carzaniga

Page 8: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

End Systems

u end system or host ( )

c© 2005 Antonio Carzaniga

Page 9: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

End Systems

u end system or host ( )I a computer

c© 2005 Antonio Carzaniga

Page 10: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

End Systems

u end system or host ( )I a computerI a server (well, that would also be a computer)

c© 2005 Antonio Carzaniga

Page 11: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

End Systems

u end system or host ( )I a computerI a server (well, that would also be a computer)I a camera (a.k.a., webcam)

c© 2005 Antonio Carzaniga

Page 12: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

End Systems

u end system or host ( )I a computerI a server (well, that would also be a computer)I a camera (a.k.a., webcam)I a temperature sensor

c© 2005 Antonio Carzaniga

Page 13: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

End Systems

u end system or host ( )I a computerI a server (well, that would also be a computer)I a camera (a.k.a., webcam)I a temperature sensorI a cell phone

c© 2005 Antonio Carzaniga

Page 14: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

End Systems

u end system or host ( )I a computerI a server (well, that would also be a computer)I a camera (a.k.a., webcam)I a temperature sensorI a cell phoneI a PDA

c© 2005 Antonio Carzaniga

Page 15: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

End Systems

u end system or host ( )I a computerI a server (well, that would also be a computer)I a camera (a.k.a., webcam)I a temperature sensorI a cell phoneI a PDAI . . .I a carI a television setI a picture frameI a toasterI . . .

c© 2005 Antonio Carzaniga

Page 16: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

End Systems

u end system or host ( )I a computerI a server (well, that would also be a computer)I a camera (a.k.a., webcam)I a temperature sensorI a cell phoneI a PDAI . . .I a carI a television setI a picture frameI a toasterI . . .I a toilet seat?I a toothpick?I . . .

c© 2005 Antonio Carzaniga

Page 17: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

What is “Inside” the Internet?

c© 2005 Antonio Carzaniga

Page 18: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

What is “Inside” the Internet?

c© 2005 Antonio Carzaniga

Page 19: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

What is “Inside” the Internet?

local-areanetwork

packet switch

c© 2005 Antonio Carzaniga

Page 20: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

What is “Inside” the Internet?

local-areanetwork

packet switch

c© 2005 Antonio Carzaniga

Page 21: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Basic Concepts

u The Internet uses packet switching

c© 2005 Antonio Carzaniga

Page 22: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Basic Concepts

u The Internet uses packet switching

u Packet switch: a link-layer switch or a router

c© 2005 Antonio Carzaniga

Page 23: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Basic Concepts

u The Internet uses packet switching

u Packet switch: a link-layer switch or a router

u Route: sequence of switches that a packet goes through (a.k.a.path)

c© 2005 Antonio Carzaniga

Page 24: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Basic Concepts

u The Internet uses packet switching

u Packet switch: a link-layer switch or a router

u Route: sequence of switches that a packet goes through (a.k.a.path)

u Protocol: control the sending and receiving of information to andfrom end systems and packet switches

c© 2005 Antonio Carzaniga

Page 25: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Packet Switching

u The Internet is a packet-switched network

c© 2005 Antonio Carzaniga

Page 26: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Packet Switching

u The Internet is a packet-switched network

u Information is transmitted in packets

c© 2005 Antonio Carzaniga

Page 27: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Packet Switching

u The Internet is a packet-switched network

u Information is transmitted in packets

u Switches operate on an individual packet

c© 2005 Antonio Carzaniga

Page 28: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Packet Switching

u The Internet is a packet-switched network

u Information is transmitted in packets

u Switches operate on an individual packet

u A switch (router) receives packets and forwards them along toother switches or to end systems

c© 2005 Antonio Carzaniga

Page 29: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Packet Switching

u The Internet is a packet-switched network

u Information is transmitted in packets

u Switches operate on an individual packet

u A switch (router) receives packets and forwards them along toother switches or to end systems

u Every forwarding decision is done on the basis of the informationcontained in the packet

c© 2005 Antonio Carzaniga

Page 30: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Circuit Switching

c© 2005 Antonio Carzaniga

Page 31: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Circuit Switching

c© 2005 Antonio Carzaniga

Page 32: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Circuit Switching

u The telephone network is a typical circuit-switched network

c© 2005 Antonio Carzaniga

Page 33: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Circuit Switching

u The telephone network is a typical circuit-switched network

u Communication requires a connection setup phase in which thenetwork reserves all the necessary resources for that connection(links, buffers, switches, etc.)

c© 2005 Antonio Carzaniga

Page 34: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Circuit Switching

u The telephone network is a typical circuit-switched network

u Communication requires a connection setup phase in which thenetwork reserves all the necessary resources for that connection(links, buffers, switches, etc.)

u After a successful setup, the communicating systems areconnected by a set of links that are dedicated to their connectionfor the entire duration of their conversation

c© 2005 Antonio Carzaniga

Page 35: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Circuit Switching

u The telephone network is a typical circuit-switched network

u Communication requires a connection setup phase in which thenetwork reserves all the necessary resources for that connection(links, buffers, switches, etc.)

u After a successful setup, the communicating systems areconnected by a set of links that are dedicated to their connectionfor the entire duration of their conversation

u When the conversation ends, the network tears down theconnection, freeing the corresponding resources (links, buffers,etc.) for other connections

c© 2005 Antonio Carzaniga

Page 36: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Circuit vs. Packet Switching

c© 2005 Antonio Carzaniga

Page 37: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Circuit vs. Packet Switching

u Circuit switching requires an expensive setup phase. On theother hand, once the connection is established, circuit switchingis much more efficient in both space overhead and processing

c© 2005 Antonio Carzaniga

Page 38: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Circuit vs. Packet Switching

u Circuit switching requires an expensive setup phase. On theother hand, once the connection is established, circuit switchingis much more efficient in both space overhead and processing

u Packet switching does not incur any setup cost. However, italways incurs a significant processing cost for forwarding, as wellas space overhead, because every packet must beself-contained

c© 2005 Antonio Carzaniga

Page 39: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Circuit vs. Packet Switching

u Circuit switching requires an expensive setup phase. On theother hand, once the connection is established, circuit switchingis much more efficient in both space overhead and processing

u Packet switching does not incur any setup cost. However, italways incurs a significant processing cost for forwarding, as wellas space overhead, because every packet must beself-contained

u Circuit switching admits a straightforward implementation ofquality-of-service guarantees, because network resources arereserved at connection setup time

c© 2005 Antonio Carzaniga

Page 40: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Circuit vs. Packet Switching

u Circuit switching requires an expensive setup phase. On theother hand, once the connection is established, circuit switchingis much more efficient in both space overhead and processing

u Packet switching does not incur any setup cost. However, italways incurs a significant processing cost for forwarding, as wellas space overhead, because every packet must beself-contained

u Circuit switching admits a straightforward implementation ofquality-of-service guarantees, because network resources arereserved at connection setup time

u Guaranteeing any quality of service with packet switching is verydifficult

c© 2005 Antonio Carzaniga

Page 41: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Circuit vs. Packet Switching (2)

u Circuit switching allows only a limited sharing of communicationresources. In other words, circuit switching is an inefficient wayto use the network

c© 2005 Antonio Carzaniga

Page 42: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Circuit vs. Packet Switching (2)

u Circuit switching allows only a limited sharing of communicationresources. In other words, circuit switching is an inefficient wayto use the network

u Packet switching achieves a much better utilization of networkresources, because it is designed specifically to share links(buffers, etc.)

c© 2005 Antonio Carzaniga

Page 43: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Virtual Circuits

u Idea: combine the advantages of circuit switching and packetswitching

c© 2005 Antonio Carzaniga

Page 44: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Virtual Circuits

u Idea: combine the advantages of circuit switching and packetswitching

u The service model is connection oriented, and therefore requiresa connection setup phase

c© 2005 Antonio Carzaniga

Page 45: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Virtual Circuits

u Idea: combine the advantages of circuit switching and packetswitching

u The service model is connection oriented, and therefore requiresa connection setup phase

u The connection does not create a physical circuit, but rather a“virtual circuit”

c© 2005 Antonio Carzaniga

Page 46: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Virtual Circuits

u Idea: combine the advantages of circuit switching and packetswitching

u The service model is connection oriented, and therefore requiresa connection setup phase

u The connection does not create a physical circuit, but rather a“virtual circuit”

u Information is sent in packets, so links can be shared moreeffectively

c© 2005 Antonio Carzaniga

Page 47: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Virtual Circuits

u Idea: combine the advantages of circuit switching and packetswitching

u The service model is connection oriented, and therefore requiresa connection setup phase

u The connection does not create a physical circuit, but rather a“virtual circuit”

u Information is sent in packets, so links can be shared moreeffectively

u Packets carry a virtual circuit identifiers, which allow very fastprocessing (forwarding) and incur a space low-overhead

c© 2005 Antonio Carzaniga

Page 48: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Taxonomy of Networks

communicationnetwork

circuitswitching

packetswitching

timedivision

multiplexing

frequencydivision

multiplexing

datagramnetwork

virtualcircuit

c© 2005 Antonio Carzaniga

Page 49: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Service Perspective

local-areanetwork

packet switch

c© 2005 Antonio Carzaniga

Page 50: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Service Perspective

local-areanetwork

packet switch

u What kind of service does the Internet offer to end systems?

c© 2005 Antonio Carzaniga

Page 51: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Type of Service

u Two end systems can communicate through the Internet, butexactly what kind of communication service is that of theInternet?

c© 2005 Antonio Carzaniga

Page 52: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Type of Service

u Two end systems can communicate through the Internet, butexactly what kind of communication service is that of theInternet?

u Connection-oriented reliableI virtual duplex communication channel (A ↔ B)—conceptually

similar to a telephone serviceI information is transmitted “reliably” and in order

c© 2005 Antonio Carzaniga

Page 53: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Type of Service

u Two end systems can communicate through the Internet, butexactly what kind of communication service is that of theInternet?

u Connection-oriented reliableI virtual duplex communication channel (A ↔ B)—conceptually

similar to a telephone serviceI information is transmitted “reliably” and in order

u Connectionless unreliableI the network accepts “datagrams” for delivery—this is conceptually

similar to the postal serviceI “unreliable” service (a.k.a. “best effort”)

c© 2005 Antonio Carzaniga

Page 54: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Type of Service (2)

u How reliable is a “reliable” service?

c© 2005 Antonio Carzaniga

Page 55: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Type of Service (2)

u How reliable is a “reliable” service?

u The term “reliable” means that information will eventually reachits destination if a route is viable within a certain amount of time.

c© 2005 Antonio Carzaniga

Page 56: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Type of Service (2)

u How reliable is a “reliable” service?

u The term “reliable” means that information will eventually reachits destination if a route is viable within a certain amount of time.

u The network makes absolutely no guarantees on latency (i.e.,the time it takes to transmit some information from a source to adestination)

c© 2005 Antonio Carzaniga

Page 57: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols

u End systems as well as packet switches run protocols. What is aprotocol?

c© 2005 Antonio Carzaniga

Page 58: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols

u End systems as well as packet switches run protocols. What is aprotocol?E.g., let’s consider a phone call: Alice calls Bob

Alice Bobhello

c© 2005 Antonio Carzaniga

Page 59: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols

u End systems as well as packet switches run protocols. What is aprotocol?E.g., let’s consider a phone call: Alice calls Bob

Alice Bobhello

hello, this is Alice

c© 2005 Antonio Carzaniga

Page 60: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols

u End systems as well as packet switches run protocols. What is aprotocol?E.g., let’s consider a phone call: Alice calls Bob

Alice Bobhello

hello, this is Alice

Alice, what’s up?

c© 2005 Antonio Carzaniga

Page 61: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols

u End systems as well as packet switches run protocols. What is aprotocol?E.g., let’s consider a phone call: Alice calls Bob

Alice Bobhello

hello, this is Alice

Alice, what’s up?

bla, bla. . .

c© 2005 Antonio Carzaniga

Page 62: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols

u End systems as well as packet switches run protocols. What is aprotocol?E.g., let’s consider a phone call: Alice calls Bob

Alice Bobhello

hello, this is Alice

Alice, what’s up?

bla, bla. . .

okay, bye

c© 2005 Antonio Carzaniga

Page 63: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols

u End systems as well as packet switches run protocols. What is aprotocol?E.g., let’s consider a phone call: Alice calls Bob

Alice Bobhello

hello, this is Alice

Alice, what’s up?

bla, bla. . .

okay, bye

bye

c© 2005 Antonio Carzaniga

Page 64: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols

u Phases of the protocolI handshake establishes the identity and/or the context for a

conversationI conversation free-form exchangeI closing terminates the conversation

c© 2005 Antonio Carzaniga

Page 65: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols

u Phases of the protocolI handshake establishes the identity and/or the context for a

conversationI conversation free-form exchangeI closing terminates the conversation

u This protocol assumes a connection-oriented mediumu The protocol involves two parties (Alice and Bob)u . . .

c© 2005 Antonio Carzaniga

Page 66: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (2)

u Another example: air traffic control

c© 2005 Antonio Carzaniga

Page 67: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (2)

u Another example: air traffic control

I . . . United 971, turn left heading 2-7-0

c© 2005 Antonio Carzaniga

Page 68: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (2)

u Another example: air traffic control

I . . . United 971, turn left heading 2-7-0I left to 2-7-0, United 971

c© 2005 Antonio Carzaniga

Page 69: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (2)

u Another example: air traffic control

I . . . United 971, turn left heading 2-7-0I left to 2-7-0, United 971I . . . Alitalia 631, contact Malpensa approach at 119.20

c© 2005 Antonio Carzaniga

Page 70: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (2)

u Another example: air traffic control

I . . . United 971, turn left heading 2-7-0I left to 2-7-0, United 971I . . . Alitalia 631, contact Malpensa approach at 119.20I . . .

c© 2005 Antonio Carzaniga

Page 71: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (2)

u Another example: air traffic control

I . . . United 971, turn left heading 2-7-0I left to 2-7-0, United 971I . . . Alitalia 631, contact Malpensa approach at 119.20I . . .I . . . Alitalia 631, contact Malpensa approach at 119.20

c© 2005 Antonio Carzaniga

Page 72: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (2)

u Another example: air traffic control

I . . . United 971, turn left heading 2-7-0I left to 2-7-0, United 971I . . . Alitalia 631, contact Malpensa approach at 119.20I . . .I . . . Alitalia 631, contact Malpensa approach at 119.20I 1-1-9 point 2-0, Alitalia 631, goodbye

c© 2005 Antonio Carzaniga

Page 73: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (2)

u Another example: air traffic control

I . . . United 971, turn left heading 2-7-0I left to 2-7-0, United 971I . . . Alitalia 631, contact Malpensa approach at 119.20I . . .I . . . Alitalia 631, contact Malpensa approach at 119.20I 1-1-9 point 2-0, Alitalia 631, goodbyeI . . . Center, request, Delta 800

c© 2005 Antonio Carzaniga

Page 74: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (2)

u Another example: air traffic control

I . . . United 971, turn left heading 2-7-0I left to 2-7-0, United 971I . . . Alitalia 631, contact Malpensa approach at 119.20I . . .I . . . Alitalia 631, contact Malpensa approach at 119.20I 1-1-9 point 2-0, Alitalia 631, goodbyeI . . . Center, request, Delta 800I . . . United 971, climb and maintain flight level 3-7-0

c© 2005 Antonio Carzaniga

Page 75: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (2)

u Another example: air traffic control

I . . . United 971, turn left heading 2-7-0I left to 2-7-0, United 971I . . . Alitalia 631, contact Malpensa approach at 119.20I . . .I . . . Alitalia 631, contact Malpensa approach at 119.20I 1-1-9 point 2-0, Alitalia 631, goodbyeI . . . Center, request, Delta 800I . . . United 971, climb and maintain flight level 3-7-0I flight level 3-7-0, United 971

c© 2005 Antonio Carzaniga

Page 76: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (2)

u Another example: air traffic control

I . . . United 971, turn left heading 2-7-0I left to 2-7-0, United 971I . . . Alitalia 631, contact Malpensa approach at 119.20I . . .I . . . Alitalia 631, contact Malpensa approach at 119.20I 1-1-9 point 2-0, Alitalia 631, goodbyeI . . . Center, request, Delta 800I . . . United 971, climb and maintain flight level 3-7-0I flight level 3-7-0, United 971I . . . Delta 800, go ahead

c© 2005 Antonio Carzaniga

Page 77: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (2)

u Another example: air traffic control

I . . . United 971, turn left heading 2-7-0I left to 2-7-0, United 971I . . . Alitalia 631, contact Malpensa approach at 119.20I . . .I . . . Alitalia 631, contact Malpensa approach at 119.20I 1-1-9 point 2-0, Alitalia 631, goodbyeI . . . Center, request, Delta 800I . . . United 971, climb and maintain flight level 3-7-0I flight level 3-7-0, United 971I . . . Delta 800, go aheadI requesting flight level 3-5-0, Delta 800

c© 2005 Antonio Carzaniga

Page 78: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (2)

u Another example: air traffic control

I . . . United 971, turn left heading 2-7-0I left to 2-7-0, United 971I . . . Alitalia 631, contact Malpensa approach at 119.20I . . .I . . . Alitalia 631, contact Malpensa approach at 119.20I 1-1-9 point 2-0, Alitalia 631, goodbyeI . . . Center, request, Delta 800I . . . United 971, climb and maintain flight level 3-7-0I flight level 3-7-0, United 971I . . . Delta 800, go aheadI requesting flight level 3-5-0, Delta 800I Delta 800, unable at the moment

c© 2005 Antonio Carzaniga

Page 79: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (2)

c© 2005 Antonio Carzaniga

Page 80: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (2)

u A connectionless protocol

c© 2005 Antonio Carzaniga

Page 81: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (2)

u A connectionless protocol

u Multi-party communication

c© 2005 Antonio Carzaniga

Page 82: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (2)

u A connectionless protocol

u Multi-party communication

u Medium access control (MAC) protocol

c© 2005 Antonio Carzaniga

Page 83: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (2)

u A connectionless protocol

u Multi-party communication

u Medium access control (MAC) protocol

u Interleaved communication

c© 2005 Antonio Carzaniga

Page 84: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (2)

u A connectionless protocol

u Multi-party communication

u Medium access control (MAC) protocol

u Interleaved communication

u Acknowledgements

c© 2005 Antonio Carzaniga

Page 85: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (2)

u A connectionless protocol

u Multi-party communication

u Medium access control (MAC) protocol

u Interleaved communication

u Acknowledgements

u Timeout and retransmission

c© 2005 Antonio Carzaniga

Page 86: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (2)

u A connectionless protocol

u Multi-party communication

u Medium access control (MAC) protocol

u Interleaved communication

u Acknowledgements

u Timeout and retransmission

u “Master” role

c© 2005 Antonio Carzaniga

Page 87: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (3)

u Let’s revisit the phone-call protocol

Alice Bob

c© 2005 Antonio Carzaniga

Page 88: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (3)

u Let’s revisit the phone-call protocol

Alice Bobhello

c© 2005 Antonio Carzaniga

Page 89: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (3)

u Let’s revisit the phone-call protocol

Alice Bobhello

hello, this is Alice

c© 2005 Antonio Carzaniga

Page 90: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (3)

u Let’s revisit the phone-call protocol

Alice Bobhello

hello, this is Alice

Alice who?

c© 2005 Antonio Carzaniga

Page 91: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (3)

u Let’s revisit the phone-call protocol

Alice Bobhello

hello, this is Alice

Alice who?

sorry, wrong number

c© 2005 Antonio Carzaniga

Page 92: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (4)

u Another run of the phone-call protocol

Alice Bob

c© 2005 Antonio Carzaniga

Page 93: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (4)

u Another run of the phone-call protocol

Alice Bobhello

c© 2005 Antonio Carzaniga

Page 94: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (4)

u Another run of the phone-call protocol

Alice Bobhello

hello?

c© 2005 Antonio Carzaniga

Page 95: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (4)

u Another run of the phone-call protocol

Alice Bobhello

hello?

anybody there?

c© 2005 Antonio Carzaniga

Page 96: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols: Principles

u A protocol is a lot like a programI in fact, it is a distributed program, where different processes can

send messages to each other

c© 2005 Antonio Carzaniga

Page 97: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols: Principles

u A protocol is a lot like a programI in fact, it is a distributed program, where different processes can

send messages to each other

u It is an executable specification

c© 2005 Antonio Carzaniga

Page 98: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols: Principles

u A protocol is a lot like a programI in fact, it is a distributed program, where different processes can

send messages to each other

u It is an executable specification

u It must be unambiguous

c© 2005 Antonio Carzaniga

Page 99: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols: Principles

u A protocol is a lot like a programI in fact, it is a distributed program, where different processes can

send messages to each other

u It is an executable specification

u It must be unambiguous

u It must be completeI i.e., it must include actions and/or responses for all possible

situations and all possible messages

c© 2005 Antonio Carzaniga

Page 100: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols: Principles

u A protocol is a lot like a programI in fact, it is a distributed program, where different processes can

send messages to each other

u It is an executable specification

u It must be unambiguous

u It must be completeI i.e., it must include actions and/or responses for all possible

situations and all possible messages

u A network protocol must also define all the necessary messageformats

c© 2005 Antonio Carzaniga

Page 101: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (5)

u Another protocol: deciding where to go for dinner

c© 2005 Antonio Carzaniga

Page 102: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (5)

u Another protocol: deciding where to go for dinner

Alice Bobhow about pizza?

c© 2005 Antonio Carzaniga

Page 103: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (5)

u Another protocol: deciding where to go for dinner

Alice Bobhow about pizza?

we did that already

c© 2005 Antonio Carzaniga

Page 104: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (5)

u Another protocol: deciding where to go for dinner

Alice Bobhow about pizza?

we did that already

okay, you decide

c© 2005 Antonio Carzaniga

Page 105: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (5)

u Another protocol: deciding where to go for dinner

Alice Bobhow about pizza?

we did that already

okay, you decide

uhm. . . er. . .

c© 2005 Antonio Carzaniga

Page 106: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (5)

u Another protocol: deciding where to go for dinner

Alice Bobhow about pizza?

we did that already

okay, you decide

uhm. . . er. . .

so?

c© 2005 Antonio Carzaniga

Page 107: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Communication Protocols (5)

u Another protocol: deciding where to go for dinner

Alice Bobhow about pizza?

we did that already

okay, you decide

uhm. . . er. . .

so?

let’s just do pizza

c© 2005 Antonio Carzaniga

Page 108: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Protocol Layering

u Alice calls Bob to decide where to go for dinner

c© 2005 Antonio Carzaniga

Page 109: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Protocol Layering

u Alice calls Bob to decide where to go for dinner

Alice Bobhello

c© 2005 Antonio Carzaniga

Page 110: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Protocol Layering

u Alice calls Bob to decide where to go for dinner

Alice Bobhello

hello, this is Alice

c© 2005 Antonio Carzaniga

Page 111: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Protocol Layering

u Alice calls Bob to decide where to go for dinner

Alice Bobhello

hello, this is Alice

Alice, what’s up?

c© 2005 Antonio Carzaniga

Page 112: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Protocol Layering

u Alice calls Bob to decide where to go for dinner

Alice Bobhello

hello, this is Alice

Alice, what’s up?

what to do for dinner?. . .

c© 2005 Antonio Carzaniga

Page 113: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Protocol Layering

u Alice calls Bob to decide where to go for dinner

Alice Bobhello

hello, this is Alice

Alice, what’s up?

what to do for dinner?. . .

okay, bye

c© 2005 Antonio Carzaniga

Page 114: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Protocol Layering

u Alice calls Bob to decide where to go for dinner

Alice Bobhello

hello, this is Alice

Alice, what’s up?

what to do for dinner?. . .

okay, bye

bye

c© 2005 Antonio Carzaniga

Page 115: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Protocol Layering

u Alice calls Bob to decide where to go for dinner

c© 2005 Antonio Carzaniga

Page 116: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Protocol Layering

u Alice calls Bob to decide where to go for dinner

phone call protocol

c© 2005 Antonio Carzaniga

Page 117: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Protocol Layering

u Alice calls Bob to decide where to go for dinner

phone call protocol

dinner protocol

c© 2005 Antonio Carzaniga

Page 118: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Protocol Layering

u Alice calls Bob to decide where to go for dinner

phone call protocol

dinner protocol

call setup

c© 2005 Antonio Carzaniga

Page 119: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Protocol Layering

u Alice calls Bob to decide where to go for dinner

phone call protocol

dinner protocol

call setup

voice over IP

c© 2005 Antonio Carzaniga

Page 120: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Protocol Layering

u Alice calls Bob to decide where to go for dinner

phone call protocol

dinner protocol

call setup

voice over IP

. . .

c© 2005 Antonio Carzaniga

Page 121: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Internet Protocol Stack

c© 2005 Antonio Carzaniga

Page 122: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Internet Protocol Stack

application

c© 2005 Antonio Carzaniga

Page 123: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Internet Protocol Stack

application

transport

c© 2005 Antonio Carzaniga

Page 124: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Internet Protocol Stack

application

transport

network

c© 2005 Antonio Carzaniga

Page 125: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Internet Protocol Stack

application

transport

network

link

c© 2005 Antonio Carzaniga

Page 126: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Internet Protocol Stack

application

transport

network

link

physical

c© 2005 Antonio Carzaniga

Page 127: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Internet Protocol Stack (2)

u Application (e.g., HTTP, SMTP, and DNS)I application functionalitiesI application messages

c© 2005 Antonio Carzaniga

Page 128: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Internet Protocol Stack (2)

u Application (e.g., HTTP, SMTP, and DNS)I application functionalitiesI application messages

u Transport (e.g., TCP and UDP)I application multiplexing, reliable transfer (TCP), congestion

control (TCP)I datagrams (UDP) or segments (TCP)

c© 2005 Antonio Carzaniga

Page 129: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Internet Protocol Stack (2)

u Application (e.g., HTTP, SMTP, and DNS)I application functionalitiesI application messages

u Transport (e.g., TCP and UDP)I application multiplexing, reliable transfer (TCP), congestion

control (TCP)I datagrams (UDP) or segments (TCP)

u Network (IP)I end to end datagram, best-effort service, routing, fragmentationI packets (IP)

c© 2005 Antonio Carzaniga

Page 130: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Internet Protocol Stack (2)

u Application (e.g., HTTP, SMTP, and DNS)I application functionalitiesI application messages

u Transport (e.g., TCP and UDP)I application multiplexing, reliable transfer (TCP), congestion

control (TCP)I datagrams (UDP) or segments (TCP)

u Network (IP)I end to end datagram, best-effort service, routing, fragmentationI packets (IP)

u Link (e.g., Ethernet and PPP)I point-to-point or local broadcast communicationI frames (or packets)

c© 2005 Antonio Carzaniga

Page 131: Basic Concepts In Computer Networking - USI Informatics · Basic Concepts u The Internet uses packet switching u Packet switch: a link-layer switch or a router u Route: sequence of

Internet Protocol Stack (2)

u Application (e.g., HTTP, SMTP, and DNS)I application functionalitiesI application messages

u Transport (e.g., TCP and UDP)I application multiplexing, reliable transfer (TCP), congestion

control (TCP)I datagrams (UDP) or segments (TCP)

u Network (IP)I end to end datagram, best-effort service, routing, fragmentationI packets (IP)

u Link (e.g., Ethernet and PPP)I point-to-point or local broadcast communicationI frames (or packets)

u Physicalc© 2005 Antonio Carzaniga