COMS Introduction to Computers. Networking

Similar documents
The OSI Model. Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO).

precise rules that govern communication between two parties TCP/IP: the basic Internet protocols IP: Internet protocol (bottom level)

Chapter 2 Communicating Over the Network

CS3600 SYSTEMS AND NETWORKS

Data Communication and Network. Introducing Networks

Layering in Networked computing. OSI Model TCP/IP Model Protocols at each layer

Defining Networks with the OSI Model. Module 2

Introduction to computer networking

PROGRAMMING Kyriacou E. Frederick University Cyprus. Network communication examples

ITEC 3800 Data Communication and Network. Introducing Networks

Local Area Networks and the Network Protocol Stack

Operating Systems. 16. Networking. Paul Krzyzanowski. Rutgers University. Spring /6/ Paul Krzyzanowski

Operating Systems CS 571

Data & Computer Communication

Computer Communication & Networks / Data Communication & Computer Networks Week # 03

E&CE 358: Tutorial 1. Instructor: Sherman (Xuemin) Shen TA: Miao Wang

Computer Networks Security: intro. CS Computer Systems Security

Guide to Networking Essentials, 6 th Edition. Chapter 6: Network Reference Models and Standards

Chapter 16 Networking

Introduction to Computer Networks. CS 166: Introduction to Computer Systems Security

Component 4: Introduction to Information and Computer Science

Chapter 7. Local Area Network Communications Protocols

Part 1: Introduction. Goal: Review of how the Internet works Overview

Revision of Previous Lectures

Chapter 2 Network Models 2.1

Networking Applications

This tutorial will help you in understanding IPv4 and its associated terminologies along with appropriate references and examples.

Chapter Motivation For Internetworking

OSI and TCP/IP Models

Network Reference Models

ก ก Information Technology II

Data and Computer Communications. Chapter 2 Protocol Architecture, TCP/IP, and Internet-Based Applications

CS 640: Introduction to Computer Networks. Today s Lecture. Page 1

CSE 123A Computer Networks

System Programming. Introduction to computer networks

Computer Networks and Mobile Systems. Shyam Gollakota

IP Address Assignment

Data and Computer Communications

Module 2 Overview of Computer Networks

Module 2 Overview of. Computer Networks

CS 4390 Computer Networks. Transport Services and Protocols

ISO/OSI Model and Collision Domain NETWORK INFRASTRUCTURES NETKIT - LECTURE 1 MANUEL CAMPO, MARCO SPAZIANI

CS4700/CS5700 Fundaments of Computer Networks

The TCP/IP Architecture Jean Yves Le Boudec 2014

Announcements. CS 5565 Network Architecture and Protocols. Outline for today. The Internet: nuts and bolts view. The Internet: nuts and bolts view

The TCP/IP Architecture Jean Yves Le Boudec 2014

Copyleft 2005, Binnur Kurt. Objectives

1. Which OSI layers offers reliable, connection-oriented data communication services?

Fundamentals of Computer Networking AE6382

The TCP/IP Architecture. Jean Yves Le Boudec 2015

The TCP/IP Architecture. Jean Yves Le Boudec 2015

Network Protocols - Revision

Introduction... xiii Chapter 1: Introduction to Computer Networks and Internet Computer Networks Uses of Computer Networks...

Part VI. Appendixes. Appendix A OSI Model and Internet Protocols Appendix B About the CD

CPEG514 Advanced Computer Networks. Atef Abu Salim University of Nizwa Spring 2013/2014

Number: Passing Score: 750 Time Limit: 120 min File Version: 1.0. Microsoft Exam Name: Identity with Windows Server 2016 (beta)

The TCP/IP Architecture. Jean Yves Le Boudec 2015

Networking interview questions

Outline. Inter-Process Communication. IPC across machines: Problems. CSCI 4061 Introduction to Operating Systems

Computer Network : Lecture Notes Nepal Engineering College Compiled by: Junior Professor: Daya Ram Budhathoki Nepal Engineering college, Changunarayan

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

Chapter 6: Network Layer

Chapter 1. Computer Networks and the Internet

CPS221 Lecture: Layered Network Architecture

CS155b: E-Commerce. Lecture 3: Jan 16, How Does the Internet Work? Acknowledgements: S. Bradner and R. Wang

TCOM 370 NOTES 99-1 NETWORKING AND COMMUNICATIONS

Lecture 17 Overview. Last Lecture. Wide Area Networking (2) This Lecture. Internet Protocol (1) Source: chapters 2.2, 2.3,18.4, 19.1, 9.

OSI Model with Protocols. Layer Name PDU Address Protocols Device

TCP/IP protocol suite

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

Introduction to TCP/IP

NAT, IPv6, & UDP CS640, Announcements Assignment #3 released

Chapter 5.6 Network and Multiplayer

Chapter 2 Network Models 2.1

Need For Protocol Architecture

Need For Protocol Architecture

OSI Transport Layer. Network Fundamentals Chapter 4. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

Reti di Calcolatori I

ITP 140 Mobile Applications Technologies. Networks

b) Diverse forms of physical connection - all sorts of wired connections, wireless connections, fiber optics, etc.

Internet Layers. Physical Layer. Application. Application. Transport. Transport. Network. Network. Network. Network. Link. Link. Link.

Lecture Outline. Lecture 2. OSI model and networking. The OSI model and networking. The OSI model and networking. The OSI model and networking

The TCP/IP Architecture. Jean Yves Le Boudec 2017

CS164 Final Exam Winter 2013

ECE 650 Systems Programming & Engineering. Spring 2018

Internet Routing. Review of Networking Principles. What s the Internet: nuts and bolts view. Communication links

Internet Routing. Review of Networking Principles

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

KillTest ᦝ䬺 䬽䭶䭱䮱䮍䭪䎃䎃䎃ᦝ䬺 䬽䭼䯃䮚䮀 㗴 㓸 NZZV ]]] QORRZKYZ PV ٶ瀂䐘މ悹伥濴瀦濮瀃瀆ݕ 濴瀦

The TCP/IP Architecture. Jean Yves Le Boudec 2017

Lecture 2: Internet Structure

CIT 380: Securing Computer Systems. Network Security Concepts

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

Introduction to Information Science and Technology 2017 Networking I. Sören Schwertfeger 师泽仁

Network Architecture. TOC Architecture

CCNA 1 Final Exam Answers UPDATE 2012 eg.1

Networking Revision. TCP/IP Protocol Stack & OSI reference model. Basic Protocols. TCP/IP Model ANTHONY KAO NETWORKING FINAL EXAM SPRING 2014 REVISION

TCP/IP and the OSI Model

We are going to see a basic definition of the devices you can find in a corporate wired network, so you can understand basic IT engineering jargon.

Significance of TCP/IP Model Divya Shree Assistant Professor (Resource Person), Department of computer science and engineering, UIET, MDU, Rohtak

Transcription:

COMS 1001 Introduction to Computers Networking

What's Ahead Networking layers Network Speeds Protocols, sockets, client/server Routing, DNS, Ethernet, LANs, wireless

What is a Network? Loose definition: a series of interconnected nodes Computer networks are systems where computers (CPUs, memory) are the nodes Building a reliable computer communications network requires employing interfaces and abstraction Primary function of computer networks is to push bits around. Collections of bits are called packets. Packets are the logical network primitive.

The Network as a Graph In CS, graphs are an especially useful data structure for modeling, analyzing, examining, and testing networks, network algorithms, and network protocols. The set of edges correspond to links between the nodes, and the nodes are known as clients, servers, or peers, depending on their interaction.

Composition of a Network Layering and abstraction enable the network to be split into logical and physical components For example, the physical links (wire) can be telephone/copper wire, fiber optic cable, Ethernet cabling, wireless radio signals, etc Many different logical frameworks can be implemented on top of this variety of physical mediums

The OSI Network Model The standard networking model: Open Systems Interconnection Model 7 stacked layers Not all are used in real life Directly reflected in an operating system's network stack Each layer understands more complex information than the layer beneath, but is independent of the layer beneath or above

OSI Stack (cont.) Application: information specific to software applications Presentation: pretty formatting for application information Session: high level semantic application use Transport Network Data link Physical

OSI Stack (cont.) Way too many levels for efficient implementation Application, presentation, and session tend to get jammed together, and since they are application dependent, simply act as payload or opaque data for the lower levels Physical layer is about converting electronic signals to bits, etc Network, Link, and Transport layers are the most interesting

How Does Layering Work? Information is passed around in packets Each packet has a header and a payload The header contains control information, such as the length of the payload The payload often contains the information for another layer, and another layer inside that payload, etc., like the skins of an onion The operating system contains a piece of code that allows data to move up and down the network stack

The OS Network Stack Application gets a piece of data, needs to send it over the network The stack takes the data and wraps it from the top (TCP) with the appropriate header, then passes it to the layer beneath (IP) Data packet proceeds down the stack until it is ready to be sent out via the network card The destination machine's network card receives the packet and proceeds to send it up its network stack

Layering: The Ship, The Box, and the Envelope Consider: you want to send a letter to your friend in the E.U. Write the letter (data/bits/payload) and enclose it in an envelope (first layer). You address the envelope (header data). You give the letter to the mailman. The post office puts it in a cargo box with some of their official labeling. (Another layer and header) The box is loaded onto a ship and sails from here to Europe. (another layer and header)

Real Life Layers Link layer Network layer Transport Layer Application/Presentati on Layer Ethernet IP (Internet Protocol) TCP or UDP HTTP

TCP vs. UDP Transmission Control Protocol Structured, connection, streaming Reliable User Datagram Protocol Connectionless Out of order, lost, and duplicate delivery Fast

Addressing How to find the node you're looking for Ethernet, for example, provides a MAC address, a number burned into the hardware IP provides IP addresses (you may have heard of these) IP Address names a machine location, and the IP layer (network layer) provides the IP address and a destination port number (which specific OS process to deliver the information to on that machine)

Naming IP Addresses are 32 bit numbers (in Ipv4) Often written like: 128.59.16.9 But who wants to remember numbers? DNS (or Domain Name Service) allows a name to be associated with the address (like www.google.com) Humans can then use the friendly name and have the address translated automatically by having the OS contact a DNS server

Ethernet & LAN A LAN is a local area network and is a layer 2 (link layer) concept Many LANs use Ethernet Nodes are all peers, and the LAN is a broadcast medium (everyone receives every packet on the wire) The network card does the OS a favor by discarding the packets that are not destined for the IP address of the machine Most common piece of LAN equipment is a hub or bridge: rebroadcasts on each port

Network Speeds What are those people selling? Dialup phone modem: 28,44,56kbs ISDN 56/128 kbs dual channel ADSL 7.1 mbps down, 1.1 up 1.5 mbps (SDSL) Cable Modem: 27 Mbps, 2.5 Mbps (asym) 256kbps Ethernet: 10/100Mbs, Wireless: 11Mbs (often get 8) T1,T3 (1.5 Mbps, 44.7 Mbs)

IP Address 32 bit quantity that maps to a network card in a computer (computers can have multiple network cards and multiple IP Addresses) Network and host part 192.168.xxx.yyy are private ip addresses Network part is 192.168.0.0 Host part is xxx.yyy A network prefix determines how many bits belong to the network part

IP (Internet Protocol) IP is a connectionless network service that can route packets between a source and a destination IP depends on IP addresses IP needs to know next hop on the path to the ultimate destination This is what Routing is all about, and what a router does. It's impossible for any single machine to store all paths between every machine on the network (the whole Graph of the Internet)

Network Tools Ping Traceroute netstat tcpdump

Ports and Services Ports are numbered and many are wellknown or reserved. For example, web servers run on port 80. Mail servers run on port 25 SSH servers run on port 22. FTP runs on port 21 Ports range from 0 to 65535 IPAddresses:Postal Address :: Ports:apt number