Lecture 3 TCP/IP & the Internet Boriana Koleva Room: C54

Slides:



Advertisements
Similar presentations
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
Advertisements

Introduction to TCP/IP TCP / IP –including 2 protocols Protocol : = a set of rules that govern the communication between different devices Protocol : =
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—1-1 Building a Simple Network Understanding the TCP/IP Internet Layer.
UNIT-IV Computer Network Network Layer. Network Layer Prepared by - ROHIT KOSHTA In the seven-layer OSI model of computer networking, the network layer.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers Part 2.
Chapter 18. IP: Internet Protocol Addresses
CSCI 4550/8556 Computer Networks Comer, Chapter 18: IP: Internet Protocol Addresses.
1 IP: Internet Protocol Addresses. 2 Internet Protocol (IP) Only protocol at Layer 3 Fundamental in suite Defines –Internet addressing –Internet packet.
IP Addressing. TCP/IP addresses -Addressing in TCP/IP is specified by the Internet Protocol (IP) -Each host is assigned a 32-bit number -Called the IP.
Inside the Internet. INTERNET ARCHITECTURE The Internet system consists of a number of interconnected packet networks supporting communication among host.
Review on Networking Technologies Linda Wu (CMPT )
Chapter 2 Network Models.
1 Networking A computer network is a collection of computing devices that are connected in various ways in order to communicate and share resources. The.
1.  A protocol is a set of rules that governs the communications between computers on a network.  Functions of protocols:  Addressing  Data Packet.
NETWORK LAYER IP Addressing 1. ANNOUNCEMENT: Rescheduled  NO PRACTICAL SESSIONS ON TUESDAY 22, November 2010  Rescheduled sessions: MONDAY: November.
Protocols and the TCP/IP Suite Chapter 4. Multilayer communication. A series of layers, each built upon the one below it. The purpose of each layer is.
Layering and the TCP/IP protocol Suite  The TCP/IP Protocol only contains 5 Layers in its networking Model  The Layers Are 1.Physical -> 1 in OSI 2.Network.
Lect3..ppt - 09/12/04 CIS 4100 Systems Performance and Evaluation Lecture 3 by Zornitza Genova Prodanoff.
1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.
Chapter 3 The Basics of Networking
TCP/IP protocols Communication over Internet is mostly TCP/IP (Transmission Control Protocol over Internet Protocol) TCP/IP "stack" is software which allows.
G64INC Introduction to Network Communications Ho Sooi Hock Internet Protocol.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 3: TCP/IP Architecture.
NetworkProtocols. Objectives Identify characteristics of TCP/IP, IPX/SPX, NetBIOS, and AppleTalk Understand position of network protocols in OSI Model.
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
Lecture 3 TCP/IP & the Internet Boriana Koleva Room: C54
ITED 328 Lecture 4 12 Feb 2004 Loosely covering Chapter 5 Internet and LAN Technology.
Protocol Layering Chapter 10. Looked at: Architectural foundations of internetworking Architectural foundations of internetworking Forwarding of datagrams.
TCP/IP Yang Wang Professor: M.ANVARI.
CPS Today’s topics Computer Applications Computer Communications Upcoming Computer Security ( Great Ideas, Chapter 11) Reading Great Ideas, Chapter.
Part 2: Internet Protocol Stack How the Internet Works The Basics of Networking, Part 2 chapter 3.
Huda AL_Omairl - Network 71 Protocols and Network Software.
Chapter Three Network Protocols By JD McGuire ARP Address Resolution Protocol Address Resolution Protocol The core protocol in the TCP/IP suite that.
11 NETWORK LAYER PROTOCOLS Chapter 5 IP IPX NetBEUI AppleTalk.
Chapter 17 - Internetworking: Concepts, Architecture, and Protocols 1. Internetworking concepts 2. Router 3. protocol for internetworking 4. TCP/ IP layering.
ES 101. Module 2 IP Addressing & Routing. Last Lecture Wide area networking Definition of “packets”
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 2: Configuring Network Protocols.
Part 3: Internetworking Internet architecture, addressing, encapsulation, reliable transport and the TCP/IP protocol suite.
Chapter 18 IP: Internet Protocol Addresses
COP 4930 Computer Network Projects Summer C 2004 Prof. Roy B. Levow Lecture 3.
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.
Universal Identifier UNIVERSAL IDENTIFIER Universal network = globally accepted method for identifying each computer. Host identifier = host is identify.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 16 Introduction to Networks and the Internet.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
Institute of Technology Sligo - Dept of Computing Chapter 12 The Transport Layer.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Connecting to the Network Introduction to Networking Concepts.
IP addresses IPv4 and IPv6. IP addresses (IP=Internet Protocol) Each computer connected to the Internet must have a unique IP address.
Networking Material taken mainly from HowStuffWorks.com.
Advanced UNIX programming Fall 2002, lecture 16 Instructor: Ashok Srinivasan Acknowledgements: The syllabus and power point presentations are modified.
SWICHING & ROUTING.
Net 221D:Computer Networks Fundamentals
Protocol Layering Chapter 11.
Internet Architecture. 2 INTRODUCTION INTERNET developed by a community of researchers centered around the Defense Advanced Research Projects Agency (DARPA)
IT 210: Web-based IT Fall 2012 Lecture: Network Basics, OSI, & Internet Architecture.
Networks and the Internet Topic 3. Three Important Networking Technologies Networks, Internet, WWW.
2.1 Chapter 2 Network Models – cont. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
The OSI Model. Understanding the OSI Model In early 1980s, manufacturers began to standardize networking so that networks from different manufacturers.
1 Network Communications A Brief Introduction. 2 Network Communications.
The Internet Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE.
COMPUTER NETWORKS CS610 Lecture-25 Hammad Khalid Khan.
Computer Communications
Lec 2: Protocols.
Net 323: NETWORK Protocols
Chapter 5 Network and Transport Layers
Connection-Based vs. Connectionless
Lecture 2: Overview of TCP/IP protocol
Internetworking: Concepts, Architecture, and Protocols
Layering and the TCP/IP protocol Suite
Objectives: 1.Identify different internet protocol (IP) 2.Configure sample of IP address 3.Appreciate and relate protocol in our life.
Presentation transcript:

Lecture 3 TCP/IP & the Internet Boriana Koleva Room: C54

Overview Protocol design Overview of TCP/IP IP addresses and domain names ‘Warriors of the net’ video

Network Protocols Communication hardware transfers raw data (i.e. a steam of bits) Usually more sophisticated instructions need to be sent over networks This requires software which needs to follow standards for interoperability Protocols are the rules that govern communication on networks Protocols are implemented by protocol software

Stacks of Layers Protocols are designed according to a layered model The protocol software on each computer is divided into modules – each corresponding with a layer Each module only communicates with the modules corresponding to the layer above and the layer below All the protocol modules on a computer are collectively called a stack or suite Network communication requires that the same stack is installed on all computers (though the hardware and OS may be different)

The Layering Principle Layer N software on the destination computer must receive the exact message sent by layer N software on the sending computer

Examples of Protocol Stacks VendorStack Novell Netware Apple Appletalk IBM SNA Various (Internet) TCP/IP

Internet Reference Model (TCP/IP)

TCP/IP Protocol stack used by the Internet Originally designed for DARPA (late 1960’s) Major design features intended for military use Multiple contractors Simple (basic services) Robust - automatic recovery from battlefield damage These same features make the Internet possible Multiple vendors Simple (basic services) Robust - the Internet is not centrally coordinated Since early 1980’s TCP/IP has been built into Unix Now available for, or as part of all major OS

The Internet A vast network of networks

Virtual network TCP/IP gives illusion that there is a single universal network Universal service - any two computers should be able to communicate Hardware: routers connect different networks Internet protocols: provide universal service by creating a single virtual network

TCP/IP Jargon (1) Host - any system that connects to an Internet and that runs applications Router - a device that connects independent networks together to form an internetwork Forwards packets from one network to another Both hosts and routers use TCP/IP protocol software Sockets - the API for TCP/IP software (i.e. the library of functions that a program can use to access TCP/IP facilities) For example the Winsock API on Windows

TCP/IP Jargon (2) Host Name all hosts on a TCP/IP network must have a unique name this may be a single word (on a small network) or follow a hierarchical convention Internet Address (IP Number) all hosts on the Internet must have a unique identifying number 32-bit number, usually written as 4 bytes separated by dots (e.g ) Ethernet Address (Media Access Control, MAC) a unique number built into each Ethernet subsystem by the manufacturer 6-byte numbers, usually written in hex separated by dashes (e.g. 02-FE-87-4A-8C-A9) if Ethernet is not used (e.g. over a phone line) then the software stack must provide a MAC

IP (Internet Protocol) Layer 3 protocol A packet switching protocol packets of data are routed between nodes with no previously established path connectionless IP is responsible for moving packet of data from machine to machine IP forwards each packet based on a four byte destination address (the IP number) The Internet authorities assign ranges of numbers to different organisations Organisations assign their own subsets of numbers to departments IP operates on routers that move data from LANs to WANs and global WANs

TCP (Transport Control Protocol) Layer 4 protocol Connection-oriented Data may be sent in a continual stream between two hosts TCP is responsible for verifying the correct delivery of data between machines detection of errors or lost data management of retransmission until the data is correct and completely received assembles packets of data into the correct order without duplication handles multiplexing

IP Numbers IP number is a unique identifier for TCP/IP Analogous to telephone number IP numbers consist of 4 bytes (i.e. numbers from 0-255) This gives a maximum of (4,294,967,296) Dotted decimal notation for human readability Each 32 bit address is divided into two parts: prefix: physical network to which the host is attached - the network number suffix: a host attached to a given physical network

Classes of IP address Size of prefix and suffix determines maximum number of networks and maximum number of hosts per network TCP/IP networks are usually class C Class C networks Suitable for small organisations First three bytes identify the network The last byte identifies hosts (i.e. maximum of 256) Class B networks Suitable for large organisations First two bytes identify the network The last two bytes identifies hosts (i.e. maximum of 65,536) Class B networks are usually divided into subnets (i.e. a maximum of 256 subnets, each containing up to 256 hosts) Class A networks First byte identifies the network Major networks (e.g. JANET)

Special IP Numbers Some IP numbers have special meanings, and so are not normally assigned to individual hosts Broadcast Address – 255 Listened to by all machines on the network Loopback Network – loopback address (localhost)

Host & Domain Names Domain names are alphanumeric labels assigned to IP numbers Each host name on a subnet must be unique There is a hierarchy of domain names Top level Country (if not US) – e.g. UK, FR, IE Category - COM, MIL, GOV, EDU, ORG etc (or CO.UK, AC.UK, GOV.UK, ORG.UK etc) NB domain registration does not necessarily correspond to physical location! Second level Organisation (e.g. NOTT.AC.UK) Third level Subnet (e.g. CS.NOTT.AC.UK) Host names may be aliased Host names are obtained from databases called nameservers

IP Numbers and domain names – a Nottingham Example JANET (Joint Academic Network) *.uk.ac 128.*.*.* University of Nottingham (Class B network) *.nott.ac.uk (also aliases – e.g. *.nottingham.ac *.* Computer Science *.cs.nott.ac.uk * * * Marian (Unix server) marian.cs.nott.ac.uk

Domain name conversion Fully qualified domain names must be converted to IP numbers before communication can take place over the Internet DNS servers

Summary Protocol design TCP/IP overview IP addresses and domain names