1 Physical and Data Link Layer Computer Network System Sirak Kaewjamnong.

Slides:



Advertisements
Similar presentations
Data Link Layer B. Konkoth. PDU  Protocol Data Unit  A unit of data which is specified in a protocol of a given layer  Layer 5, 6, 7 – Data  Layer.
Advertisements

1 Data Link Issues Relates to Lab 2. This module covers data link layer issues, such as local area networks (LANs) and point-to-point links, Ethernet,
TELE202 Lecture 7 X.25 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »Routing in WAN »Source: chapter 10 ¥This Lecture »X.25 »Source: chapter 10 ¥Next.
1 ICS 156: Lecture 2 (part 2) Data link layer protocols Address resolution protocol Notes on lab 2.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IST 201 Chapter 9. TCP/IP Model Application Transport Internet Network Access.
1 Data Link Protocols Relates to Lab 2. This module covers data link layer issues, such as local area networks (LANs) and point-to-point links, Ethernet,
Chapter 7 Data Link Layer
5: DataLink Layer5-1 Asynchronous Transfer Mode: ATM r 1990’s/00 standard for high-speed (155Mbps to 622 Mbps and higher) Broadband Integrated Service.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
5/31/05CS118/Spring051 twisted pair hub 10BaseT, 100BaseT, hub r T= Twisted pair (copper wire) r Nodes connected to a hub, 100m max distance r Hub: physical.
Lect-2: BasicsComputer Networks : An Introduction to Computer Networks Handout #2: Foundations and Basic Concepts Additional Reading Text book:
Department of Computer Engineering University of California at Santa Cruz Networking Systems (1) Hai Tao.
Semester 4 - Chapter 4 – PPP WAN connections are controlled by protocols In a LAN environment, in order to move data between any two nodes or routers two.
OSI Model.
1 Interconnection ECS 152A. 2 Interconnecting with hubs r Backbone hub interconnects LAN segments r Extends max distance between nodes r But individual.
COMPUTER NETWORKS.
Lecture slides prepared for “Business Data Communications”, 7/e, by William Stallings and Tom Case, Chapter 8 “TCP/IP”.
1.  A protocol is a set of rules that governs the communications between computers on a network.  Functions of protocols:  Addressing  Data Packet.
WAN Networking Protocols 1 WAN Connection Types Share bandwidth Frame Relay and X.25 56Kbps to 2.048Mps Point-to-Point connection No setup before transmission.
PPP (Point to Point Protocol)
Network Technologies (TCP/IP)
Module 10. Internet Protocol (IP) is the routed protocol of the Internet. IP addressing enables packets to be routed from source to destination using.
The Network Layer. Network Projects Must utilize sockets programming –Client and Server –Any platform Please submit one page proposal Can work individually.
Midterm Review - Network Layers. Computer 1Computer 2 2.
Chapter Objectives At the end of this chapter you will be able to: Describe standardisation in the data communications area Describe the following technologies:
Wide Area Networks(WANs) Lecture Week 2. Point-to-Point Protocol (PPP) Accessing the WAN.
Chapter 2 – X.25, Frame Relay & ATM. Switched Network Stations are not connected together necessarily by a single link Stations are typically far apart.
Chapter 7 Low-Level Protocols
Mukesh N. Tekwani Elphinstone College Mumbai
Introduction to Networks CS587x Lecture 1 Department of Computer Science Iowa State University.
Point-to-Point Access: PPP PPP Between Routers  Used for Point-to-Point Connections only  Used as data link control (encapsulates network layer.
The Source : Source 의 출처 제목 : Link Layer ( 수 ) 양 우 철
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Winter 2008CS244a Handout 31 CS244a: An Introduction to Computer Networks Handout 3: Foundations and Basic Concepts Nick McKeown Professor of Electrical.
CSE 6590 Department of Computer Science & Engineering York University 111/9/ :26 AM.
1 Chapter 8 – TCP/IP Fundamentals TCP/IP Protocols IP Addressing.
Communication Networks - Overview CSE 3213 – Fall November 2015.
1 Chapter Overview Network Communications The OSI Reference Model.
1 Chapter Overview Network Communications The OSI Reference Model.
Institute of Technology Sligo - Dept of Computing Chapter 12 The Transport Layer.
Wide Area Networks (WAN) Terms that are commonly used by service providers: Customer premises equipment (CPE) Equipment that’s owned by the subscriber.
1 OSI and TCP/IP Models. 2 TCP/IP Encapsulation (Packet) (Frame)
Copyright 2002Cisco Press: CCNA Instructor’s Manual Year 2 - Chapter 16/Cisco 4 - Module 9 CCNA Certification Exam Review By Your Name.
1 Networking. 2 Network “... communication system for connecting end-systems” End-systems a.k.a. “hosts” PCs, workstations dedicated computers network.
Point to Point connections
Slide #1 CIT 380: Securing Computer Systems TCP/IP.
정보보호기술연구본부 “Internet Security” Chapter 1. P.2 Contents 1. Internetworking and Layered Models 1.1 Networking Technology - LANs, WANs 1.2 Connecting Devices.
WAN Transmission Media
5: DataLink Layer5-1 Hubs Hubs are essentially physical-layer repeaters: m bits coming from one link go out all other links m at the same rate m no frame.
© Jörg Liebeherr (modified by M. Veeraraghavan) 1 Point-to-Point Protocol Data Link Layer Loopback ARP and RARP.
The OSI Model An overview of the media layer (Physical, Data Link, Network) By Luke Shiffner.
Data Link Protocols Relates to Lab 2.
2003 컴퓨터 통신 1 Foundation # 컴퓨터 통신 2 Outline A Detailed FTP Example Layering Packet Switching and Circuit Switching Some terms –Data rate, “Bandwidth”
: An Introduction to Computer Networks Handout #2: Foundations and Basic Concepts Additional Reading Text book: Chap. 3.1 Homepage
Data Link Issues Relates to Lab 2.
Data Link Issues This module covers data link layer issues, such as local area networks (LANs) and point-to-point links, Ethernet, and the Point-to-Point.
What the OSI Protocol Layers Do
Lec 2: Protocols.
PPP PROTOCOL The First semester
Data Link Issues This module covers data link layer issues, such as local area networks (LANs) and point-to-point links, Ethernet, and the Point-to-Point.
Hubs Hubs are essentially physical-layer repeaters:
Physical and Data Link Layers
Hubs Hubs are essentially physical-layer repeaters:
Chapter 20 Network Layer: Internet Protocol
TCP/IP Protocol Suite: Review
Network Architecture Models
Networking.
Presentation transcript:

1 Physical and Data Link Layer Computer Network System Sirak Kaewjamnong

2 Network Devices

3 Circuit Switching AB Sou rce Destin ation  It ’ s the method used by the telephone network.  A call has three phases: 1.Establish circuit from end-to-end ( “ dialing ” ), 2.Communicate, 3.Close circuit  Originally, a circuit was an end-to-end physical wire.  Nowadays, a circuit is like a virtual private wire: each call has its own private, guaranteed data rate from end- to-end.

4 Circuit Switching : T elephone Network Sourc e “ Calle r ” Central Office “ C.O. ” Destinati on “ Callee ” Central Office “ C.O. ” Trunk Exchange Each phone call is allocated 64kb/s. So, a 2.5Gb/s trunk line can carry about 39,000 calls.

5 Packet Switching A R1 R2 R4 R3 B Sourc e Destinati on  It ’ s the method used by the Internet.  Each packet is individually routed packet-by-packet, using the router ’ s local routing table.  The routers maintain no per-flow state.  Different packets may take different paths.  Several packets may arrive for the same output link at the same time, therefore a packet switch has buffers.

6 Packet Switching : Simple router model R1 Link 1 Link 2 Link 3 Link 4 Link 1, ingressLink 1, egress Link 2, ingressLink 2, egress Link 3, ingressLink 3, egress Link 4, ingressLink 4, egress

7 Why does the Internet use packet switching? Efficient use of expensive links: –The links are assumed to be expensive and scarce. –Packet switching allows many, bursty flows to share the same link efficiently. –“ Circuit switching is rarely used for data networks,... because of very inefficient use of the links ” - Gallager Resilience to failure of links & routers: –“ For high reliability,... [the Internet] was to be a datagram subnet, so if some lines and [routers] were destroyed, messages could be... rerouted ” - Tanenbaum Source: Networking 101

8 Packet Switching Host A Host B R1 R2 R3 A R1 R2 R4 R3 B TRANSP 1 TRANSP 2 TRANSP 3 TRANSP 4 PROP 1 PROP 2 PROP 3 PROP 4 Sourc e Destinati on “ Store-and-Forward ” at each Router

9 Packet Switching Why not send the entire message in one packet? Breaking message into packets allows parallel transmission across all links, reducing end to end latency. It also prevents a link from being “ hogged ” for a long time by one message. Host A Host B R1 R2 R3 M/R Host A Host B R1 R2 R3 M/R

10 Common Data Link

11 LAN and WAN Layers Physical and Data Link layer for LAN and WAN

12 Medium Access Control Protocol for controlling access to transmission medium Defined as part of Data Link layer The protocol performs: –Perform functions related to medium access (MAC sublayer) –Concerned with the transmission of a link-Level between two node (LLC sublayer)

13 IEEE Operation Every node can receive a transmission by all other nodes Need addressing scheme to identify destination Only destination copies frame to it, all other nodes discarded the frame

14 Token Ring / IEEE 802.5

15 IEEE Operation Token ring LANs continuously pass a token or a token ring frame

16 Fiber Distributed Data Interface (FDDI) Devices on FDDI maintain connectivity on dual ring

17 WAN Protocols SDLC : Synchronous Data Link Control for IBM SNA network HDLC : High Level Data Link Control common WAN data link LAPB : Link Access Protocol, Balanced DTE to DCE data link for X.25 Frame Relay framing for higher speed, reduce checking for higher speed PPP : Point to Point Protocol part of TCP/IP stack for WAN links

18 SLIP : Serial Line IP Method for encapsulation IP datagrams on serial line Popular for connecting home computer to Internet, via modem RFC 1005 de facto standard

19 SLIP Deficiency Need manual configuration of IP address both side (no negotiation mechanism ) Only one protocol can be used because there is no field to specify type of protocol No checksum, bad for protocol that depend on CRC Slow line make inefficient to carry only 1 byte data with 40 bytes overhead(IP + TCP header) –CSLIP (compress SLIP) reduces 40 bytes header to 3-5 bytes –smaller header greatly improve the interactive respond time

20 PPP : Point to Point Protocol Methods for encapsulation IP datagrams on serial line, correct all deficiency in SLIP Support either an asynchronous link with 8N1 or bit oriented synchronous link Two parts: –LCP :(Link Control Protocol ) to establish, configure and test connection –NCP :(Network Control Protocol) support different network layer protocols

21 PPP Advantage Support multiple protocols CRC for every frame Dynamic negotiation of the IP address for each end Link control protocol for negotiating data-link options

22 Loopback Interface Channel for client and server on the same host use to communicate Class A network ID 127 is reserve for the loopback interface Most system assigns IP with the name “ localhost ” Loopback interface appears as another link layer to the network layer

23 Summary The physical layer provides access to the medium of an internetwork The data link layer provides support for communications over several types of data links: –LAN (Ethernet, IEEE 802.X, FDDI) –Dedicated WAN (SDLC, HDLC,PPP,LAPB) –Switches LAN (X.25, Frame Relay, ISDN)