TRANSPORT and NETWORK LAYERS - Part 1 Dr. V.T. Raja Oregon State University.

Slides:



Advertisements
Similar presentations
Network Layer – IPv4 Dr. Sanjay P. Ahuja, Ph.D.
Advertisements

© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
Introduction to TCP/IP TCP / IP –including 2 protocols Protocol : = a set of rules that govern the communication between different devices Protocol : =
Chapter 18. IP: Internet Protocol Addresses
Network Layer and Transport Layer.
IP Suite© Dr. Ayman Abdel-Hamid, CS4254 Spring CS4254 Computer Network Architecture and Programming Dr. Ayman A. Abdel-Hamid Computer Science Department.
Chapter 5 - Transport and Network Layers TCP/IP (Part 1) Dr. V.T. Raja Oregon State University Chapter Objectives: Understand primary functions of transport.
Introduction to Networking V.T. Raja, PhD James R. Coakley, PhD BA 572 – Advanced Information Systems.
Chapter 5 - TCP/IP Discussion Related to Essay Question on Final Dr. V.T. Raja Oregon State University.
1 Computer Networks IP: The Internet Protocol. 2 IP is a connection-less, unreliable network layer protocol IP provides best effort services in the sense.
Chapter 5 – Big Picture Dr. V.T. Raja Oregon State University.
Lesson 7 – THE BUSINESS OF NETWORKING. TCP/IP and UDP Other Internet protocols Important Internet protocols OVERVIEW.
Introduction to TCP/IP
1 Introduction to TCP/IP. 2 Agenda What Is TCP/IP? IP Addressing.
TCP/IP Discussion Related to Essay Question on Final Dr. V.T. Raja Oregon State University.
Chapter Overview TCP/IP Protocols IP Addressing.
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.
Why create a subnet mask? Tells device which part of an address is the network # including the subnet and which part is the host Filters the node IP address.
1 TCP/IP introduction ผศ. ดร. อนันต์ ผลเพิ่ม Anan Phonphoem, Ph.D. Computer Engineering Department Kasetsart.
1 Kyung Hee University Part 4 : Network Layer. 2 Kyung Hee University Role and Position of Network Layer o Network layer in the Internet model is responsible.
IP Addressing Basics LAB 8.
Chapter 1-3 The Ethernet LAN. Ethernet The networking protocol used in most modern computer networks is Ethernet. Ethernet is a CSMA/CD LAN protocol.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 03_a
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 2 The OSI Model and TCP/IP Protocol Suite.
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
TCP/IP Yang Wang Professor: M.ANVARI.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Services Networking for Home and Small Businesses – Chapter 6.
11 NETWORK LAYER PROTOCOLS Chapter 5 IP IPX NetBEUI AppleTalk.
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.
Lesson 5—Networking BASICS1 Networking BASICS Protocols and Network Software Unit 2 Lesson 5.
Layer 3: Internet Protocol.  Content IP Address within the IP Header. IP Address Classes. Subnetting and Creating a Subnet. Network Layer and Path Determination.
1 Chapter 8 – TCP/IP Fundamentals TCP/IP Protocols IP Addressing.
Networking Fundamentals Network Protocols. Protocol Rule for how networks communicate Each OSI layer handled by one or more protocols Protocol Suites.
Network layer Accepts messages from the application layer Prepares messages for the data link layer Packetising Addressing Routing.
Lecture 4 Overview. Ethernet Data Link Layer protocol Ethernet (IEEE 802.3) is widely used Supported by a variety of physical layer implementations Multi-access.
Chapter 5 IPv4 Address.
CCNA 1 v3.0 Module 9 TCP/IP Protocol Suite and IP Addressing
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
IP addresses IPv4 and IPv6. IP addresses (IP=Internet Protocol) Each computer connected to the Internet must have a unique IP address.
OV Copyright © 2013 Logical Operations, Inc. All rights reserved. TCP/IP Addressing and Data Delivery  The TCP/IP Protocol Suite  IP Addressing.
Linux Operations and Administration Chapter Eight Network Communications.
Telecommunications Essentials John R. Durrett July 5, 2005.
Internet Architecture. 2 INTRODUCTION INTERNET developed by a community of researchers centered around the Defense Advanced Research Projects Agency (DARPA)
Introduction to TCP/IP. Agenda What Is TCP/IP? IP Addressing.
Cisco Confidential © 2013 Cisco and/or its affiliates. All rights reserved. 1 Cisco Networking Training (CCENT/CCT/CCNA R&S) Rick Rowe Ron Giannetti.
CCNA Discovery Semester 3 Addressing in an Enterprise Network Chapter 4 K. Martin.
NETWORKING (2) Dr. Andy Wu BCIS 4630 Fundamentals of IT Security.
TCP/IP Protocol Suite and IP Addressing Presented By : Dupien AMS.
Routing and the IP v4 Address Space BSAD 141 Dave Novak Sources: Network+ Guide to Networks, Dean 2013.
1 Layer 3: Routing & Addressing Honolulu Community College Cisco Academy Training Center Semester 1 Version
Network Layer/IP Protocols 1. Outline IP Datagram (IPv4) NAT Connection less and connection oriented service 2.
Chapter 5 Network and Transport Layers
Network Protocols and Standards
Lecture 3 By Miss Irum Matloob.
Network Layer, and Logical Addresses
A quick intro to networking
Chapter 5 Network and Transport Layers
Scaling the Network: The Internet Protocol
Ken Gunnells, Ph.D. - Networking Paul Crigler - Programming
Net431:advanced net services
IPv4 Addresses A Quick Guide.
IPv4 Addresses A Quick Guide.
Process-to-Process Delivery:
Data Communications and Networking
TCP/IP Internetworking (Part 2)
Scaling the Network: The Internet Protocol
Introduction to Networks
16EC Computer networks unit II Mr.M.Jagadesh
Layering and the TCP/IP protocol Suite
Presentation transcript:

TRANSPORT and NETWORK LAYERS - Part 1 Dr. V.T. Raja Oregon State University

Transport and Network Layers - TCP/IP (Part 1) Chapter Objectives: Understand primary functions of transport and network layers Understand the “big picture” –Five-layer network model

Examples of Transport/Network Layer Protocols Examples: –Two popular transport/network layer protocols –Another example of protocol in a WAN environment that is not popular in North America –Protocol for IBM compatible hardware/software and mainframe environments

Examples of Transport/Network Layer Protocols Examples: –Two popular transport/network layer protocols TCP/IP IPX/SPX –Another example of protocol in a WAN environment that is not popular in North America X.25 –Protocol for IBM compatible hardware/software and mainframe environments SNA APPN

TCP/IP Why TCP/IP? What is the expansion of TCP/IP? What are the major functions of TCP/IP?

TCP/IP Why TCP/IP? –Most widely used protocol on Internet Estimated about 70-80% of LAN, MAN, and backbone networks use TCP/IP –Reliable protocol TCP/IP performs some error detection/error correction functions, although this is not a primary function of the network layer protocol –Compatible with many data link protocols What is the expansion of TCP/IP? –Transmission Control Protocol/Internet Protocol What are the major functions of TCP/IP? –Packetizing, Addressing and Routing

TCP Main functions of TCP: Packetizing –What is Packetizing? At sender At final destination Thought Questions (with regard to the “big picture”): –With what layer(s) does TCP interface in the 5-layer model? –If more than two computers are involved in message transmission, then is TCP involved in all the computers? In how many computers is TCP involved?

Transmission Control Protocol (TCP) Main function of TCP: –Packetizing – What is packetizing? At sender –Break messages into packets –Assign packet numbers At final destination –Check if all packets have arrived –Reassemble packets –Interfacing with two other layers Thought Questions (with regard to the “big picture”): –With what layer(s) does TCP interface in the 5-layer model? –If more than two computers are involved in message transmission, then is TCP involved in all the computers? In how many computers is TCP involved?

TCP (Continued) Some details on TCP header : –TCP header containing 24 bytes (192-bit header) of overhead information is enclosed along with user’s data: Examples of overhead information added: –Source and destination address –Packet sequence number Thought Question (with regard to the “big picture”): –Didn’t the data link layer already have the source and destination address specified in the DLH? Is TCP duplicating this function of DL?

Token Ring and Ethernet Frames Start Frame Destination Source Message End delimiter control address address variable delimiter Token Ring format AccessFrame control check sequence 1 byte4 bytes Ethernet format Destination Source Length Message CRC-32 address address 2 bytes variable 4 bytes 6 bytes

Port Identifiers Source Port IDs refer to software used at application layer of source computer Destination Port IDs refer to software to be used at application layer of final destination computer With TCP/IP, each application layer software has a unique port address/identifier. Every standard application layer software on the Internet has a predefined (default) port number. Thought Questions: –Could network managers choose not to use the default port numbers? –Why would a network manager not want to use a default port number?

Internet Protocol (IP) What are IP’s main functions? –Main functions: Thought Question: –Is IP involved only at sender’s or final destination computers? Or is it involved in all interim computers that take part in the message routing as well?

Internet Protocol (IP) What are IP’s main functions? –Main functions: Addressing Routing Thought Question: –Is IP protocol involved only at sender’s or final destination computers? Or is it involved in all interim computers that take part in the message routing as well? IP is involved not only at source and final destination, but also involved at each of the intervening computers involved in the message transmission.

IP (Continued) Different versions of IP –IPv4 and IPv6 IP creates a IP header –IP header contains (among other overhead information) source and destination address! Network layer (IP) address –Examples? Thought Question (with regard to the “big picture”): –In what order are the different headers from different layers combined with the user data packet? –If DL protocol is Ethernet, and NL protocol is TCP/IP, then what is the maximum packet size for user data? Assume DLH and DLT sizes sum to 26 bytes, TCP header size is 24 bytes, and IP header size is 24 bytes as well. –Sample content in each header?

IPv4 Addressing ICANN Every computer participating on the Internet should use approved network layer (IP) addresses. IP Addresses are approved by ICANN or one of several private companies authorized by ICANN –Internet Corporation for Assigned Names and Numbers – –FAQ on registration of IP addresses –

IPv4 Addressing Dotted Decimal Notation Dotted Decimal Notation Four bytes (8 bits = 1 byte) per address Each byte separated by a dot Each byte expressed in decimal notation Example: –Dotted Decimal Notation: –Binary Notation?: What is the minimum decimal value any byte can be assigned? What is the maximum decimal value any byte can be assigned?

IPv4 Addressing Class Based Address Structure IP Addresses were grouped into classes: –Classes A, B, C, D and E –Classes A, B and C - used for commercial purposes The class of the address - determined by examining the first byte of the address and mapping it to a range of values as follows: –Class A: first byte is in the range 1 – 127 –Class B: first byte is in the range –Class C: first byte is in the range

IPv4 Addressing Network and Host Addresses Each IP address has two parts: –Network Address (assigned/approved by ICANN) –Host Address (assigned by host organization) For a Class A IP address, the first byte is assigned/approved by ICANN –Class A: Network.Host.Host.Host For a Class B IP address, the first two bytes are assigned/approved by ICANN –Class B: Network.Network.Host.Host For a Class C IP address, the first three bytes are assigned/approved by ICANN –Class C: Network.Network.Network.Host Restrictions for Host address: IP address cannot end in 0 or 255

IPv4 Addressing Class Participation Exercise # 1 Class Participation Exercise: 1.If OSU has an IP address whose first byte is 128, what class does this IP address belong to? 2.To which of the four bytes of the IP address can OSU assign values, assuming the first byte has the value 128? 3.a) Assume that ICANN has assigned OSU a group of IP addresses, and that the first two bytes (of each assigned IP address) are In this case, how many IP addresses are available for OSU? b) How many IP addresses are available to OSU, if ICANN assigned OSU a class A IP address? c) How many IP addresses are available to OSU, if ICANN assigned OSU a class C IP address?

IPv4 Addressing (Continued) Subnets Subnets –Part of a network that is logically grouped by IP addresses –Example: Suppose ICANN assigned OSU a set of IP addresses as follows: x.x OSU assigns the host part of the IP address – x; (CS subnet) – x; (BSG subnet) – x; (COB subnets) Can have one subnet for faculty: ____ (faculty subnet) Can have one subnet for IS staff: ____ (IS staff subnet) –Every computer in a TCP/IP network is assigned a subnet mask by the host organization – Why?

IPv4 Addressing Subnet Masks Subnet Mask Applications: –Helps determine if sender and receiver are on same subnet. Why is this important? –Helps determine maximum number of computers per subnet –Helps determine maximum number of subnets possible

Subnet mask application Determining if sender and receiver are on same subnet How to determine if sender and receiver are on the same subnet? Refer to algorithm provided on separate handout Examples: –Are computer A (IP address: ) and computer B (IP address: ) on the same subnet? Do you have sufficient information to answer the above mentioned question? –Class Participation Exercise # 2 (Question # 1)

Subnets (Continued) Partial Subnetting Subnet mask default values Example: Class Participation Exercise # 2 (Question # 2) Partial Subnetting –Subnet masks can also take values other than 0 or 255 Example 1: –Subnet mask: –Sender’s IP: –Receiver’s IP: Example 2: Class Participation Exercise # 2 (Question # 3)

Subnet Mask Applications Subnet mask helps: –Determine if sender and receiver are on same subnet –Determine maximum number of computers per subnet –Determine maximum number of subnets possible Example 1: –Background: Assume OSU is assigned a Class C address, and assume that the network manager at OSU has selected the subnet mask value as: –Question: Find (a) maximum # of computers per subnet and (b) maximum # of subnets possible

Number of Subnets and Number of Computers Per Subnet Class C Addresses Subnet Mask# of Computers per Subnet # of Subnets (3-bit subnetting) (4-bit subnetting) (5-bit subnetting) (CP # 2 - Q4)

Class Participation Exercise # 2 – Question # 5 Background Info: A firm has been assigned a class B address by ICANN. Based on an estimation of future network growth in the firm, the administration plans to have 30 different subnets, and about 2040 computers in each subnet. Question: What subnet mask value should the network manager use in order to satisfy the planning needs (of the administration) as specified above?