Chapter 5 - Transport and Network Layers TCP/IP (Part 1) Dr. V.T. Raja Oregon State University Chapter Objectives: Understand primary functions of transport.

Slides:



Advertisements
Similar presentations
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
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 : =
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—1-1 Building a Simple Network Understanding the TCP/IP Internet Layer.
Chapter 18. IP: Internet Protocol Addresses
1 IP: Internet Protocol Addresses. 2 Internet Protocol (IP) Only protocol at Layer 3 Fundamental in suite Defines –Internet addressing –Internet packet.
IP Suite© Dr. Ayman Abdel-Hamid, CS4254 Spring CS4254 Computer Network Architecture and Programming Dr. Ayman A. Abdel-Hamid Computer Science Department.
Module 10: Routing Fundamentals and Subnets Small Router Purchase Subnetting Example a Basic Subnetting b Subnetting a Class A Network.
Chapter 5 - TCP/IP Discussion Related to Essay Question on Final Dr. V.T. Raja Oregon State University.
Chapter 14 TCP/IP and Routing Part #1 Unix System Administration.
Chapter 5 – Big Picture Dr. V.T. Raja Oregon State University.
TRANSPORT and NETWORK LAYERS - Part 1 Dr. V.T. Raja Oregon State University.
Chapter 2 Internet Protocol DoD Model Four layers: – Process/Application layer – Host-to-Host layer – Internet layer – Network Access layer.
7/3/2015 Unit-3 : Network Layer 1 CS 1302 Computer Networks — Unit - 3 — — Network Layer — Text Book Behrouz.A. Forouzan, “Data communication and Networking”,
TCP/IP Discussion Related to Essay Question on Final Dr. V.T. Raja Oregon State University.
Copyright 2003 CCNA 1 Chapter 7 TCP/IP Protocol Suite and IP Addressing By Your Name.
Chapter Overview TCP/IP Protocols IP Addressing.
1 Chapter Overview Subnet. What is a subnet When you break a network into a few smaller networks, you have created several subnets Like IP address where.
IP Addressing Basics LAB 8.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
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.
IP-adresses and subnet masks. Figure 19.9 Dotted-decimal notation.
Spring Ch 18 IP Addresses. 2 Internet Protocol  Only protocol at Layer 3  Defines Internet addressing Internet packet format Internet routing.
1 TCP/IP introduction ผศ. ดร. อนันต์ ผลเพิ่ม Anan Phonphoem, Ph.D. Computer Engineering Department Kasetsart.
IP Addressing Basics LAB 8.
INTRODUCTION TO IP ADDRESS Ravi Chandra Gurung. IP ADDRESSES.
Network Redundancy Multiple paths may exist between systems. Redundancy is not a requirement of a packet switching network. Redundancy was part of the.
Business Data Communications, by Allen Dooley, (c) 2005 Pearson Prentice HallChapter Five 1 Business Data Communications Chapter Five Network, Transport,
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.
11 NETWORK LAYER PROTOCOLS Chapter 5 IP IPX NetBEUI AppleTalk.
CSE5803 Advanced Internet Protocols and Applications (2) Universal Identifier In general, addressing in a network is closely linked with the issue.
Internet Protocol Internetworking Lab 1. Why Internet?
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.
Lesson 2 – IP Addressing IP Address (IPv4 – Version 4) Private and Public Address Brief Introduction to IPv6 – Version 6.
Network layer Accepts messages from the application layer Prepares messages for the data link layer Packetising Addressing Routing.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.1 Module 9 TCP/IP Protocol Suite and IP Addressing.
Chapter 5 IPv4 Address.
IP addresses IPv4 and IPv6. IP addresses (IP=Internet Protocol) Each computer connected to the Internet must have a unique IP address.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Network Layer PART IV.
1 Network Principles FdSc Computing Technologies TCP-IP – Addressing & Sub-Netting Carl Smith – 2004 (Revised 2013)
1 DETAILS OF PROTOCOLS The Zoo Protocol - TCP - IP.
Cisco Confidential © 2013 Cisco and/or its affiliates. All rights reserved. 1 Cisco Networking Training (CCENT/CCT/CCNA R&S) Rick Rowe Ron Giannetti.
TCP/IP Protocol Suite and IP Addressing Presented By : Dupien AMS.
Introduction to Internetworking. 2 The IP Addressing Scheme (IPv4) (psu.edu) Dotted Decimal Notation: A notation more convenient for humans.
1 Layer 3: Routing & Addressing Honolulu Community College Cisco Academy Training Center Semester 1 Version
COMPUTER NETWORKS CS610 Lecture-25 Hammad Khalid Khan.
Internet Architecture
Chapter 5 Network and Transport Layers
Internet technologies
PART IV Network Layer.
IPV4.
CS4470 Computer Networking Protocols
Objective: Classful Internet Addressing
Chapter 5 Working with IP Addresses
IPv4 Addresses A Quick Guide.
IPv4 Addresses A Quick Guide.
Data Communications and Networking
TCP/IP Internetworking (Part 2)
INTERNET PROTOCOL Presented by: Md:Faruque-A-Azam ID:1642CSE00570 Batch:42 CSE,MIU.
Delivering the Data.
Introduction to Networks
16EC Computer networks unit II Mr.M.Jagadesh
Layering and the TCP/IP protocol Suite
Presentation transcript:

Chapter 5 - Transport and Network Layers TCP/IP (Part 1) Dr. V.T. Raja Oregon State University 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 –Example of transport/network layer protocol not used much in North America –Protocol for IBM compatible hardware/software and mainframe environments Why TCP/IP? What is the expansion of TCP/IP? What are the major functions of TCP/IP?

TCP Main functions of TCP: Packetizing –What is packetizing? At sender At final destination

TCP 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?

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.

Port Identifiers 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?

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?

IP (Continued) Thought Question (with regard to the “big picture”): –In what order are the different headers 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 (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:

Subnet mask applications (Continued) 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 (Continued) 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?