Operating Systems Lesson 10. Networking Communications protocol is the set of standard rules for ◦ Data representation ◦ Signaling ◦ Authentication ◦

Slides:



Advertisements
Similar presentations
TCP-IP Primer David Cozens. Targets Have a basic understanding of Ethernet network technology Be aware of how this technology is applied on the 5000 series.
Advertisements

IST 201 Chapter 9. TCP/IP Model Application Transport Internet Network Access.
Network Certification Preparation. Module - 1 Communication methods OSI reference model and layered communication TCP/IP model TCP and UDP IP addressing.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
Chapter Extension 7 How the Internet Works © 2008 Prentice Hall, Experiencing MIS, David Kroenke.
Understanding Networks. Objectives Compare client and network operating systems Learn about local area network technologies, including Ethernet, Token.
Introduction To Networking
Chapter 2 Internet Protocol DoD Model Four layers: – Process/Application layer – Host-to-Host layer – Internet layer – Network Access layer.
Bob Baker Communications Bob Baker September 1999.
Prepared By E.Musa Alyaman1 Networking Theory Chapter 1.
COMPUTER NETWORKS.
Building a Simple Network
1 TCP/IP architecture A set of protocols allowing communication across diverse networks Out of ARPANET Emphasize on robustness regarding to failure Emphasize.
Lecture 8 Modeling & Simulation of Communication Networks.
IST 228\Ch3\IP Addressing1 TCP/IP and DoD Model (TCP/IP Model)
OSI Model Routing Connection-oriented/Connectionless Network Services.
Chapter 4: Managing LAN Traffic
Managing Network connections. Network Cabling Ethernet Topology Bus topology – Connects each node in a line – Has no central connection point Star topology.
WXES2106 Network Technology Semester /2005 Chapter 4 TCP/IP CCNA1: Module 9, 10.3 and 11.
Chapter 2 Network Models
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
Exploring the Packet Delivery Process Chapter
Computer Networks.  The OSI model is a framework containing seven layers that defines the protocols and devices used at each stage of the process when.
Cisco 1 - Networking Basics Perrine. J Page 19/17/2015 Chapter 9 What transport layer protocol does TFTP use? 1.TCP 2.IP 3.UDP 4.CFTP.
1 Introduction to Networking Dr. Mahdi Nasereddin PPU.
COMT 429 The Internet Protocols COMT 429. History 1969First version of a 4 node store and forward network, the ARPAnet 1972Formal demonstration of ARPAnet.
Huda AL_Omairl - Network 71 Protocols and Network Software.
Component 9 – Networking and Health Information Exchange Unit 1-1 ISO Open Systems Interconnection (OSI) This material was developed by Duke University,
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 17 This presentation © 2004, MacAvon Media Productions Multimedia and Networks.
TCP/IP TCP/IP LAYERED PROTOCOL TCP/IP'S APPLICATION LAYER TRANSPORT LAYER NETWORK LAYER NETWORK ACCESS LAYER (DATA LINK LAYER)
Chapter 6-2 the TCP/IP Layers. The four layers of the TCP/IP model are listed in Table 6-2. The layers are The four layers of the TCP/IP model are listed.
Information Flow Across the Internet. What is the Internet? A large group of computers that link together to form the Worldwide Area Network (WAN)
1 TCP/IP, Addressing and Services S. Hussain Ali M.S. (Computer Engineering) Department of Computer Engineering King Fahd University of Petroleum and Minerals.
Computer Security Workshops Networking 101. Reasons To Know Networking In Regard to Computer Security To understand the flow of information on the Internet.
CCNA 1 v3.0 Module 9 TCP/IP Protocol Suite and IP Addressing.
CSE 6590 Department of Computer Science & Engineering York University 111/9/ :26 AM.
Multimedia and Networks. Protocols (rules) Rules governing the exchange of data over networks Conceptually organized into stacked layers – Application-oriented.
1 Introduction to TCP/IP. 2 OSI and Protocol Stack OSI: Open Systems Interconnect OSI ModelTCP/IP HierarchyProtocols 7 th Application Layer 6 th Presentation.
CCNA 1 v3.0 Module 9 TCP/IP Protocol Suite and IP Addressing
1 OSI and TCP/IP Models. 2 TCP/IP Encapsulation (Packet) (Frame)
Monitoring Troubleshooting TCP/IP Chapter 3. Objectives for this Chapter Troubleshoot TCP/IP addressing Diagnose and resolve issues related to incorrect.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 17 This presentation © 2004, MacAvon Media Productions Multimedia and Networks.
Individual Project 1 Sarah Pritchard. Fran, a customer of your company, would like to visit your company’s website from her home computer… How does your.
1 Bus topology network. 2 Data is sent to all computers, but only the destination computer accepts 02608c
OSI means Open System Interconnect model. OSI means Open System Interconnect model. Developed by the International Organization for Standardization in.
ISDS 4120 Project 1 DWAYNE CARRAL JR 3/27/15. There are seven layers which make up the OSI (Open Systems Interconnection Model) which is the model for.
Transmission Control Protocol (TCP) Internet Protocol (IP)
CTC 228 – Computer Networks Fall 2015 Instructor: Robert Spengler.
Voice Over Internet Protocol (VoIP) Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Presentation 5 – VoIP and the OSI Model.
DIYTP Network Basics  How do computers communicate?  Network Interface Card (NIC)  Media Access Control Address (MAC)  Unique to each NIC 
1 Objectives Identify the basic components of a network Describe the features of Internet Protocol version 4 (IPv4) and Internet Protocol version 6 (IPv6)
Data Communications and Networks Chapter 6 – IP, UDP and TCP ICT-BVF8.1- Data Communications and Network Trainer: Dr. Abbes Sebihi.
Data Communication Network Models
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
Chapter 3 : Internetworking BENG 4522 Data Communications & Computer Networks Internetworking LAN connecting devices  Repeater, bridge, router,
TCP/IP Protocol Suite and IP Addressing Presented By : Dupien AMS.
Network Models. The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding.
The OSI Model. Understanding the OSI Model In early 1980s, manufacturers began to standardize networking so that networks from different manufacturers.
End-host IP: MAC: 11:11:11:11:11 gateway IP: MAC: 22:22:22:22:22 Google server IP: interne t interface DNS server IP:
Communication Networks NETW 501 Tutorial 2
OSI LAYERS.
LESSON Networking Fundamentals Understand TCP/IP.
Scaling the Network: The Internet Protocol
Layered Architectures
Understand the OSI Model Part 2
Computer Networks 9/17/2018 Computer Networks.
TCP/IP Networking An Example
TCP/IP Protocol Suite: Review
Lecture 2: Overview of TCP/IP protocol
Scaling the Network: The Internet Protocol
Presentation transcript:

Operating Systems Lesson 10

Networking Communications protocol is the set of standard rules for ◦ Data representation ◦ Signaling ◦ Authentication ◦ Error detection Usually split into layers ◦ Higher layer protocols use services from low level ◦ High layer protocols adds complexity ◦ Low-level protocols are usually unaware of higher-layer payload content

OSI Model Data unitLayerFunction Host layers Data 7. ApplicationApplicationNetwork process to application 6. PresentationPresentationData representation and encryption 5. SessionSessionInterhost communication Segment4. TransportTransportEnd-to-end connections and reliability (TCP) Media layers Packet/Datagram3. NetworkNetwork Path determination and logical addressing (IP) Frame2. Data linkData linkPhysical addressing (MAC & LLC) Bit1. PhysicalPhysicalMedia, signal and binary transmission

Routing/Switching Usually there is no direct connection between every 2 devices (PC, phones- hosts) Communications data travels a path of several nodes( e.g routers/switches) Each node forwarded (routes) data to the next node over a communication link(hop)

Packet vs. Circuit switching Packet switching ◦ Packets (discrete blocks of data) are routed between nodes over data links shared with other traffic ◦ Usually “ best effort” Circuits switching ◦ Establishes a fixed bandwidth circuit (or channel) between nodes and terminals before the users may communicate ◦ Bandwidth is reserved even if data is not transmitted

Transmission modes Broadcast Multicast Unicast

TCP/IP protocol stack

Ethernet: Bus A network card, network adapter, LAN Adapter or NIC Several Stations connected by wire (bus), “everyone sees everyone” Each station has unique address (MAC) burned into network card Need to know each other address to communicate Nothing is guaranteed

Ethernet: Star HUB: Connect devices as a single segment Switch: Inspect and forward packets to appropriate port

Ethernet: CSMA/CD

CSMA/CA

IP address Numerical address ( human readable form) Global unique addresses to be reached from outside world Local addresses to use within the enterprise can be reused by different networks Host with local addresses can reach global hosts using Network Address Translation (NAT) mechanism

IP Routing network id costnext hop Windows shell: ROUTE PRINT If Destination Address & Mask==Network Id send to specified gateway through specified NIC

ARP (Address Resolution Protocol) IP router decided what is the next hop according to its routing table Knows IP but Ethernet needs MAC address Broadcast IP and wait for response from host that has this IP ARP –a in windows shell

DHCP (Dynamic Host Configuration Protocol) What happens when you plug-in network cable into wall? Your PC need to know its IP, IP of a gateway and other parameters DHCP server accept broadcasts DHCP server assigns IP and provides addresses of all required services IPCONFIG in Windows Shell

IP is Best-Offer: Fault-events ◦ data corruption ◦ lost data packets ◦ duplicate arrival ◦ out-of-order packet delivery

UDP over IP (User Datagram) Over IP Ports to distinguish applications at the same host No guaranteed delivery May arrive out of order (different routing path) LightWeight (less delay, processing) Usage: Audio streaming

TCP over IP (TCP/IP) Transmission Control Protocol (TCP) Guaranteed delivery ◦ Packets have sequence number (SQN) ◦ Receiver send acknowledge (ACK) Port number in addition to IP address ◦ To distinguish between applications Mechanisms for establishment and termination of a connection

DNS (Dynamic Name System) Sometimes want to assign symbolic name to a host (tau.ac.il) DNS server lookup IP address by DNS name Multilevel lookup (ac.il is an address of DNS server which manage universities) DNS server is obtained by DHCP DNS tables are cached everywhere

Windows Networking Tools IPCONFIG ◦ IP configuration ARP –a ◦ ARP table ROUTE PRINT ◦ IP routing table PING ◦ Ping host and DNS resolve TRACERT ◦ Routing path to host NSLOOKUP ◦ DNS lookup NETSTAT ◦ Open TCP/UDP ports

Example Connect a laptop to the wall socket (Ethernet), open browser and go to 1.laptop detects that cable is connected 2.Laptop broadcasts DHCP request asking for IP configuration (e.g. IP address, IP routing table, DNS server address etc.) 3.DHCP server responses with IP configuration 4.Browser needs to translate symbolic address (google.com) to the numeric IP through sending a UDP request to DNS server 5.DNS server address is known (received through DHCP), need to know next gateway to reach it over IP 6.Lookup next gateway on the route to DNS using IP routing table 7.Got IP of the next gateway from IP table, need MAC address to send over Ethernet 8.Send ARP broadcast to find out MAC address of the gateway, save response in the table. Send DNS UDP request to the gateway through Ethernet. 9.After DNS server responds with IP of the Google’s web site, browser establishes TCP connection to port 80(HTTP) of the server 10. Repeat steps 6-8 this type for Google IP: Find next gateway on the way to Google web site, send ARP if required to find gateway’s MAC address