Copyright © 2011, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 1 Chapter 09 Network Protocols.

Slides:



Advertisements
Similar presentations
TCP/IP Protocol Suite 1 Chapter 27 Upon completion you will be able to: Next Generation: IPv6 and ICMPv6 Understand the shortcomings of IPv4 Know the IPv6.
Advertisements

CPSC Network Layer4-1 IP addresses: how to get one? Q: How does a host get IP address? r hard-coded by system admin in a file m Windows: control-panel->network->configuration-
Transitioning to IPv6 April 15,2005 Presented By: Richard Moore PBS Enterprise Technology.
Computer Networks20-1 Chapter 20. Network Layer: Internet Protocol 20.1 Internetworking 20.2 IPv IPv6.
CE363 Data Communications & Networking Chapter 7 Network Layer: Internet Protocol.
COS 461 Fall 1997 Routing COS 461 Fall 1997 Typical Structure.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 12 Network Protocols.
1 Internet Protocol Version 6 (IPv6) What the caterpillar calls the end of the world, nature calls a butterfly. - Anonymous.
Network Layer IPv6 Slides were original prepared by Dr. Tatsuya Suda.
1 o Two issues in practice – Scale – Administrative autonomy o Autonomous system (AS) or region o Intra autonomous system routing protocol o Gateway routers.
OSI Model OSI MODEL.
OSI Model OSI LAYER / MODEL.
Chapter 20 Network Layer: Internet Protocol Stephen Kim 20.1.
Protocols and Protocol Suit Review
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
OIS Model TCP/IP Model.
Lecturer: Tamanna Haque Nipa
1 Chapter 9 Network Protocols. Outline 2 Protocol: Set of defined rules to allow communication between entities Open Systems Interconnection (OSI) Transmission.
IP (Internet Protocol) –the network level protocol in the Internet. –Philosophy – minimum functionality in IP, smartness at the end system. –What does.
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.
Introduction to Networks CS587x Lecture 1 Department of Computer Science Iowa State University.
10/13/2015© 2008 Raymond P. Jefferis IIILect 07 1 Internet Protocol.
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.
UNIT IP Datagram Fragmentation Figure 20.7 IP datagram.
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Network Fundamentals.
TCP/IP Protocols Contains Five Layers
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 OSI Network Layer Network Fundamentals – Chapter 5.
CSC 600 Internetworking with TCP/IP Unit 7: IPv6 (ch. 33) Dr. Cheer-Sun Yang Spring 2001.
Network Layer4-1 The Internet Network layer forwarding table Host, router network layer functions: Routing protocols path selection RIP, OSPF, BGP IP protocol.
Transport Layer3-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
Internet Protocols (chapter 18) CSE 3213 Fall 2011.
Chapter 20 Network Layer: Internet Protocol
Chapter-8 Network Layer in the Internet. IP Protocol: IP V4 At network layer, internet can be viewed as a collection of sub-networks or Autonomous Systems.
Wireless Communication Network Lab. Chapter 10 Network Protocols EE of NIUChih-Cheng Tseng1 Prof. Chih-Cheng Tseng
OSI Reference Model. Open Systems Interconnection (OSI) Model International standard organization (ISO) established a committee in 1977 to develop an.
Chapter 27 IPv6 Protocol.
Protocol Suits and Layering Models OSI Model Dr. Abraham UTPA.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 Module 10 Routing Fundamentals and Subnets.
OSI Model. Open Systems Interconnection (OSI) is a set of internationally recognized, non proprietary standards for networking and for operating system.
IP Protocol CSE TCP/IP Concepts Connectionless Operation Internetworking involves connectionless operation at the level of the Internet Protocol.
Network Models. The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding.
Network Layer Protocols COMP 3270 Computer Networks Computing Science Thompson Rivers University.
Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Lecture 13 IP V4 & IP V6. Figure Protocols at network layer.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Computer Engineering and Networks, College of Engineering, Majmaah University Protocols OSI reference MODEL TCp /ip model Mohammed Saleem Bhat
OSI Model OSI MODEL. Communication Architecture Strategy for connecting host computers and other communicating equipment. Defines necessary elements for.
OSI Model OSI MODEL.
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.
TRANSPORT LAYER BY, Parthasarathy.g.
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 CPSC 335 Data Communication.
The New Internet Protocol
Lecturer, Department of Computer Application
Understand the OSI Model Part 2
DEPARTMENT OF COMPUTER SCIENCE
Lec 5 Layers Computer Networks Al-Mustansiryah University
The New Internet Protocol
Chapter 3: Open Systems Interconnection (OSI) Model
Chapter 20 Network Layer: Internet Protocol
Net 323 D: Networks Protocols
Chapter 15. Internet Protocol
Internet Protocol, Version 6 (IPv6)
OSI Model OSI MODEL.
Network Fundamentals – Chapter 5
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Unit – III Network Essentials
Presentation transcript:

Copyright © 2011, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 1 Chapter 09 Network Protocols

Copyright © 2010, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 2 Outline Protocol: Set of defined rules to allow communication between entities Open Systems Interconnection (OSI) Transmission Control Protocol / Internetworking Protocol (TCP/IP) TCP over wireless Internet Protocol version 6 (IPv6) Summary

Copyright © 2011, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 3 OSI Model Physical Data link Network Transport Session Presentation Application Layer 1 Layer 2 Layer 3 Layer 4 Layer 5 Layer 6 Layer 7 7 layer OSI model

Copyright © 2010, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 4 Physical Layer Functions Establishment and termination of a connection to a communication medium Process for effective use of communication resources Conversion between representation of digital data Physical characteristics of interfaces and media Representation of bits, transmission rate, synchronization of bits. Link configuration Physical topology and transmission mode

Copyright © 2010, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 5 Data Link Layer Functions Provides functional and procedural means to transfer data between network entities. Responds to service requests from the network layer and issues requests to the physical layer. Concerned with: Framing Physical addressing Flow Control Error Control Access Control

Copyright © 2010, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 6 Network Layer Functions Provides for transfer of variable length sequences from source to destination via one or more networks Responds to service requests from the transport layer and issues requests to the data link layer Concerned with: Logical addressing Routing

Copyright © 2010, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 7 Transport Layer Functions Provides transparent data transfer between end users Responds to service requests from the session layer and issues requests to the network layer. Concerned with: Service-point addressing Segmentation and reassembly Connection control; Flow Control Error Control

Copyright © 2010, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 8 Session Layer Functions Provides mechanism for managing a dialogue between end-user application processes Responds to service requests from the presentation layer and issues requests to the transport layer Supports duplex or half- duplex operations. Concerned with: Dialogue control Synchronization

Copyright © 2010, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 9 Presentation Layer Functions Relieves application layer from concern regarding syntactical differences in data representation with end-user systems Responds to service requests from the application layer and issues requests to the session layer Concerned with: Translation Encryption Compression

Copyright © 2010, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 10 Application Layer Functions Interfaces directly to and performs common application services for application processes Issues service requests to the Presentation layer Specific services provided: Network virtual terminal File transfer, access and management Mail services Directory services

Copyright © 2010, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 11 TCP/IP Protocol TCP/IP protocol consists of five layers The lower four layers correspond to the layer of the OSI model The application layer of the TCP/IP model represents the three topmost layers of the OSI model

Copyright © 2011, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 12 TCP/IP Protocol stack OSI layersTCP/IP layers Application Presentation Session FTP, Telnet, SMTP DNS Application Transport TCPUDP Network Data link Physical Lower level vendor implementations IP OSPF IGMPDHCPICMP

Copyright © 2010, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 13 Internet Protocol (IP) Provides connection-less, best-effort service for delivery of packets through the inter-network Best-effort: No error checking or tracking done for the sequence of packets (datagrams) being transmitted Upper layer should take care of sequencing Datagrams transmitted independently and may take different routes to reach same destination Fragmentation and reassembly supported to handle data links with different maximum – transmission unit (MTU) sizes

Copyright © 2010, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 14 Internet Control Message Protocol (ICMP) Companion protocol to IP Provides mechanisms for error reporting and query to a host or a router Query message used to probe the status of a host or a router Error reporting messages used by the host and the routers to report errors

Copyright © 2010, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 15 Internet Group Management Protocol (IGMP) Used to maintain multicast group membership within a domain Similar to ICMP, IGMP query and reply messages are used by routers to maintain multicast group membership Periodic IGMP query messages are used to find new multicast members within the domain A member sends a IGMP join message to the router, which takes care of joining the multicast tree

Copyright © 2010, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 16 Dynamic Host Configuration Protocol (DHCP) Used to assign IP addresses dynamically in a domain Extension to Bootstrap Protocol (BOOTP) Node Requests an IP address from DHCP server Helps in saving IP address space by using same IP address to occasionally connecting hosts

Copyright © 2010, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 17 Internet Routing Protocols Intradomain Routing Distance Vector Routing Information Protocol (RIP) Distance information about all the nodes is conveyed to the neighbors. Open Shortest Path First (OSPF) Based on shortest path algorithm, sometimes also known as Dijkstra algorithm Hosts are partitioned in to autonomous systems (AS) AS is further partitioned in to OSPF areas that helps boarder routers to identify every single node in the area Link-state advertisements sent to all routers within the same hierarchical area Border Gateway Protocol (BGP) Intra-autonomous systems communicate with each other using path vector routing protocol

Copyright © 2011, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 18 TCP Application Layer Top three layers (session, presentation, and application) merged into application layer Routing using Bellman-Ford Algorithm 6 Root Abstract model of a wireless network in the form of a graph A routing table maintained at each node, indicating the best known distance and next hop to get there Calculate w(u,v), is the cost associated with edge uv Calculate d(u), the distance of node u from a root node For each uv, find minimum d(u,v) Repeat n-1 times for n-nodes

Copyright © 2011, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 19 TCP (ctd) To Node01234 Pass 00 Pass 1032 Pass Pass Pass To Node01234 Pass 0* Pass 1*00 Pass 2*2040 Pass 3*3040 Pass 4* Root Abstract model of a wireless network in the form of a graph Successive calculation of distance D(u) from Node Predecessor from Node 0 to other network Nodes

Copyright © 2010, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 20 Solutions for Wireless Environment Networking layering provides good abstraction Wireless networking interference limited. Information delivery capability depends on current channel quality Adoption in physical and link layer broadcast could lead to efficient resource usage Changes need to be made in MSs and mobile access points to ensure compatibility

Copyright © 2010, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 21 End-to-End Solutions Internet employs TCP/IP protocol stack. Most of the applications require reliable transmission layer (mostly TCP) Wireless network must support existing applications Limitations of wired version of TCP Routing Information Protocol (RIP) Packet loss can occur because of random errors as well as due to congestion Decreases efficiency due to TCP’s Congestion avoidance Many other problems like mobility support demands modification in TCP

Copyright © 2011, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 22 Internet Protocol Version 6 (IPv6) Designed to address the unforeseen growth of the internet and the limited address space provided by IPv4 Features of IPv6: Enhanced Address Space: 128 bits long, can solve the problem created by limited IPv4 address space (32 bits) Resource Allocation: By using “Flow Label”, a sender can request special packet handling Modified Address Format: Options and Base Header are separated which speeds up the routing process Support for Security: Encryption and Authentication options are supported in option header

Copyright © 2011, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 23 IPv4 Header Format Version (4 bits) Header length (4 bits) Type of service (8 bits) Total length (16 bits) Identification (16 bits)Flags (3 bits) Fragment offset (13 bits) Time to live (8 bits) Protocol (8 bits) Header checksum (16 bits) Source address (32 bits) Destination address (32 bits) Options and padding (if any)

Copyright © 2011, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 24 IPv6 Header Format VersionTraffic ClassFlow Label Payload LengthNext Header Hop Limit Source Address Destination Address Data Address Space Resource Allocation Modified Header Format Support for Security

Copyright © 2011, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 25 Format of IPv6 NameBitsFunction Version4IPv6 version number Traffic Class8Internet traffic priority delivery value Flow Label20Used for specifying special router handling from source to destination(s) for a sequence of packets Payload Length16, unsigned Specifies the length of the data in the packet. When set to zero, the option is a hop-by-hop Jumbo payload Next Header8Specifies the next encapsulated protocol. The values are compatible with those specified for the IPv4 protocol field Hop Limit8, unsigned For each router that forwards the packet, the hop limit is decremented by 1. When the hop limit field reaches zero, the packet is discarded. This replaces the TTL field in the IPv4 header that was originally intended to be used as a time based hop limit Source Address128The IPv6 address of the sending node Destination Address128The IPv6 address of the destination node

Copyright © 2011, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 26 Differences between IPv4 and IPv6  Expanded Addressing Capabilities  Simplified Header Format  Improved Support for Options and Extensions  Flow Labeling Capabilities  Support for Authentication and Encryption

Copyright © 2011, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 27 Network Transition from IPv4 to IPv6 Dual IP-Stack: IPv4-hosts and IPv4-routers have an IPv6-stack, this ensures full compatibility to not yet updated systems IPv6-in-IPv4 Encapsulation (Tunneling): Encapsulate IPv6 datagram in IPv4 datagram and tunnel it to next router/host

Copyright © 2011, Dr. Dharma P. Agrawal and Dr. Qing-An Zeng. All rights reserved. 28 IP and MAC Addresses for Personal Firewall