CIM 2465 Intro to TCP/IP1 Introduction to TCP/IP (Topic 5) Textbook: Networking Basics, CCNA 1 Companion Guide, Cisco Press Cisco Networking Academy Program,

Slides:



Advertisements
Similar presentations
RIP V1 W.lilakiatsakun.
Advertisements

Cisco 2 - Routers Perrine. J Page 14/30/2015 Chapter 10 TCP/IP Protocol Suite The function of the TCP/IP protocol stack is to transfer information from.
IST 201 Chapter 9. TCP/IP Model Application Transport Internet Network Access.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
Mod 10 – Routing Protocols
Networking Theory (part 2). Internet Architecture The Internet is a worldwide collection of smaller networks that share a common suite of communication.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
Routing Fundamentals and Subnetting
Introduction to TCP/IP
Chapter 2 Internet Protocol DoD Model Four layers: – Process/Application layer – Host-to-Host layer – Internet layer – Network Access layer.
Inside the Internet. INTERNET ARCHITECTURE The Internet system consists of a number of interconnected packet networks supporting communication among host.
1 Version 3.0 Module 9 TCP/IP Protocol and IP Addressing.
CS335 Networking & Network Administration Tuesday, April 20, 2010.
Institute of Technology Sligo - Dept of Computing Chapter 11 Layer 3 Protocols Paul Flynn.
Defining Network Protocols Application Protocols –Application Layer –Presentation Layer –Session Layer Transport Protocols –Transport Layer Network Protocols.
CS 356 Systems Security Spring Dr. Indrajit Ray
1 Protocol Interaction (ISO’s Open Systems Interconnection (OSI model)) the 7 layers.
Network Layer (Part IV). Overview A router is a type of internetworking device that passes data packets between networks based on Layer 3 addresses. A.
1.  A protocol is a set of rules that governs the communications between computers on a network.  Functions of protocols:  Addressing  Data Packet.
IST 228\Ch3\IP Addressing1 TCP/IP and DoD Model (TCP/IP Model)
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.
Chapter Eleven An Introduction to TCP/IP. Objectives To compare TCP/IP’s layered structure to OSI To review the structure of an IP address To look at.
Each computer and router interface maintains an ARP table for Layer 2 communication The ARP table is only effective for the broadcast domain (or LAN)
Chapter 7 Local Area Network Communications Protocols.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
CCNA Guide to Cisco Networking Fundamentals Fourth Edition
WXES2106 Network Technology Semester /2005 Chapter 4 TCP/IP CCNA1: Module 9, 10.3 and 11.
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.
Chapter 9.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
CISCO NETWORKING ACADEMY PROGRAM (CNAP) Routing Fundamentals & Subnets
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.
Cisco – Chapter 11 Routers All You Ever Wanted To Know But Were Afraid to Ask.
Huda AL_Omairl - Network 71 Protocols and Network Software.
Cisco – S1C10 Routers All You Ever Wanted To Know But Were Afraid to Ask.
The Saigon CTT Semester 1 CHAPTER 11 Le Chi Trung.
1. 2 Anatomy of an IP Packet IP packets consist of the data from upper layers plus an IP header. The IP header consists of the following:
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 2: TCP/IP Architecture.
Chapter Three Network Protocols By JD McGuire ARP Address Resolution Protocol Address Resolution Protocol The core protocol in the TCP/IP suite that.
Chap 9 TCP/IP Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
CCNA 1 Module 10 Routing Fundamentals and Subnets.
TCP/IP TCP/IP LAYERED PROTOCOL TCP/IP'S APPLICATION LAYER TRANSPORT LAYER NETWORK LAYER NETWORK ACCESS LAYER (DATA LINK LAYER)
TCP/IP Transport and Application (Topic 6)
© Wiley Inc All Rights Reserved. CCNA: Cisco Certified Network Associate Study Guide CHAPTER 5: IP Routing.
1 TCP/IP Internetting ä Subnet layer ä Links stations on same subnet ä Often IEEE LAN standards ä PPP for telephone connections ä TCP/IP specifies.
Routing Fundamentals & Subnets
TCP/IP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
Instructor & Todd Lammle
Routing and Routing Protocols
Routing Fundamentals and Subnets Introduction to IT and Communications Technology CE
CHAPTER 4 PROTOCOLS AND THE TCP/IP SUITE Acknowledgement: The Slides Were Provided By Cory Beard, William Stallings For Their Textbook “Wireless Communication.
1 Version 3.1 Module 6 Routed & Routing Protocols.
1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE.
1 12-Jan-16 OSI network layer CCNA Exploration Semester 1 Chapter 5.
Net 221D:Computer Networks Fundamentals
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 Module 10 Routing Fundamentals and Subnets.
Page 12/9/2016 Chapter 10 Intermediate TCP : TCP and UDP segments, Transport Layer Ports CCNA2 Chapter 10.
Introduction Chapter 1. TCP/IP Reference Model Why Another Model? Although the OSI reference model is universally recognized, the historical and technical.
1 Layer 3: Protocols Honolulu Community College Cisco Academy Training Center Semester 1 Version
VCC Semester 1 CHAPTER 11. VCC  Content Layer 3 Devices ARP concept Network layer services Routed and routing protocols Protocol analyzer.
1 28-Sep-16 S Ward Abingdon and Witney College CCNA Exploration Semester 1 OSI network layer CCNA Exploration Semester 1 Chapter 5.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 OSI network layer CCNA Exploration Semester 1 – Chapter 5.
Lec 2: Protocols.
Net 431: ADVANCED COMPUTER NETWORKS
TCP/IP Protocol Suite and IP Addressing
Networking Theory (part 2)
1 TRANSMISSION CONTROL PROTOCOL / INTERNET PROTOCOL (TCP/IP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University, Puducherry –
Network Architecture Models
Networking Theory (part 2)
Presentation transcript:

CIM 2465 Intro to TCP/IP1 Introduction to TCP/IP (Topic 5) Textbook: Networking Basics, CCNA 1 Companion Guide, Cisco Press Cisco Networking Academy Program, CCNA 1 and 2, Companion Guide, Cisco Press, Latest Edition

CIM 2465 Intro to TCP/IP2 TCP/IP Model TCP/IP was first developed as part of a contract from the US DoD OSI ModelTCP/IP Model Application PresentationApplication Session Transport NetworkInternet Data Link PhysicalNetwork Access

CIM 2465 Intro to TCP/IP3 TCP/IP Network Access Layer (1) Also known as Network Interface Layer Defines how computers and networking devices should access a physical medium to send bits to others Match OSI Layers 1 and 2 Does not actually define any network access layer standards, but refers to other well-defined standards Note that ARP, proxy ARP, and RARP mainly work at TCP/IP’s internet layer, but they provide an interface to the network access layer

CIM 2465 Intro to TCP/IP4 TCP/IP Network Access Layer (2) Fig 9-2

CIM 2465 Intro to TCP/IP5 TCP/IP Internet Layer Defines how to deliver data from one host to another (over multiple different physical networks) By separating its logic from the underlying networking details, thus allows hosts, networking devices, routers, to use the same processes and logic regardless of the underlying physical networks being used Logical Addressing (IP addresses for each network interface) Routing Defines several protocols, most important being the Internet Protocol (IP)

CIM 2465 Intro to TCP/IP6 Key Internet Layer Protocols ProtocolDescription Internet Protocol (IP)Defines routing, logical IP addressing, the format of IP headers and packets, and interfaces Address Resolution Protocol (ARP) Defines the process by which an IP host dynamically learns the mapping between another host’s IP address and its MAC address Reverse Address Resolution Protocol (RARP) Mostly unused today. Provides a basic method for IP address assignment Internet Control Message Protocol (ICMP) Defines messaging used to manage and control IP (e.g. used by the command ping)

CIM 2465 Intro to TCP/IP7 Basic IP Routing IP routing defines how to forward data, in form of IP packets, from one host to another Fig 9-3

CIM 2465 Intro to TCP/IP8 IP Packets An IP packet is the header defined by the IP protocol, along with any higher-layer protocol headers and the end-user data Basic IP Packet format IP HeaderTCP/IP Transport & Application Layer Headers End-user data

CIM 2465 Intro to TCP/IP9 How IP Routing uses IP Addresses Routers use IP routing tables to tell them out which interfaces to forward packets To make routing efficient –IP addresses for hosts on the same physical network must have the same value in the first part of the addresses (network address) –Each group then need one entry in the routing table Fig 9-5

CIM 2465 Intro to TCP/IP10

CIM 2465 Intro to TCP/IP11 TCP/IP Transport Layer To provide the service of taking data from one application process on one computer and delivering that data to the correct application process on another computer Compare with the Internet Layer, the internet layer delivers data packets from one computer to another, but it does not think about which application sent the data or which application on the receiving computer needs the data

CIM 2465 Intro to TCP/IP12 Fig 9-6 Two main Transport Layer protocols –Transmission Control Protocol (TCP) –User Datagram Protocol (UDP)

CIM 2465 Intro to TCP/IP13 TCP Vs UDP Transport Layer Feature DescriptionTCPUDP Segmentation of data Breaking large chunks of data into network-legal sizes, call segments YN Multiplexing using port numbers Identifying application process (by port) that needs the data YY Error recoveryMonitoring for lost segments and resending them YN In-order delivery of data Monitoring received segments and putting them in correct order YN Flow controlMonitoring network performance and control the flow of data YN

CIM 2465 Intro to TCP/IP14 TCP/IP Application Layer Provides services to applications Fig 9-7

CIM 2465 Intro to TCP/IP15 Application Layer Protocols ProtocolDescriptionTransport Layer Protocol Hypertext Transfer Protocol (HTTP) Defines the commands, headers, and processes by which web servers and web browsers transfer files TCP Trivial File Transfer Protocol (TFTP) A very simple protocol that allows file transfer UDP File Transfer Protocol (FTP) A very robust protocol used for transferring files TCP

CIM 2465 Intro to TCP/IP16 Application Layer Protocols ProtocolDescriptionTransport Layer Protocol Network File System (NFS) A distributed file system protocol suite that allows remote file access across a network UDP Simple Mail Transfer Protocol (SMTP) Defines the process by which my be forwarded and then held for later retrieval TCP Terminal Emulation (Telnet) Defines the protocols used to allow a user to remotely access another computer TCP

CIM 2465 Intro to TCP/IP17 Application Layer Protocols ProtocolDescriptionTransport Layer Protocol Simple Network Management Protocol (SNMP) An application protocol usually used by the network management software to allow a network engineer to monitor and troubleshoot network problems UDP Domain Name System (DNS) A protocol that defines how a computer may refer to another computer by name, instead of the IP address UDP Dynamic Host Configuration Protocol (DHCP) A protocol used to dynamically assign IP addresses to hosts UDP

CIM 2465 Intro to TCP/IP18 TCP/IP Internetworks

CIM 2465 Intro to TCP/IP19 Routing Fundamentals Routers have two main functions –Perform end-to-end delivery of IP packets from the sending host to the receiving host. Receive packets Decide to which router or host to send the packets next Forward them –Maintain a Routing Table with the best routes to reach each possible destination, using some routing protocols

CIM 2465 Intro to TCP/IP20 IP Routing (1) Layer 2 devices, such as LAN switches, can forward data on only Ethernet links (within the same network), it cannot connect to WAN links (to other networks), as the physical and datalink standards are different Routers, can connect to multiple types of physical network (internetworking) So, routers can receive IP packets sent by computers and send the packets over any physical networks, to deliver the packets to the destinations. This forwarding process is called IP routing or IP forwarding

CIM 2465 Intro to TCP/IP21 IP Routing (2) A router examines incoming packets, looks at the destination IP address, and decides out which interface to forward the packet Routing process relies on each router knowing how to route IP packets based on its IP routing table Routers use routing protocols (e.g. RIP, EIGRP), to dynamically learn the required routes

CIM 2465 Intro to TCP/IP22 Some Key Terms Routing / Forwarding –The process of received packets, deciding where to forward them next, and forwarding them Routed protocol / Routable protocol –A protocol that defines a packet that can be forwarded by a routing process –E.g. IP, IPX (Netware) are routable, NetBEUI is non- routable Routing protocol –A protocol used between routers so that they can dynamically learn routes to add to their routing tables

CIM 2465 Intro to TCP/IP23 Routing between Two Connected LAN Subnets The router has an interface physical attached to each of the two LANs

CIM 2465 Intro to TCP/IP24 IP-Centric Perspective No changes to source and destination IP address

CIM 2465 Intro to TCP/IP25 Note that the router will remove the Ethernet header/trailer and encapsulate a new one Note the changes of MAC addresses

CIM 2465 Intro to TCP/IP26 IP Routing: Host Perspective (1)

CIM 2465 Intro to TCP/IP27 IP Routing: Host Perspective (2) Decision –If the destination IP address is on my same IP network/subnet, send the packet directly to that host –If the destination IP address is not on my same IP network/subnet, send the packet to my default router (default gateway)

CIM 2465 Intro to TCP/IP28 Main steps of IP routing P.400 of the textbook

CIM 2465 Intro to TCP/IP29 More Detailed Routing Steps

CIM 2465 Intro to TCP/IP30 Perspectives on WAN Routing R1, R2 configured to use Serial interface and a data link protocol PPP (Point-to-Point Protocol)

CIM 2465 Intro to TCP/IP31 Important Characteristics of IP IP is Unreliable –The protocol does not attempt to perform any error recovery of data (lost data) –How to have Reliable transmission Uses TCP transport layer protocol, which performs error recovery The application itself performs the error recovery IP is Connectionless

CIM 2465 Intro to TCP/IP32 Connectionless Vs Connection-oriented Connectionless –The sender and receiver do not pre-arrange for communication to occur –E.g. IP, Ethernet, UDP –Analogy: mailing a letter Connection-oriented –The sender and receiver must pre-arrange for communication to occur –E.g. TCP, Frame Relay –Analogy: make a phone call

CIM 2465 Intro to TCP/IP33 Full IP Header Table 10-4 for details

CIM 2465 Intro to TCP/IP34 Routing Protocols Used by routers to learn routes When a collection of routers uses the same IP routing protocol, the routers exchange messages and update their own routing tables HOW? –Connected subnets –Static Routes –Routing protocols

CIM 2465 Intro to TCP/IP35 Learning Connected Routes Subnets to which a router’s interfaces are connected are called connected subnets Routers automatically add routes to their IP routing tables for directly connected subnets means “Connected”

CIM 2465 Intro to TCP/IP36 Static Routes Add routes to routing tables via router configuration E.g. a Cisco router command to R1 (interface FA0/1) of Fig ip route will add an entry to R1 S Fa0/ (S means “Static”)

CIM 2465 Intro to TCP/IP37 Learning by Routing Protocols Each router sends messages to the routers attached to the same subnets, which essentially list all the routing information each router knows. Thus all routers learns all the routes.

CIM 2465 Intro to TCP/IP38 RIP (Routing Information Protocol) R2 knows a connected route to , so RIP then advertises this route to R1

CIM 2465 Intro to TCP/IP39 Using Metrics to Pick the Best Routes Routing protocols must be able to choose between competing alternative routes

CIM 2465 Intro to TCP/IP40 Using Metrics to Pick the Best Routes By Metric, some kind of measurement Allows a router to measure how good each route is –Hop Count (RIP) –Bandwidth, Delay, Loading, Reliability (IGRP, EIGRP) –Cost (OSPF) –Clock Ticks (Novell IPX)

CIM 2465 Intro to TCP/IP41 Routing Protocol Metrics

CIM 2465 Intro to TCP/IP42

CIM 2465 Intro to TCP/IP43

CIM 2465 Intro to TCP/IP44 Routing Protocol Algorithms Distance Vector Algorithms –“distance to neighboring routers” as the metric (e.g. Hop count in RIP) –No information about the topology of the network beyond the neighboring routers Link State Algorithms –Advertise information about the entire topology –Shortest Path Algorithm Hybrid Algorithms

CIM 2465 Intro to TCP/IP45 Classless Vs Classful Routing Protocols Variable-length Subnet Masking (VLSM) –Provides a great deal of flexibility when subnetting a single Class A, B, or C network –Different subnet masks can be used on different subnets of the same Class A, B, or C network –Allows network engineers to reduce the number of wasted IP addresses A Classful routing protocol does not send subnet masks in routing updates, so it cannot support VLSM A Classless routing protocol does send subnet masks in routing updates, so it does support VLSM

CIM 2465 Intro to TCP/IP46