Chapter 5 - TCP/IP Discussion Related to Essay Question on Final Dr. V.T. Raja Oregon State University.

Slides:



Advertisements
Similar presentations
A Complete End-to-End View. Laptop Wifi AP BERKELEY DHCP Server/ Gateway Router DNS Server ( ) AT&T GOOGLE.
Advertisements

IST 201 Chapter 9. TCP/IP Model Application Transport Internet Network Access.
Network Services Networking for Home & Small Business.
ECE 4110 – Internetwork Programming TCP/IP Protocol (cont’d)
Network Layer and Transport Layer.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
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 – Big Picture Dr. V.T. Raja Oregon State University.
BA 471 – Telecommunications and Networking Dr. V.T. Raja Oregon State University
TRANSPORT and NETWORK LAYERS - Part 1 Dr. V.T. Raja Oregon State University.
BA 471 – Telecommunications and Networking Dr. V.T. Raja Oregon State University
Introduction To Networking
1 Review of Important Networking Concepts Introductory material. This module uses the example from the previous module to review important networking concepts:
Understanding Networks. Objectives Compare client and network operating systems Learn about local area network technologies, including Ethernet, Token.
Chapter 5 - TRANSPORT and NETWORK LAYERS - Part 2 - Static and Dynamic Addressing Address Resolution Dr. V.T. Raja Oregon State University.
BA Telecommunications and Networking Dr. V.T. Raja Oregon State University
FIREWALLS & NETWORK SECURITY with Intrusion Detection and VPNs, 2 nd ed. 6 Packet Filtering By Whitman, Mattord, & Austin© 2008 Course Technology.
TCP/IP Discussion Related to Essay Question on Final Dr. V.T. Raja Oregon State University.
Network Layer4-1 Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving side,
Network Layer4-1 Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving side,
Understanding Networks Charles Zangla. Network Models Before I can explain how connections are made from across the country, I would like to provide you.
1 Review of Important Networking Concepts Introductory material. This slide uses the example from the previous module to review important networking concepts:
Lecture 8 Modeling & Simulation of Communication Networks.
Data Communications and Networks
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Addressing Networking for Home and Small Businesses – Chapter 5.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Midterm Review - Network Layers. Computer 1Computer 2 2.
Syllabus outcomes Describes and applies problem-solving processes when creating solutions Designs, produces and evaluates appropriate solutions.
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Network Services Networking for Home and Small Businesses – Chapter.
Cisco 1 - Networking Basics Perrine. J Page 19/17/2015 Chapter 9 What transport layer protocol does TFTP use? 1.TCP 2.IP 3.UDP 4.CFTP.
Examining TCP/IP.
Network Services Networking for Home & Small Business.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Services Networking for Home and Small Businesses – Chapter 6.
Routers and Routing Basics CCNA 2 Chapter 10.
CS1Q Computer Systems Lecture 17 Simon Gay. Lecture 17CS1Q Computer Systems - Simon Gay2 The Layered Model of Networks It is useful to think of networks.
Network Protocols A network protocol defines the structure of messages sent over the network We will only talk about the Internet Network protocols need.
Exam 1 Review Slides INFS 4900/5900 Section 2 (Tuesday/Thursday) Fall 2015.
Information Flow Across the Internet. What is the Internet? A large group of computers that link together to form the Worldwide Area Network (WAN)
1 CS 4396 Computer Networks Lab TCP/IP Networking An Example.
Application Block Diagram III. SOFTWARE PLATFORM Figure above shows a network protocol stack for a computer that connects to an Ethernet network and.
BA 471 – Telecommunications and Networking Dr. V.T. Raja Oregon State University As presented in Dr. Marshall’s BA471 class, Winter.
TCP/IP (Transmission Control Protocol / Internet Protocol)
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Linux Operations and Administration Chapter Eight Network Communications.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
How Information Flows via the Internet By: Lee Farrell.
End-host IP: MAC: 11:11:11:11:11 gateway IP: MAC: 22:22:22:22:22 Google server IP: interne t interface DNS server IP:
IP - Internet Protocol No. 1  Seattle Pacific University IP: The Internet Protocol Kevin Bolding Electrical Engineering Seattle Pacific University.
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
Chapter 5 Network and Transport Layers
A quick intro to networking
Layered Architectures
Chapter 6 – Routing.
Networking for Home and Small Businesses – Chapter 6
Network Architecture Introductory material
Ken Gunnells, Ph.D. - Networking Paul Crigler - Programming
TCP/IP Networking An Example
Lec 5 Layers Computer Networks Al-Mustansiryah University
Networking for Home and Small Businesses – Chapter 6
Review of Important Networking Concepts
Chapter 6 The Data Link layer
TCP/IP Networking An Example
Week 5: Network Protocols Part 1
Networking for Home and Small Businesses – Chapter 6
Protocol Application TCP/IP Layer Model
INFORMATION FLOW ACROSS THE INTERNET
Computer Networks Protocols
Presentation transcript:

Chapter 5 - TCP/IP Discussion Related to Essay Question on Final Dr. V.T. Raja Oregon State University

Minimum Information Needed by a Computer in a TCP/IP Network The computer’s IP address The minimum information needed is either provided by DHCP Server or is obtained from the computer’s configuration file A subnet mask address With smask, the computer can determine which IP addresses are part of its subnet IP address of DNS Server DNS can help translate between AL addresses and IP addresses IP address of Router/Gateway that connects the computer outside its subnet (for static routing) If dynamic routing is used, then appropriate routing software/ access to routing tables would be needed

Example for Essay Question Example: Assume the following: All computers have been provided minimum info specified in the previous slide Client A requests a web page from Web Server D. Client A is connected to Router R, which is connected to Server D. TCP/IP are the transport and network layer protocols, and Ethernet is the data link layer protocol.

Example (Continued) Client A knows IP address of Server D, and also AL address of D ( This implies that client A has already requested IP of D from DNS in the past, and now client A has the IP of D in its address table. Assume A and D know the DL address of R, and that R knows DL addresses of A and D. This implies that both A and D have already issued ARP messages to determine DL of R in the past, and now have the DL address of R in their respective address tables. Similarly, R has the DL address of A and D in its address tables.

Example for Essay Question (Continued) IP of A is ; Subnet mask of A is IP of R is ; IP of D is ; Assume NIC address of A is 00-A0-B0-C0-A4-54-6A; NIC address of R is 00-E0-B0-C0-E4-45-6E; NIC address of D is 00-D0-B0-C0-D4-75-7D Assume there are no errors in transmission Question: Describe the data flow (across the different layers in the 5-layer model) for the web request made by Client A to Web Server D.

Description of Data Flow At Client A User interfaces with Web browser of Client A, and types Application Layer Formats user’s request in HTML/ HTTP format, and Passes the formatted packet to protocol operating at transport layer TCP is protocol operating at at TL Transport Layer Packetizing is major function performed by TCP Frame size is primarily determined by DL layer; In this example, Ethernet would allow less than 1500 bytes (1492 bytes) per frame TCP creates a TCP Header

Description of Data Flow At Client A Transport Layer (Continued) Sample Contents of TCP Header: Source/Destination Port Address (default (80)) to identify software used at source and to be used at destination Packet number (to enable reassembling at destination) TCP passes [TCP|HTTP|User Data] to NL (IP protocol) of Client A.

Description of Data Flow (Continued) At Client A Network Layer: Major functions of IP are Addressing and Routing. Addressing: IP determines IP address of destination. The destination in this example is D. (This is based on the objective - client A is sending a web page request to Web Server D). Based on the assumptions stated in the third slide, IP of D is determined by a table lookup at Client A. Addressing (Continued) IP determines DL address of next computer enroute (R in this example) Based on the assumptions stated in the third slide, DL address of R is determined by a table look up at Client A. IP passes info about DL address of R to DL layer of client A.

Description of Data Flow (Continued) At Client A Routing: Using smask, and smask algorithm, IP determines if next computer enroute is on the same subnet as A or not. In this example, Client A concludes that R is not on its subnet. IP then interfaces with routing protocol, and then determines what type of routing to use. (In this example, IP would conclude that next computer on the route is R). IP creates an IP Header. Sample contents of IP Header: Routing info is provided Source IP Address is specified as: Destination IP Address is specified as:

Description of Data Flow (Continued) At Client A IP passes [IP|TCP|HTTP|User Data] to DL layer of ClientA. Data Link Layer: Major functions of DL Layer are: MAC, Message Delineation, and Error Detection/Error Correction DL Layer creates DL Header (DLH) and DL Trailer (DLT). The DLH and DLT delineate each frame received from IP, contain info about how to perform MAC, and how to perform error detection/error correction. Parity bits would be added depending on error detection technique.

Description of Data Flow (Continued) At Client A DLH contains: Source DL address (00-A0-B0-C0-A A) and Destination DL address (00-E0-B0-C0-E E). DL passes [DLH|IP|TCP|HTTP|User Data|DLT] to DL layer of R via physical layer; Physical layer passes packets to DL layer of R, and performs MAC as advised by DL layer of client A.

Description of Data Flow (Continued) At R Ethernet performs error detection (i.e., validates CRC-32), based on info provided in DLH/DLT packets obtained from Client A. Ethernet performs error correction (Stop-and-Wait- ARQ); Since there are no errors in transmission, R sends ACK for each packet it receives from A. After sending ACK, DL removes DLH and DLT; passes [IP|TCP|HTTP|User Data] to NL layer of R.

Description of Data Flow (Continued) At R Network Layer of R: IP looks at destination IP ( ) specified in IP header Compares destination IP with its own IP ( ) Concludes that it needs to re-route packet(s). Since destination has not been reached, IP does not invoke TCP.

Description of Data Flow (Continued) At R IP modifies routing info and creates modified IP header that reflects this change. IP determines and passes NIC address of next hop device (D) to DLL of R. IP passes [Modified-IP|TCP| HTTP| UserData] to R’s DLL.

Description of Data Flow (Continued) At R Data Link Layer creates new DL Header and Trailer, which delineate each frame received from IP. Sample contents of DLH/DLT include: Source DL address (00-E0-B0-C0-E4-45-6E) Destination DL address (00-D0-B0-C0-D4-75-7D) MAC specified (i.e., CSMA/CD) CRC-32 bit value that would help D detect transmission errors Info on how D should perform EC (i.e., Stop-and-wait ARQ) MD info (i.e., length of frame is specified in header) DL passes [New DLH|Modified IP|TCP|HTTP|User Data| NewDLT] to DL layer of R via physical layer.

Description of Data Flow (Continued) At D Physical layer follows MAC as per CSMA/CD rules while passing packets to DL layer of D. DL layer performs error detection (e.g., CRC-32), based on info provided in ‘New DLH/DLT’ obtained from R. DL layer performs error correction/ ACK/NAK (e.g., Stop- and-Wait-ARQ), based on info provided in ‘New DLH/DLT’ obtained from R. After sending ACK, DL removes ‘New DLH/DLT’, and passes [IP|TCP|HTTP|User Data] to NL layer of D.

Description of Data Flow (Continued) At D Network Layer of D: IP looks at destination IP ( ) specified in ‘modified IP header’ Compares destination IP with its own ( ) IP Concludes that final destination (D) has been reached IP removes ‘modified IP header’ Passes [TCP|HTTP|User Data] to D’s TL

Description of Data Flow (Continued) At D Transport Layer: TCP reassembles packets based on packet # specified in TCP Header. In this example, there is no necessity for this due to the short size of message. TCP looks at destination port address (80), and invokes the correct web application software in D TCP removes TCP header Passes [HTTP|User Data] to Application Layer of D

Description of Data Flow (Continued) At D Application Layer: Application layer removes HTTP Header and presents user data in expected user- friendly format (Now the Web Server will have to pass its web page to Client A via R!!)