Chapter 7. Local Area Network Communications Protocols

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

Chapter 6: Network Communications and Protocols

TCP /IP Fundamentals Mr. Cantu

Fundamentals of Networking. OSI & TCP/IP Model. Kuldeep Sonar 1

Defining Networks with the OSI Model. Module 2

CHAPTER-2 IP CONCEPTS

Guide to Networking Essentials, 6 th Edition. Chapter 5: Network Protocols

OSI Network Layer. Chapter 5

Transport Layer TCP & UDP Week 7. Module : Computer Networks Lecturers : Lucy White Office : 324

IP Protocols. ALTTC/Oct

Define TCP/IP and describe its advantages on Windows Describe how the TCP/IP protocol suite maps to a four-layer model

TCP/IP Protocol Suite and IP Addressing

Networking Fundamentals

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

Introduction to Open System Interconnection Reference Model

TCPIP Protocol Suite & Utilities. Revision no.: PPT/2K403/02

CCNA Exploration Network Fundamentals. Chapter 04 OSI Transport Layer

TCP/IP Networking. Training Details. About Training. About Training. What You'll Learn. Training Time : 9 Hours. Capacity : 12

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

The Internet Protocol (IP)

EITF25 Internet Techniques and Applications L7: Internet. Stefan Höst

Network+ Guide to Networks 6 th Edition. Chapter 4 Introduction to TCP/IP Protocols

Introduction to Protocols

Introduction to TCP/IP

Lecture (02) Network Protocols and Standards

OSI Transport Layer. objectives

TCP/IP THE TCP/IP ARCHITECTURE

1. IPv6 is the latest version of the TCP/IP protocol. What are some of the important IPv6 requirements?

Interconnecting Networks with TCP/IP. 2000, Cisco Systems, Inc. 8-1

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

Introduction p. 1 The Need for Security p. 2 Public Network Threats p. 2 Private Network Threats p. 4 The Role of Routers p. 5 Other Security Devices

Computer Networks. Lecture 9 Network and transport layers, IP, TCP, UDP protocols

CCNA MCQS with Answers Set-1

01/17/08 TDC /17/08 TDC363-03

OSI Reference Model. Computer Networks lab ECOM Prepared By : Eng. Motaz Murtaja Eng. Ola Abd Elatief

Internet. Organization Addresses TCP/IP Protocol stack Forwarding. 1. Use of a globally unique address space based on Internet Addresses

ET4254 Communications and Networking 1

Introduction to TCP/IP

CNBK Communications and Networks Lab Book: Purpose of Hardware and Protocols Associated with Networking Computer Systems

Introduction to Networks and the Internet

Interconnecting Networks with TCP/IP

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

ACL Rule Configuration on the WAP371

Concept Questions Demonstrate your knowledge of these concepts by answering the following questions in the space that is provided.

Fundamentals of Computer Networking AE6382

ch02 True/False Indicate whether the statement is true or false.

NetWare Protocols. Background. Technology Basics CHAPTER

Copyleft 2005, Binnur Kurt. Objectives

CPSC 826 Internetworking. The Network Layer: Routing & Addressing Outline. The Network Layer

TCP/IP Overview. Basic Networking Concepts. 09/14/11 Basic TCP/IP Networking 1

Layer 4: UDP, TCP, and others. based on Chapter 9 of CompTIA Network+ Exam Guide, 4th ed., Mike Meyers

NetWare Protocols. Background CHAPTER

Networking interview questions

Chapter 6. The Protocol TCP/IP. Introduction to Protocols

Examination 2D1392 Protocols and Principles of the Internet 2G1305 Internetworking 2G1507 Kommunikationssystem, fk SOLUTIONS

Chapter 6: Network Layer

Network Architecture Models

Cisco Cisco Certified Network Associate (CCNA)

IP - The Internet Protocol. Based on the slides of Dr. Jorg Liebeherr, University of Virginia

5105: BHARATHIDASAN ENGINEERING COLLEGE NATTARMPALLI UNIT I FUNDAMENTALS AND LINK LAYER PART A

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

Chapter 09 Network Protocols

IT220 Network Standards & Protocols. Unit 8: Chapter 8 The Internet Protocol (IP)

B.Sc. (Hons.) Computer Science with Network Security B.Eng. (Hons) Telecommunications B.Sc. (Hons) Business Information Systems

NT1210 Introduction to Networking. Unit 10

Chapter 5 OSI Network Layer

Internetwork Protocols

Chapter 12 Network Protocols

TSIN02 - Internetworking

Internet Protocols (chapter 18)

Networking midterm. 5. As a data unit moves up from one protocol layer to another, control headers are:

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061. Lecture 2. Internetworking IPv4, IPv6

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

Linux System Administration

Module 9: TCP/IP Protocol Suite and IP Addressing

Chapter 7 Transport Layer. 7.0 Introduction 7.1 Transport Layer Protocols 7.2 TCP and UDP 7.3 Summary

On Distributed Communications, Rand Report RM-3420-PR, Paul Baran, August 1964

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

Different Layers Lecture 20

Novell. NetWare 6. TCP/IP ADMINISTRATION GUIDE

Data & Computer Communication

Fundamentals of IP Networking 2017 Webinar Series Part 4 Building a Segmented IP Network Focused On Performance & Security

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

INTRODUCTORY INFORMATION TECHNOLOGY COMMUNICATING OVER NETWORKS. Faramarz Hendessi

ECE4110 Internetwork Programming. Introduction and Overview

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

Networking Basics. EC512 Spring /15/2015 EC512 - Prof. Thomas Skinner 1

TSIN02 - Internetworking

The Interconnection Structure of. The Internet. EECC694 - Shaaban

Business Data Communications and Networking

Business Data Networks and Security 10th Edition by Panko Test Bank

Network Reference Models

Vorlesung Kommunikationsnetze

Communicating over the Network

Online Documentation: To access the online documentation for this and other Novell products, and to get updates, see

Lecture 8. Basic Internetworking (IP) Outline. Basic Internetworking (IP) Basic Internetworking (IP) Service Model

The Internet. The Internet is an interconnected collection of netw orks.

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

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

University of Southern California EE450: Introduction to Computer Networks

Transcription:

Chapter 7 Local Area Network Communications Protocols

The Network Layer The third layer of the OSI Model is the network layer. The network layer is concerned with providing a means for hosts to communicate with other hosts on different network segments. Datalink layer provides a means for two hosts on a common network segment to communicate. Technologies such as Ethernet and token ring provide this intra-segment connectivity.

The Network Layer Network layer protocols provide a means of delivering data between network segments Addressing is the process of defining where on the internetwork a host is located Routing is the process of determining the best path to the destination host

Frames and Packets The Data Link layer transmits frames of data The Network Layer transmits packets of data

Networks and Segments Single network segments are commonly referred to as segments, sub-networks, or subnets Inter-connected segments are referred to as networks, internetworks, or intranets

Network Layer Addressing The network layer provides end-to-end or inter-segment communications The host address must be unique within a network segment. The packet will be routed to the network segment of the correct host based on the segment address

Network vs. Datalink Layer Addressing The Datalink layer uses the physical address (also known as the MAC addresses) of the NIC to deliver data rather than the network layer host address. For the network and Datalink layers to successfully interact to deliver data, a direct, one-to-one mapping must be made between the network layer address and the Datalink layer physical address.

Address Resolution The process of determining the physical layer address of an NIC from the network layer address is known as address resolution. Each NIC is assigned a single data link layer physical address and one or more network layer addresses (multi-homed).

Protocol Encapsulation A packet of data from the network layer is placed in the data section of a datalink layer frame. This is encapsulation

Packet Fragmentation Fragmentation allows large quantities of data to be sent across the network in smaller, more manageable chunks of data.

Packet Fragmentation Eliminated Repeated packet fragmentation and reassembly places a large processing burden on routers, effectively reducing their overall routing capacity. Solution? Lower Layer 3 packet size!

Routing Routing is the process of moving data across network segments toward its final destination. Routers receive frames of data, deencapsulate the layer three packet, examine the network layer packet header, determine the next hop of the packet, package the packet into a new data frame and transmit the new frame.

Routing as Address Processing

Routing Tables Hosts and routers decide where to send packets by looking up the destination address in their routing table. A routing table consists of a series of destination networks, the address of the local router that provides service to the destination network, and a cost associated with the route. The cost is used to determine the best route in the event that there are multiple routes to the destination available. Routing tables are protocol specific with different layer three protocols adding different fields to the routing table.

Routing Protocols There are two classes of routing protocols: interior and exterior gateway protocols. The difference between interior and exterior gateway protocols is the scope of the routing information they distribute. Interior gateway protocols distribute routing information within a hierarchical address space. These Autonomous Systems, can be interconnected into an internetwork

Routing Protocols

Interior Routing Protocols Interior routing protocols come in two types: 1. Distance Vector 2. Link State Distance Vector Routing Protocols Broadcast entire routing table periodically Slow to update changes to network Link State Routing Protocols Transmit a more complete picture of the network by using Link State Packets (LSP) Each router is informed of entire network structure Faster to update network/more informed route selection

The Transport Layer The fourth layer of the OSI Model is the transport layer (a.k.a. Host-to-Host layer) Transport layer protocols are usually connection-oriented and therefore provide reliable data transmission. Transport layer also provides error control and correction, and flow control.

Connection-Oriented Error Correction The destination host acknowledges the correct receipt of a packet by sending an ACK If a packet fails the error check upon receipt, the destination host responds with a NAK If destination host sends no response, sending host retransmits packet

The Session Layer The fifth layer of the OSI model is the Session layer Maps to the top part of the TCP/IP Transport layer Responsible for establishing, maintaining, and terminating logical sessions between applications Uses ports and sockets

The Presentation Layer Layer 6 of the OSI model is the Presentation layer Responsible for formatting data Encryption and compaction of data Converts between data communications codes

The Application Layer Layer 7 of the OSI model is the Application layer Provides data transmission services to user applications Services are provided via Application Programming Interfaces (APIs) APIs include: http, ftp, snmp, smtp, tftp, telnet, DHCP, and DNS

Local Area Network Protocols IPX Apple Talk IP NetBEUI/NetBIOS DLC

Netware Protocol Suite The IPX/SPX protocol suite was originally developed by Novell for its NetWare network operating system IPX/SPX is also found in older Microsoft client operating systems and in Microsoft Server OS

IPX IPX serves as a basic delivery mechanism for upper-layer protocols such as SPX, RIP, SAP, and NCP. This delivery mechanism is accomplished through encapsulation Upper-layer protocols are encapsulated within properly addressed IPX envelopes.

IPX Segment Address Assignment Assignment of segment address to IPX network hosts is a two-part sequence

IPX Packet Layout IPX packets can carry a payload of up to 546 bytes of encapsulated data. Packet delivery is controlled with a 30-byte packet header consisting of multiple fields

SPX Layout and Encapsulation Sequenced Packet Exchange (SPX) is a transport/session layer protocol that can be used with IPX to provide reliable communication

SPX Connection-Oriented Specific paths known as virtual circuits are explored and determined prior to the first packet being sent. Once the virtual circuit is established, all packets bound for that address follow each other in sequence down the same physical path. Virtual circuits are important when the source host and destination host reside on different networks.

SPX - Reliable SPX requires error checking and acknowledgment in order to assure reliable receipt of transmitted packets. SPX adds sequence numbers to assure that all pieces are received and that they are reconstructed in the proper order. SPX also has mechanisms to institute flow control

Service Advertising Protocol SAP is used by network servers to advertise the services they provide. Servers broadcast this information every 60 seconds

SAP Layout and Encapsulation

The Internet Suite TCP/IP was developed during the 1970s and widely deployed during the 1980s under the auspices of DARPA, to meet DOD s need to have a wide variety of different computers be able to inter-operate and communicate. TCP/IP has become the de-facto standard for communication between heterogeneous networked computers thanks to the popularity of the Internet

The TCP/IP Model Although not identical to the OSI Model, the TCP/IP Model is no less effective at organizing protocols required to establish and maintain communications between different computers

TCP/IP Family of Protocols This illustrates the placement of many of the TCP/IP family of protocols into their respective layers of the TCP/IP model

The IP Address IPv4 addresses are 32 bits long and are represented as a sequence of four octets Each octet is a decimal representation of an 8-bit section of the overall IP address

IPv4 Class Addressing IP addresses contain both the network segment and host addresses. The original IPv4 specification provided the ability to differentiate segment and host addresses through the use of address classes.

Routing with Subnetting Subnet mask on gateway interface: 255.0.0.0 The gateway router accepts all packets destined for the 10.x.x.x network and routes them based on class B subnet working where the second octet has been made part of the network address rather than part of the host address.

IP Segment Address vs. Host Address There must be a way of identifying which bits are used for each portion of the overall address. This is accomplished via a subnet mask

Subnet Masks Subnet Masks have two functions: 1. Separate (mask) the Segment (Network) portion of a host IP address from its Node (Host) address. 2. Determine if the destination IP address of a packet is local (same segment as sender) or remote (different segment from sender)

Use of Subnet Masks A subnet mask is a 32-bit binary sequence that divides the IP address by using a 1 to indicate that the corresponding position is part of the segment address and by using a 0 to indicate that the corresponding portion is part of the host address

IPv4 Packet

Private Addressing & Network Address Translation One way to cope with the depletion of IP addresses is through the use of private addressing. The Internet Corporation for Assigned Names & Numbers (ICANN) has set aside three ranges of private IP addresses 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 Traffic using these address ranges must remain on the organization s private network Computers on a network using a Private IP address space send and receive traffic to/from the Internet by using NAT NAT is provided by a router

Static Network Address Translation

Dynamic Network Address Translation

ICMP Protocol Layout ICMP delivers a variety of error status and control messages related to the ability of IP to deliver its encapsulated payloads The most common use of ICMP from the user s perspective is checking for network connectivity between two hosts using PING

UDP Header Layout User Datagram Protocol (UDP) is used to provide unreliable, connectionless messaging services for applications RIP and streaming video/audio use UDP at the Transport layer

Transmission Control Protocol (TCP) connection-oriented reliable data transmission Guarantees delivery through of acknowledgements (ACKs/NAKs) transport/session layer protocol

TCP Header Layout Reliability is assured through the additional fields contained within the TCP header that offer flow control, acknowledgments of successful receipt of packets after error checking, retransmission of packets as required, and proper sequencing of packets

Connection Creation & Tear Down A point-to-point connection between source and destination computers is established before transmission begins The connection is torn down after transmission has concluded

Dynamic Host Configuration Protocol DHCP is used to dynamically assign IP addressing and configuration information to TCP/IP hosts Servers and Printers don t make good DHCP clients (moving targets).

NetBEUI & DLC