The Internet software layers

Similar documents
Data Communication. Introduction of Communication. Data Communication. Elements of Data Communication (Communication Model)

COMPONENTS OF DATA COMMUNICATION

ROYAL INSTITUTE OF INFORMATION & MANAGEMENT

ก ก Information Technology II

Internet. Networks. An Old Way of PC-PC Communication. global positioning system (GPS) PC A to floppy disk Then floppy disk to PC B

Chapter 10: Local Area Networks

Introduction to LAN Protocols

Introduction to LAN Protocols

STM. Computing. Specifica on Topics. High Level Skills you should think about to take your work to the next level:

CCNA Exploration Network Fundamentals. Chapter 09 Ethernet

Special expressions, phrases, abbreviations and terms of Computer Networks

Typical Network Uses

Chapter 4 NETWORK HARDWARE

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061/1110. Lecture 8. Medium Access Control Methods & LAN

1: Review Of Semester Provide an overview of encapsulation.

INTRODUCTION TO ICT.


Introduction to Networking Devices

What is a Network? A connection of two or more computers so that they can share resources.

MTA_98-366_Vindicator930

Lecture #25: Networks and Communications. Communication and Networks. What will we learn?

Solved MCQ of Computer networking. Set-1

Internet Structural View. The Internet software layers. Package-shipping example TCP UDP

CARRIER SENSE MULTIPLE ACCESS (CSMA):

Dr./ Ahmed Mohamed Rabie Sayed

(Network Programming) Basic Networking Hardware

ITEC 3210 M - Applied Data Communications and Networks. Professor: Younes Benslimane, Ph.D.

Chapter 16 Networking

IT 4504 Section 4.0. Network Architectures. 2008, University of Colombo School of Computing 1

Ethernet 101 Siemens Industry Inc All rights reserved. usa.siemens.com/industry

Networking. Networking and Communication Trends Convergence (Accessibility) Speed Stability Simplicity* Embeddedness

OSI Model. Teran Subasinghe MBCS, Bsc.(Hons) in Computer Science - University of Greenwich, UK

KIBABII UNIVERSITY COLLEGE DEPARTMENT COMPUTER SCIENCE & IT ANSWER ALL QUESTIONS IN SECTION A AND ANY TWO QUESTIONS IN SECTION B

Networking 101. Introduction to Ethernet networking basics; Network types, components, configurations. Routers. Switches. Servers.

2. LAN Topologies Gilbert Ndjatou Page 1

More on LANS. LAN Wiring, Interface

CHAPTER 2 - NETWORK DEVICES

Essential Elements of Medical Networks. D. J. McMahon rev cewood

A+ Guide to Hardware: Managing, Maintaining, and Troubleshooting, 5e. Chapter 10 Networking Essentials

ECS 15; Lectures 17 and 18. The Internet. What is the internet, and how does it work? TA feedback

BVRIT HYDERABAD College of Engineering for Women Department of Information Technology. Hand Out

ET4254 Communications and Networking 1

Contention Protocols and Networks

Review: Networking Fall Final

BABU MADHAV INSTITUTE OF INFORMATION TECHNOLOGY, UTU 2017

Chapter 9 Ethernet Part 1

IT 2004 Data Communication & Networking

Part3. Local Area Networks (LAN)

Introduction to Computer Networks INTRODUCTION TO COMPUTER NETWORKS

networks List various types of networks and their

Chapter Seven. Local Area Networks: Part 1. Data Communications and Computer Networks: A Business User s Approach Seventh Edition

GAYATRI COMPUTERS Prepared by : VENKAT.G 1. Module 1: NETWORK BASICS

ITP 140 Mobile Applications Technologies. Networks

Objectives. Hexadecimal Numbering and Addressing. Ethernet / IEEE LAN Technology. Ethernet

Computers: Tools for an Information Age. Chapter 7 Networking: Computer Connections

Lecture 7: Internetworking See Chapter 3 of Colouris

RAJIV GANDHI COLLEGE OF ENGINEERING AND TECHNOLOGY

Lecture 6: Example LAN: Ethernet

Zarządzanie sieciami telekomunikacyjnymi

Internetworking is connecting two or more computer networks with some sort of routing device to exchange traffic back and forth, and guide traffic on

Introduction to LAN Topologies Cabling. 2000, Cisco Systems, Inc. 3-1

Networking Fundamentals Tom Brett

THE OSI MODEL. Application Presentation Session Transport Network Data-Link Physical. OSI Model. Chapter 1 Review.

Networking and TCP/IP. John Kalbach November 8, 2004

Chapter 6: DataLink Layer - Ethernet Olivier Bonaventure (2010)

CS610- Computer Network Solved Subjective From Midterm Papers

CCM 4300 Lecture 6 Computer Networks, Wireless and Mobile Communications. Dr Shahedur Rahman. Room: T115

Outline: Connecting Many Computers

Computer Networks and Internet

Goal and Outline. Computer Networking. What Do We Need? Today s Story Lecture 3: Packet Switched Networks Peter Steenkiste

Interface The exit interface a packet will take when destined for a specific network.

CSCD 330 Network Programming Spring 2017

Networking Devices. Punch_down panels

Computer Communication Networks Lecture No. 1

Introduction to Networking

A+ Guide to Hardware: Managing, Maintaining, and Troubleshooting, 5e. Chapter 10 Networking Essentials

Chapter 6 Connecting Device

Lecture (04) Data link layer

Ethernet Basics. based on Chapter 4 of CompTIA Network+ Exam Guide, 4 th ed., Mike Meyers

Facilitator. Introduction to IT Networking for Facilities Managers. Class Logistics

Lesson 1: Network Communications

Layer 2 functionality bridging and switching

exam. Number: Passing Score: 800 Time Limit: 120 min CISCO Interconnecting Cisco Networking Devices Part 1 (ICND)

CMPE 150 Winter 2009

Different network topologies

CISCO SYSTEM ADMINISTRATION (41)

Test Bank for A Guide to Designing and Implementing Local And Wide Area Networks 2nd Edition by Palmer and Sinclair

Lecture (02) Network Protocols and Standards

Computer Networks. Computer Networks. Telecommunication Links. CMPUT101 Introduction to Computing - Spring Chapter 12: Computer Networks 1

ITP 140 Mobile Applications Technologies. Networks

IT114 NETWORK+ Learning Unit 1 Objectives: 1, 2 Time In-Class Time Out-Of-Class Hours 2-3. Lectures: Course Introduction and Overview

Chapter 6: Network Communications and Protocols

SYSTEMS ADMINISTRATION USING CISCO (315)

Communicating over the Network

Local Area Network(LAN)

Review For Exam 2. Internetworking. Summary Questions. School of Business Eastern Illinois University. School of Business Eastern Illinois University

OSI Reference Model. Computer Networks lab ECOM Prepared By : Eng. Motaz Murtaja Eng. Ola Abd Elatief

Data Communication. Chapter # 1: Introduction. By: William Stalling

Chapter 2 Communicating Over the Network

Lecture (03) Data Encapsulation. Network Layer (Physical/Data link)

Transcription:

1 2 The Internet software layers SMTP, Telnet, FTP, POP3, IMAP TCP, UDP IP: RIP, BGP, OSPF Ethernet, Wireless LAN, Token Ring Twisted pair, coaxial, microwave, optical fiber 3 4 Ethernet 1973 Xerox s researcher Bob Metcalfe Communication over a single cable shared by all devices originally DEC, Intel, and Xerox (DIX) drawing up a standard for 10-Mbps Ethernet Forming the basis for 802.3 802.X (IEEE standardizing network technologies in February, 1980) CSMA/CD 5 Ethernet Terminology Medium - Ethernet devices attach to a common medium that provides a path along which the electronic signals will travel. Historically, this medium has been coaxial copper cable, but today it is more commonly a twisted pair or fiber optic cabling. Segment - We refer to a single shared medium as an Ethernet segment. Node - Devices that attach to that segment are stations or nodes. Frame - The nodes communicate in short messages called frames, which are variably sized chunks of information. 6 1

Frames Analogous to sentences in human language Ethernet protocol: specifies a set of rules for constructing frames Explicit minimum and maximum lengths for frames Including destination address and a source address (IP address will be addressed later.) When computer B transmits to printer C, computers A and D will still receive and examine the frame. However, when a station first receives a frame, it checks the destination address to see if the frame is intended for itself. If it is not, the station discards the frame without even examining its contents. Broadcast address: A frame with a destination address equal to the broadcast address (simply called a broadcast, for short) is intended for every node on the network, and every node will both receive and process this type of frame. 7 8 CSMA/CD Carrier Sense Multiple Access with Collision Detection Multiple access Several computers intend to send data Carrier sense Computers sense the carrier to determine whether it s OK to send Collision detection Computers detect collision in case of simultaneous transmissions The Mechanisms Each computer listens on the Ethernet If not sensing data on the carrier, OK to send its own data If sensing data on the carrier, check whether the data is addressed for itself In case of simultaneous transmissions, (collisions) The computer waits a random period of time before re-send 9 10 Simple Cheap Properties The more computers on the LAN, the higher the chance of data colliding Similar to Having a Polite Conversion One speaks at a time So each listens and waits until it s quiet In case speaking out at the same time, stop and try again 11 12 2

Annoying Person Do not listen Speak whenever he/she likes Refuse to back off Singapore Pretty, clean, organized, efficiency Everything is fine. It is also famous for Rules are strictly enforced. Everything is fine. It s a FINE city. 13 14 Annoying Person Do not listen Speak whenever he/she likes Refuse to back off Where would the conversation go? 15 16 No Where The majority of well-behaving people will not be able to communicate with the misbehaving people Solution Kick the annoying guy out The majority of well-behaving people will not be able to communicate with other well-behaving people either 17 18 3

Think This Way All participants must follow the same set of rules Protocol : Common rules obeyed by all parties, i.e. The rules that govern the communication between different components within a computer system. 19 20 Mechanisms of CSMA/CD Each computer listens on the Ethernet If not sensing data on the carrier, OK to send its own data If sensing data on the carrier, check whether the data is addressed for itself In case of simultaneous transmissions, (collisions) The computer waits a random period of time before re-send 21 Collision domain: A single Ethernet segment is sometimes called a collision domain. Repeater: Repeaters connect multiple Ethernet segments, listening to each segment and repeating the signal heard on one segment onto every other segment connected to the repeater. Bridges Extend the network diameter like a repeater Reduce unnecessary traffic by filtering: e.g. A->B, confining the traffic in segment 1, not in segment 2 22 Switched Ethernet a dedicated segment for each station => dedicated bandwidth. Switch like bridges (multi-port bridge) for single-station segments The switch then forwards the frame over the appropriate segment, just like a bridge, but since any segment contains only a single node, the frame only reaches the intended recipient. This allows many conversations to occur simultaneously on a switched network. Max. Bandwidth may be N/2 x (Individual Bandwidth). E.g. N/2*100Mbps Hub: share the same segment/bandwidth It is full-duplex ( 雙工 ) send and receive data at the same time (Legacy Ethernet uses shared medium. It is half duplex. information can move in only one direction at a time) Repeater Switch Note: simplex( 單工 ): one way, like radio or TV broadcasting 23 24 4

Ethernet Port hub bus Collision 100Mbps shared Collision avoidance Security problem, harder to manage possibly Cheap IP switch - star No collision 100Mbps each (Max. = N/2 *100 Mbps) Easier to manage Expensive 25 26 Item Medium 10 Base2 Coaxial cable 10 BaseT Twisted pair 100BaseTX Twisted Pair Ethernet is the most popular medium access control protocol. Plug BNC RJ-45 RJ-45 Max Segment L 185 m 100 m 100 m Topology bus star star 27 28 MAC Medium Access Control The class of protocols that handle medium access problems Example Ethernet (IEEE 802.3) Token Bus (IEEE 802.4) Token Ring (IEEE 802.5) Wireless LAN (IEEE 802.11) Bluetooth (IEEE 802.15), MAC addressing e.g. 00:A0:C9:14:C8:29, where 00:A0:C9 for Intel Token Ring The ring initializes by creating a token, which is a special type of frame that gives a station permission to transmit. The token circles the ring like any frame until it encounters a station that wishes to transmit data. This station then "captures" the token by replacing the token frame with a data-carrying frame, which encircles the network. Once that data frame returns to the transmitting station, that station removes the data frame, creates a new token and forwards that token on to the next node in the ring. 29 30 5

WAN Questions? Wide Area Network A large number (usually) of connected computers spreading across a wide area Connecting LANs A LAN connects to a WAN via a router 31 32 Constructing a WAN Any Shape You Like Star, ring, bus? A large number (usually) of connected computers spreading across a wide area Large number not efficient Wide area not economical 33 34 How to get the data to go where you want them to be? Routing Finding a route from the source to the destination 35 36 6

Internet Protocol (IP) IP address: a 32-bit number, e.g. 140.112.1.6 About 4.3 billion possible combinations ICANN (Internet Corporation for Assigned Names and Numbers) http://www.icann.org TWNIC (Taiwan Network Information Center) http://www.twnic.net Personal or company addresses => ISPs IP routing How to get the data to go where you want them to be? 37 Routing Finding a route from the source to the destination 38 A to B A Not That Easy. A B B Don t have the view of entire network 39 40 The Rules - Initial I tell my neighbors. You tell yours Determine initial table Route and distance to itself and the neighbors Select one router to start telling its table to the neighbors 41 42 7

The Rules - Propagation Upon receiving a table, Check if there exists a shorter path to any destination If yes, update table and tell the neighbors of the updated table If not, do nothing (already the shortest path table) Distance Vector Routing RIP BGP (strictly, path vector) Distance Vector the table in the example 43 44 RIP Routing Information Protocol Works exactly the way above Example - campus networks BGP Border Gateway Protocol Slightly more complicated Taking policies into consideration Propagating paths to prevent loops Example - backbone networks 45 46 IP Routing RIP and BGP are two popular routing protocols. Internet Protocol Routing The class of protocols that handle routing problems Example RIP (IETF RFC 1058) BGP (IETF RFC 1771) OSPF (IETF RFC 2328) 47 48 8

Internet Structural View Internet - Protocol View WAN/Backbone BGP LAN WAN/Campus LAN WAN/Corporate LAN LAN WAN/ISP LAN LAN Wireless LAN RIP Ethernet Ethernet OSPF Wireless LAN OSPF Ethernet Wireless LAN LAN Token Ring 49 50 IP Address Domain Name Service 140.112.18.254 A 140.112.5.245 B 140.112.18.254 140.112.5.245 D C 172.16.0.1 140.112.8.130 172.16.0.1 140.112.8.130 www.ntu.edu.tw 51 52 Subnet Concept TCP/IP Network Setting 140.112.18.254 140.112.5.245 Gateway 172.16.0.1 140.112.8.130 172.16.1.76 172.16.1.80 172.16.1.83 172.16.1.96 LAN Netmask 255.255.0.0 Subnet 172.16 IP Address The address used to route data around the network DNS Server Find the IP address from a computer s name (hostname) Gateway The default router to forward data out from the local subnet Netmask To determine the size of a subnet Subnet 172.16 53 54 9

Summary The principle Transmission Media and access Interconnection LAN and Ethernet WAN and DV routing TCP/IP Network Configuration Review Hub, bridge, switch, repeater, router, gateway DNS (Domain Name Server) DHCP (Dynamic Host Configuration Protocol) 55 56 Some Solutions to Shortage of IP Numbers DHCP Not every node is online at the same time Dynamic IP number N nodes share P numbers (N>P) Hard to locate due to dynamic IP number Local IP NAT, same IP (but different ports) to outside Need forwarding IPv6 32bits => 128 bits 57 Network Address Translation (NAT) -- IP sharing http://computer.howstuffworks.com/nat.htm/printable 58 The distinction between a bridge and a router 59 60 10

Repeater A typical approach to connecting to the Internet Switch 61 62 63 64 Questions? 65 66 11