1 Lab 3 Transport Layer T.A. Youngjoo Han. 2 Transport Layer  Providing logical communication b/w application processes running on different hosts 

Slides:



Advertisements
Similar presentations
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
Advertisements

CCNA – Network Fundamentals
Intermediate TCP/IP TCP Operation.
Chapter 7: Transport Layer
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Transport Layer Introduction to Networking.
Lecture 7 Transport Layer
SYSTEM ADMINISTRATION Chapter 19
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 4 Installing and Configuring the Dynamic Host Configuration Protocol.
CCNA 1 v3.1 Module 11 Review.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 13: Troubleshoot TCP/IP.
Chapter 8 Administering TCP/IP.
Introduction to Management Information Systems Chapter 5 Data Communications and Internet Technology HTM 304 Fall 07.
Subnetting.
1 CCNA 2 v3.1 Module Intermediate TCP/IP CCNA 2 Module 10.
Communication Protocols III Tenth Meeting. Connections in TCP A wants to send to B. What is the packet next move? A travels through hub and bridge to.
WXES2106 Network Technology Semester /2005 Chapter 8 Intermediate TCP CCNA2: Module 10.
Gursharan Singh Tatla Transport Layer 16-May
TCP/IP Tools Lesson 5. Objectives Skills/ConceptsObjective Domain Description Objective Domain Number Using basic TCP/IP commands Understanding TCP/IP3.6.
Click to edit Master subtitle style Chapter 17: Troubleshooting Tools Instructor:
Network Layer (Part IV). Overview A router is a type of internetworking device that passes data packets between networks based on Layer 3 addresses. A.
1.  A protocol is a set of rules that governs the communications between computers on a network.  Functions of protocols:  Addressing  Data Packet.
Lesson 3 Introduction to Networking Concepts Lesson 3.
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
Module 7: Configuring TCP/IP Addressing and Name Resolution.
Name Resolution Domain Name System.
Guide to TCP/IP, Second Edition1 Guide To TCP/IP, Second Edition Chapter 8 The Dynamic Host Configuration Protocol (DHCP)
Hands-On Microsoft Windows Server 2003 Networking Chapter Three TCP/IP Architecture.
Network Protocols. Why Protocols?  Rules and procedures to govern communication Some for transferring data Some for transferring data Some for route.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 3: TCP/IP Architecture.
Exploring the Packet Delivery Process Chapter
Guide to TCP/IP, Third Edition Chapter 8: The Dynamic Host Configuration Protocol.
1 Semester 2 Module 10 Intermediate TCP/IP Yuda college of business James Chen
Module 12: Routing Fundamentals. Routing Overview Configuring Routing and Remote Access as a Router Quality of Service.
Chapter 15 DHCP. Dynamic Host Configuration Protocol An Application Layer Protocol A client server protocol that automatically provides an IP host with.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
Connecting to a Network Lesson 5. Objectives Understand the OSI Reference Model and its relationship to Windows 7 networking Install and configure networking.
Chapter 6-2 the TCP/IP Layers. The four layers of the TCP/IP model are listed in Table 6-2. The layers are The four layers of the TCP/IP model are listed.
ITEC 370 George Vaughan Franklin University
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 4 Installing and Configuring the Dynamic Host Configuration Protocol.
Application Block Diagram III. SOFTWARE PLATFORM Figure above shows a network protocol stack for a computer that connects to an Ethernet network and.
Guide to TCP/IP, Third Edition Chapter 8: The Dynamic Host Configuration Protocol.
Networking in Linux. ♦ Introduction A computer network is defined as a number of systems that are connected to each other and exchange information across.
Presented by Rebecca Meinhold But How Does the Internet Work?
Networking Basics CCNA 1 Chapter 11.
Networks Part 3: Packet Paths + Wireshark NYU-Poly: HSWP Instructor: Mandy Galante.
© Cengage Learning 2014 How IP Addresses Get Assigned A MAC address is embedded on a network adapter at a factory IP addresses are assigned manually or.
Individual Project 1 Sarah Pritchard. Fran, a customer of your company, would like to visit your company’s website from her home computer… How does your.
Linux Operations and Administration Chapter Eight Network Communications.
ERICSON BRANDON M. BASCUG Alternate - REGIONAL NETWORK ADMINISTRATOR HOW TO TROUBLESHOOT TCP/IP CONNECTIVITY.
1 Objectives Discuss the basics of Dynamic Host Configuration Protocol (DHCP) Describe the components and processes of DHCP Install DHCP in a Windows Server.
COMP2322 Lab 1 Introduction to Wireshark Weichao Li Jan. 22, 2016.
Computer Network Architecture Lecture 6: OSI Model Layers Examples 1 20/12/2012.
(ITI310) By Eng. BASSEM ALSAID SESSIONS 9: Dynamic Host Configuration Protocol (DHCP)
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Introduction to Networking Technologies Dynamic Host Configuration Protocol (DHCP)
ITMT Windows 7 Configuration Chapter 5 – Connecting to a Network ITMT 1371 – Windows 7 Configuration 1.
COMP2322 Lab 6 TCP Steven Lee April 1, TCP Transmission Control Protocol Transport layer protocol User Datagram Protocol (UDP) is another one 2.
Windows Server 2003 { First Steps and Administration} Benedikt Riedel MCSE + Messaging
Application Layer Functionality and Protocols Abdul Hadi Alaidi
Click to edit Master subtitle style
Networks Problem Set 3 Due Nov 10 Bonus Date Nov 9
Lab 2: Packet Capture & Traffic Analysis with Wireshark
COMP2322 Lab 6 TCP Steven Lee Mar 29, 2017.
Module 8: Networking Services
Networks Problem Set 3 Due Oct 29 Bonus Date Oct 26
BOOTP and DHCP Objectives
Chapter 9 Objectives Understand TCP/IP Protocol.
By - Ricardo Sanchez, Ken Wolters and William Hibbard
Presentation transcript:

1 Lab 3 Transport Layer T.A. Youngjoo Han

2 Transport Layer  Providing logical communication b/w application processes running on different hosts  Transport Layer Protocol  TCP  UDP

3 Objectives  Understanding role of transport layer  How to utilize toolkits to identify the TCP operation and performance measurement of underlying networks

4 Preparation for LAB 3  Wireshark is a network protocol analyzer for UNIX and Windows. We use this tool in this LAB 3  Before installing Wireshark, we must install WinPcap. WinPcap is a library for capturing packets and loock network status. WinPcap can be downloaded from the following site.  We also can download Wireshark from  We also can download Wireshark User’s guide on

5 Starting Wireshark (1)

6 Starting Wireshark (2)  Identifying TCP operation with Wireshark  After starting Wireshark, you can find a button which is in above red box. Click the button.

7 Starting Wireshark (3) Wireshark Capture Options You don’t need to select Interface here. You can select Interface when running packet capture. See p10 of this ppt “Promiscuous” means that receiving all the packet in all network related on this computer Pcap-ng format is “PCAP Next Generation Dump File Format”. But we don’t deal with dump file in this lab.

8 Starting Wireshark (4)  Update list of packets in real time  This option allows you to specify that Wireshark should update the packet list in real time. If you do not specify this, Wireshark does not display any packets until you stop the capture  Automatic scrolling in live capture  This option allows you to specify that Wireshare should scroll the packet list as new packets come in, so you are always looking at the last packet  Hide capture info dialog  If this option is checked, the capture info dialog will be hidden  Enable MAC name resolution  This option allows you to control whether or not Wireshark translates MAC address into names  Enable network name resolution  This option allows you to control whether or not Wireshark translates network address into names  Enable transport name resolution  This option allows you to control whether or not Wireshark translates transport address into names Wireshark Capture Options (Cont.)

9 Starting Wireshark (5)  Complete the following configuration as shown for this lab. Check “Enable MAC name resolution” and “Enable transport name resolution”

10 Starting Wireshark (6) Click the start button where finding packets increasing Click the button to run

11 Starting Wireshark (7)  After configuration, we can see the results. No. The number of the packet in the capture file. Time The timestamp of the packet. Source The address where this packet is coming from. Destination The address where this packet is going to. Protocol The protocol name in a short version. Info Additional information about the packet content You can see the current packet in a more detailed form You can see the data of the current packet in a hexdump style

12 TCP MEASURE USING APPLICATION

13 Lab 3 – Prerequisite (1)  Let’s measure packets between and your computer  Prerequisite step for Lab 3 I. Start Wireshark II. Run to capture packets in Wireshark III. Visit IV. Download installer_r16-windows.exe V. After finishing download, stop running VI. You can see the result VII. Then, enter “tcp” on Filter box in Wireshark like VIII. Finally, you can see the result with only tcp like the figure in next page

14 Lab 3 – Prerequisite (2)

15 HOW TO TCP WORKS *figures in following pages are based on the figure in previous page, Lab 3 – Prerequisite (2) * is our homepage server * is TA’s computer

16 Lab 3-1 Understanding TCP Three-way Handshaking (1) How to check TCP Three-way Handshaking?  TCP connections are established with a set of three messages called the three- way handshaking. This is for reliable and connection-oriented communication between server and client. Three-way handshaking follows these steps  First, client sends SYN packet to server. This segment requests the establishment of the connection.  Second, server sends SYN packet and ACK packet to client. ACK packet is for notifying well-receiving of packet that client sends.  Third, client sends ACK packet to server. Then, three-way handshaking ends

17 Operation of TCP Three-way Handshaking SEQ:0, ACK:- SEQ:0, ACK:1 SEQ:1, ACK:1 A : B : SYN SYN+ACK ACK

18 Lab 3-2 TCP Data Transmission (2) Data Transmission PDU is Protocol Data Unit. [TCP segment of a reassembled PDU] means that divided data of one unit is transferred. This is because original one unit is too big to transfer with one packet. We can also see sends acknowledge to notify well-receiving

19 Lab 3-3 TCP Closing the connection (1) (3) Closing the connection  Steps for closing TCP connection are like following.  First, client sends FIN packets to server to notifying close of connection. Then, server sends ACK packets.  Second, server sends FIN packets to client to notifying close of connection. Then, client sends ACK packets.

20 Operation of TCP Closing the connection SEQ:222, ACK:- SEQ:244, ACK:223 SEQ:223, ACK:245 A : B : FIN ACK SEQ:244, ACK:223 FIN

21 LAB 3 ASSIGNMENT

22 Lab Assignment) IP address, server identification (1)  Let’s obtain an IP address for our machine. Our machine is running Windows and we will open up command prompt. We will start a Wireshark trace and then issued the following commands to command prompt.  DHCP: DHCP (Dynamic Host Configuration Protocol) is a network configuration protocol for hosts on IP networks. Computers that are connected to IP networks must be configured before they can communicate with other hosts. The most essential information needed is an IP address, and a default route and routing prefix. DHCP eliminates the manual task by a network administrator. It also provides a central database of devices that are connected to the network and eliminates duplicate resource assignments.  Operations of DHCP: DHCP discovery  DHCP offer  DHCP request  DHCP ACK

23 Lab Assignment) IP address, server identification(2)  Ipconfig /release  ipconfig /renew  ipconfig /renew  ipconfig /release  Ipconfig /release is used to cut the connection with devices currently connected.  IPconfig /renew is used to renew the address.

24 Lab Assignment) IP address, server identification (3)  Packet 1817 is used to release the machine’s current IP address, Notice that packet 1817 lists as the source IP address. After it is released, the machine has no valid IP address and uses the address as the source address in packet 1852.

25 Lab Assignment) IP address, server identification(4)  we input ipconfig /renew twice.  DHCP Discovery: Especially, let’s look at packet Packet 1852 is a DHCP Discovery message, and it is used by machines without an IP address to request one. It is sent to the special broadcast address, This address will reach all connected hosts within a limited broadcast range. Logically, means broadcast the entire Internet, but this is never literally the case because routers will not forward such a broadcast beyond the local network to avoid swamping the Internet with such requests.  DHCP Offer: DHCP server received DHCP Discovery message sends DHCP Offer message to client. Here, also DHCP uses broadcast.  DHCP request: Client selects the first arrived message from server’s DHCP offer message, then, broadcasts all DHCP servers.  DHCP ACK: DHCP server received DHCP Request sends ACK to client. If client receives this ACK well, TCP/IP becomes initiated and client is recognized as binding DHCP client.

26 Lab Assignment) IP address, server identification(5)  We commanded ipconfig /release finally. So, we can see like following picture.

27 Lab 3 Assignment  Please follow things from p22 to p26 in this ppt  Submit the result as report form  Report must contain all contents in slides from p22 to p26 and related screen shot  Also, you should write necessary explanation in your report  Due is up to 00:00, Sep. 22, 2012