Download Understanding Point-to-Point Protocol (PPP) and ATM in Data Communication - Prof. Patrick and more Study notes Computer Systems Networking and Telecommunications in PDF only on Docsity!
CS 3251 - Computer Networks I
Tech
CS 3251- Computer
Networks:
Link Layer(2) and Exam
Professor Patrick Traynor
Lecture 19
CS 3251 - Computer Networks I
Tech
Announcements
Next week is Spring Break!
‣ (^) Enjoy! Relax! Study networking?
Exams will be returned to you after the break.
Homework 4 will be pushed back one slot on the
calendar.
CS 3251 - Computer Networks I
Tech
Unannounced Learning Experience
What device/connection type uses PPP as its link layer
protocol?
Write this and your name on a piece of paper and pass
it to the right.
CS 3251 - Computer Networks I
Tech
Link Layer
- 5.1 Introduction and services
- 5.2 Error detection and correction
- 5.3Multiple access protocols
- 5.4 Link-Layer Addressing
- 5.5 Ethernet - 5.6 Hubs and switches - 5.7 PPP - 5.8 Link Virtualization: ATM
CS 3251 - Computer Networks I
Tech
PPP Design Requirements [RFC 1557]
- packet framing: encapsulation of network-layer datagram in data link frame ‣ (^) carry network layer data of any network layer protocol (not just IP) at same time ‣ (^) ability to demultiplex upwards
- bit transparency: must carry any bit pattern in the data field
- error detection (no correction)
- connection liveness: detect, signal link failure to network layer
- network layer address negotiation: endpoint can learn/ configure each other’s network address
CS 3251 - Computer Networks I
Tech
PPP non-requirements
- no error correction/recovery
- no flow control
- out of order delivery OK
- no need to support multipoint links (e.g., polling)
Error recovery, flow control, data re-ordering
all relegated to higher layers!
CS 3251 - Computer Networks I
Tech
PPP Data Frame
- info: upper layer data being carried
- check: cyclic redundancy check for error detection
CS 3251 - Computer Networks I
Tech
Byte Stuffing
- “data transparency” requirement: data field must be allowed to include flag pattern <01111110> ‣ (^) Q: is received <01111110> data or flag? ‣ (^) Answer: Use a control sequence byte <01111101>
- Sender: adds (“stuffs”) extra < 01111101> byte before each < 01111110> data byte
- Receiver: ‣ (^) <01111101> <01111110>: data byte <01111110> ‣ (^) <01111101> <01111101>: data byte <01111101> ‣ (^) single <01111110>: flag byte
CS 3251 - Computer Networks I
Tech
PPP Link Control Protocol Before exchanging network-layer data, data link peers must
- configure PPP link (max. frame length, authentication)
- learn/configure network layer information ‣ (^) for IP: carry IP Control Protocol (IPCP) msgs (protocol field: 8021) to configure/learn IP address
CS 3251 - Computer Networks I
Tech
Link Layer
- 5.1 Introduction and services
- 5.2 Error detection and correction
- 5.3 Multiple access protocols
- 5.4 Link-Layer Addressing
- 5.5 Ethernet - 5.6 Hubs and switches - 5.7 PPP - 5.8 Link Virtualization: ATM and MPLS
CS 3251 - Computer Networks I
Tech
The Internet: virtualizing networks 1974: multiple unconnected nets ‣ (^) ARPAnet ‣ (^) data-over-cable networks ‣ (^) packet satellite network (Aloha) ‣ (^) packet radio network … differing in: ‣ addressing conventions ‣ packet formats ‣ error recovery ‣ routing ARPAnet satellite net "A Protocol for Packet Network Intercommunication", V. Cerf, R. Kahn, IEEE Transactions on Communications, May, 1974, pp. 637-648.
CS 3251 - Computer Networks I
Tech
The Internet: virtualizing networks ARPAnet satellite net gateway Gateway:
- “embed internetwork packets in local packet format or extract them”
- route (at internetwork level) to next gateway
CS 3251 - Computer Networks I
Tech
Cerf & Kahn’s Internetwork Architecture
What is virtualized?
- two layers of addressing: internetwork and local network
- new layer (IP) makes everything homogeneous at internetwork layer
- underlying local network technology ‣ (^) cable ‣ (^) satellite ‣ (^) 56K telephone modem ‣ (^) today: ATM, MPLS … “invisible” at internetwork layer. Looks like a link layer technology to IP!
CS 3251 - Computer Networks I
Tech
ATM and MPLS
ATM, MPLS separate networks in their own right
‣ (^) different service models, addressing, routing from Internet
viewed by Internet as logical link connecting IP routers
‣ (^) just like dialup link is really part of separate network (telephone network)
ATM, MPLS: of technical interest in their own right