Network Layer Functions Key Layer in Internet Architecture End-to-end Packets Adapt to lower layers 11 22 3.

Slides:



Advertisements
Similar presentations
PJC CCNA Semester 2 Ver. 3.0 by William Kelly
Advertisements

CCNA1 v3 Module 9 v3 CCNA 1 Module 9 JEOPARDY K. Martin Galo Valencia.
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.
CS3505 The Internet and Info Hiway transport layer protocols : TCP/UDP.
IP Protocol - Introduction Dr. Farid Farahmand. Introduction TDM transport networks are not sufficient for data communications Low utilization TDM networks.
© Wiley Inc All Rights Reserved. CCNA: Cisco Certified Network Associate Study Guide CHAPTER 2: Internet Protocols.
Networking and Internetworking: Standards and Protocols i206 Fall 2010 John Chuang Some slides adapted from Coulouris, Dollimore and Kindberg.
Chapter 2 Internet Protocol DoD Model Four layers: – Process/Application layer – Host-to-Host layer – Internet layer – Network Access layer.
Extending Networks. Three Levels of Extension Physical Layer –Repeaters Link Layer –Bridges –Switches Network –Routers: “Connecting networks”
1 Version 3.0 Module 9 TCP/IP Protocol and IP Addressing.
Institute of Technology Sligo - Dept of Computing Semester 2 Chapter 9 The TCP/IP Protocol Suite Paul Flynn.
Defining Network Protocols Application Protocols –Application Layer –Presentation Layer –Session Layer Transport Protocols –Transport Layer Network Protocols.
Chapter Overview TCP/IP Protocols IP Addressing.
CS 356 Systems Security Spring Dr. Indrajit Ray
IST 228\Ch3\IP Addressing1 TCP/IP and DoD Model (TCP/IP Model)
CS 350 Chapter-6. A brief history of TCP/IP 1983 TCP/IP came to ARPAnet ARPAnet and MILNET dissolved in 1990 BSD UNIX.
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.
DCN286 INTRODUCTION TO DATA COMMUNICATION TECHNOLOGY
CCNA Guide to Cisco Networking Fundamentals Fourth Edition
IP (Internet Protocol) –the network level protocol in the Internet. –Philosophy – minimum functionality in IP, smartness at the end system. –What does.
WXES2106 Network Technology Semester /2005 Chapter 4 TCP/IP CCNA1: Module 9, 10.3 and 11.
Network Protocols. Why Protocols?  Rules and procedures to govern communication Some for transferring data Some for transferring data Some for route.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 3: TCP/IP Architecture.
Chapter 9.
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,
1 Chapter Overview TCP/IP DoD model. 2 Network Layer Protocols Responsible for end-to-end communications on an internetwork Contrast with data-link layer.
Semester 2v2 Chapter 9:  TCP/IP.
Huda AL_Omairl - Network 71 Protocols and Network Software.
TCP/IP and the Internet ARPANET (1969) –R&D network funded by DARPA. –Packet Switching Survive nuclear war. –Experimental to operational (1975). –Not suitable.
TCP/IP Essentials A Lab-Based Approach Shivendra Panwar, Shiwen Mao Jeong-dong Ryoo, and Yihan Li Chapter 5 UDP and Its Applications.
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
Chapter 4 TCP/IP Overview Connecting People To Information.
Fall 2005Computer Networks20-1 Chapter 20. Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv ARP 20.2 IP 20.3 ICMP 20.4 IPv6.
TCP/IP TCP/IP LAYERED PROTOCOL TCP/IP'S APPLICATION LAYER TRANSPORT LAYER NETWORK LAYER NETWORK ACCESS LAYER (DATA LINK LAYER)
Protocols 1 Objective: Build a protocol foundation for Client / Server programming in an Internet Environment Note: RFCs available from
1 Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
1 TCP/IP Internetting ä Subnet layer ä Links stations on same subnet ä Often IEEE LAN standards ä PPP for telephone connections ä TCP/IP specifies.
CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
TCP/IP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
Basic IP Protocol Natawut Nupairoj, Ph.D. Department of Computer Engineering Chulalongkorn University.
1 Chapter 8 – TCP/IP Fundamentals TCP/IP Protocols IP Addressing.
Instructor & Todd Lammle
Cisco Networking Academy S2 C9 TCP/IP. ensure communication across any set of interconnected networks Stack components such as protocols to support file.
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.
1 Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Telecommunications Essentials John R. Durrett July 5, 2005.
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.
Advanced Higher Computing Computer Networking Topic 1: Network Protocols and Standards.
1 OSI Reference Model Benefits Standardizes interfaces Facilitates modular engineering Ensures interoperable technology Accelerates evolution Simplifies.
TCP/IP PROTOCOL UNIT 6. Overview of TCP/IP Application FTP, Telnet, SMTP, HTTP.. Presentation Session TransportHost-to-HostTCP, UDP NetworkInternetIP,
Packet Switch Network Server client IP Ether IPTCPData.
Introduction to Networks
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Introduction to TCP/IP
Net 431: ADVANCED COMPUTER NETWORKS
Introduction to Networks
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Module 9: TCP/IP Protocol Suite and IP Addressing
Process-to-Process Delivery:
Transport Protocols An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
TCP/IP Protocol Suite and IP Addressing
1 TRANSMISSION CONTROL PROTOCOL / INTERNET PROTOCOL (TCP/IP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University, Puducherry –
OSI Reference Model Unit II
Process-to-Process Delivery: UDP, TCP
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Presentation transcript:

Network Layer Functions Key Layer in Internet Architecture End-to-end Packets Adapt to lower layers

Network Layer Design Goals –‘Independent’ of layer 1 & 2 implementations –Hide layer 1 & 2 details from upper layers Architecture –Connection oriented –Connectionless –(where should reliability be done?) Services –Routing (Path selection) –Adaptation to different lower layers

Routing Algorithms Goals –Optimality –Fairness –Stablility –Robustness –Correctness –Simplicity Adaptive vs Static Congestion Control

Adaptive Routing Centralized Isolated Distributed

Distributed Routing Metric - Vector Algorithms –sometimes called shortest path –Bellman-Ford most famous –Knowledge of immediate neighbors –Result is “first step” in path to ultimate destination Link State Algorithms –OSPF {Open Shortest Path First} –Knowledge of network layer map (connectivity)

Congestion Control RESEARCH ISSUE! Resource Reservation Packet Discarding Flow Control

Routing Information Protocol (RIP) Known as a routing table update protocol Developed by Xerox and gained widespread acceptance by the proliferation of TCP/IP’s implementation of it in UNIX. Other protocols (AppleTalk, NetWare) adopted RIP as their standard routing update protocol. Known as a distance vector protocol. –Vector is an adjacent router and the distance is how far away (hops) the network is. –One hop is considered one router traversed. Devised for relatively stable, small-to-medium size networks (less than 16 routers in diameter).

Calculating the Cost Network 1 Network 2 Network 3 Network 4 Network Hops Network Hops Network Hops Transmitted routing table Transmitted routing table Internal routing table Router A Router B Router C

IP Routing Making Decisions Gathering Information ICMP

Routing Table NetworkMaskRouterHopsAgePort ID C C B B

Example: TCP/IP Not the only way to do things... But well tested in the field Brief History TCP/IP vs ISO protocols

References TCP/IP Overall -- Douglas Comer –Internetworking with TCP/IP, Vol I, 3d ed. –Internetworking with TCP/IP, Vol II –Internetworking with TCP/IP, Vol III (Sockets) –Internetworking with TCP/IP, Vol III (TLI) Unix Programming -- W. Richard Stevens –Unix Network Programming –Advanced Unix Network Programming Stevens & Wright –TCP/IP Illustrated Vol I –TCP/IP Illustrated Vol II –TCP/IP Illustrated Vol III

TCP/IP Stack OSI DIX Ethernet or... ARP ICMP IP TCP UDP DNSTELNET FTP

Notes on TCP/IP Suite TCP/IP preceded the OSI Reference Model Layers 1 & 2 are not part of the standard Functions above the Transport Layer are consolidated

Brief Definitions ARP -- Address Resolution Protocol IP -- Internet Protocol ICMP -- Internet Control Message Protocol UDP -- User Datagram Protocol TCP -- Transmission Control Protocol DNS -- Domain Name System FTP -- File Transfer Protocol TELNET -- remote terminal

Other TCP/IP Protocols Routing Protocols -- RIP, OSPF, EGP, GGP BOOTP - Bootstrap Protocol RARP - Reverse ARP TFTP - Trivial FTP HTTP - Hyper Text Transfer Protocol SMTP - Simple Mail Transfer Protocol SNMP - Simple Network Management Protocol

Layer Protocols DNS Query DNS Reply SYN SYN/ACK ACK CallerCallee {TCP Establishment} ARP Request ARP Reply

IP Functionality Presents single, virtual network to user Connectionless Delivery Packet Routing Interface to Lower Layers

IP Addresses “Dotted Decimal” 32 bit (4 byte) address, written by taking each byte as an unsigned number Address Classes [first octet] –A –B –C –D - special subset of C multicast –E - reserved Netmask –a 32 bit value which, when ANDed with an address, selects only the network part

Netmask Usage “Do a bitwise AND then compare for equality of results” & netmask =?= & netmask if comparison is equal, then both src & dst are on same (sub)net. Same netmask

Netmask Examples S= M= result D= M= result Not Equal S= M= result S= M= result D= M= result D= M= result ? ?

Special Address Conventions This host Host on this net Limited broadcast Directed broadcast Loopback all 0’s 127anything (usually 1) net hostall 0’s all 1’s

IP Header VERSHLENSERVICE TYPETOTAL LENGTH FLAGSFRAGMENT OFFSETIDENTIFICATION TIME TO LIVEPROTOCOLHEADER CHECKSUM SOURCE IP ADDRESS DESTINATION IP ADDRESS 1984 IP OPTIONS (IF ANY)PADDING DATA... 24

IP Packet Handling (rcv) receiving Transport Layer (TCP or UDP) Sockets IP Link {DIX Type or DSAP} Other Physical

IP Packet Handling (xmit) sending Local or Non-Local ? ARP Search Routing Table Found!Missing! ICMP Error Send locally...

A Bridges or Routers B C D Address & Netmask 1: : : : :

ICMP ping –ECHO Request/Reply traceroute traceroute to falcon.ece.utexas.edu ( ), 30 hops max, 40 byte packets 1 exit_133 ( ) 2 ms 2 ms 2 ms 2 exit_128 ( ) 2 ms 3 ms 2 ms 3 FDDI-T3.TAMU.EDU ( ) 3 ms 3 ms 3 ms 4 FDDI-WAN.TAMU.EDU ( ) 5 ms 4 ms 6 ms 5 sprint-gw-h1-0.the.net ( ) 20 ms 5 ms 5 ms 6 ut8-h1-0.the.net ( ) 8 ms 9 ms 21 ms ( ) 7 ms 11 ms 7 ms 8 ens.gw.utexas.edu ( ) 16 ms 23 ms 21 ms 9 ece-e0.gw.utexas.edu ( ) 12 ms 9 ms 9 ms 10 * * *