COMP2322 Lab 5 IP Steven Lee March 18, 2016. 2 IP Internet Protocol Network layer protocol 3.

Slides:



Advertisements
Similar presentations
COEN 445 Lab 7 Wireshark Lab: IP Claude Fachkha.
Advertisements

1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
Computer Networks21-1 Chapter 21. Network Layer: Address Mapping, Error Reporting, and Multicasting 21.1 Address Mapping 21.2 ICMP 21.3 IGMP 21.4 ICMPv6.
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
Precept 3 Host Configuration 1 Peng Sun. What TCP conn. running? Commands netstat [-n] [-p] [-c] (Linux) lsof -i -P (Mac) ss (newer version of netstat)
CSCI 4550/8556 Computer Networks Comer, Chapter 23: An Error Reporting Mechanism (ICMP)
SYSTEM ADMINISTRATION Chapter 19
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
CPSC 441 Tutorial - Network Tools 1 Network Tools CPSC 441 – Computer Communications Tutorial.
CSEE W4140 Networking Laboratory Lecture 3: IP Forwarding and ICMP Jong Yul Kim
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Internet Control Message Protocol (ICMP) Shivkumar Kalyanaraman Rensselaer Polytechnic Institute.
ICMP: Ping and Trace CCNA 1 version 3.0 Rick Graziani Spring 2005.
CISCO NETWORKING ACADEMY Chabot College ELEC ping & traceroute.
Ping and traceroute Lab/Homework exercise Assigned 9/12/2006 Due 9/19/2006 CSIT 220 Fall, 2006 Based on T. Blum Exercises.
1 ICMP – Using Ping and Trace CCNA Semester
TCP/IP Tools Lesson 5. Objectives Skills/ConceptsObjective Domain Description Objective Domain Number Using basic TCP/IP commands Understanding TCP/IP3.6.
1 ICMP : Internet Control Message Protocol Computer Network System Sirak Kaewjamnong.
Connecting Networks © 2004 Cisco Systems, Inc. All rights reserved. Defining the IP Packet Delivery Process INTRO v2.0—4-1.
CCNA Introduction to Networking 5.0 Rick Graziani Cabrillo College
CS 6401 Internet Protocol Outline Introduction to Internet Protocol Header and address formats ICMP Tools.
Module 4 – Learning about other Devices Testing network connections.
Petrozavodsk State University, Alex Moschevikin, 2003NET TECHNOLOGIES Internet Control Message Protocol ICMP author -- J. Postel, September The purpose.
Guide to TCP/IP, Third Edition
ARP Scenarios CIS 81 and CST 311 Rick Graziani Fall 2005.
Exploring the Packet Delivery Process Chapter
Network Tools TCP/IP interface configuration query - MAC (HW) address and IP address – Linux - /sbin/ifconfig – MS Windows – ipconfig/all 1.
Examining TCP/IP.
資 管 Lee Lesson 5 IP Packets: Delivery and Routing IP Layer operation.
CDPA 網管訓練 駭客任務 2 Ethernet Switching ARP, IP, LAN, Subnet IP Header, Routing ICMP
Company LOGO IPv6, ICMP, DNS. Computer Engineering Department IPv4.
Guide to TCP/IP, Second Edition1 Guide To TCP/IP, Second Edition Chapter 4 Internet Control Message Protocol (ICMP)
Chapter 81 Internet Protocol (IP) Our greatest glory is not in never failing, but in rising up every time we fail. - Ralph Waldo Emerson.
1 Internet Control Message Protocol (ICMP) Used to send error and control messages. It is a necessary part of the TCP/IP suite. It is above the IP module.
Internet Protocols. Address Resolution IP Addresses are not recognized by hardware. If we know the IP address of a host, how do we find out the hardware.
Chapter 23 Internet Control Message Protocol used to report information and errors IP uses ICMP when it sends an error message ICMP uses IP to transport.
1 An Error Reporting Mechanism (ICMP). 2 IP Semantics IP is best-effort Datagrams can be –Lost –Delayed –Duplicated –Delivered out of order –Corrupted.
1 Chapter 23 Internetworking Part 3 (Control Messages, Error Handling, ICMP)
1 Requirements for Internet Routers (Gateways) and Hosts Relates to Lab 3. (Supplement) Covers the compliance requirements of Internet routers and hosts.
ICMPv6 Error Message Types Informational Message Types.
Linux Operations and Administration Chapter Eight Network Communications.
LSNDI RMRA 1 Design and troubleshooting M Clements.
1 Internetworking Outline Best Effort Service Model Global Addressing Scheme.
Chapter 5e.  Upon completion of this chapter, you should be able to:  Find IP configuration settings on Windows & Linux  Troubleshoot IP configuration.
1 Chapter 23 Internetworking Part 3 (Control Messages, Error Handling, ICMP)
Ping and Traceroute by Aleisa A. Drivere Supervisor Graciela Perera.
Lecture#6:Connectivity Verification
Connectivity Verification
COMP2322 Lab 5 IP Steven Lee March 22, 2017.
Ping and traceroute.
Network Tools and Utilities
Module 4 – Learning about other Devices
ICMP ICMP = Internet Control Message Protocol Layer 3
COMPUTER NETWORKS CS610 Lecture-33 Hammad Khalid Khan.
8 Network Layer Part V Computer Networks Tutun Juhana
ICMP – Using Ping and Trace
Part1: Ipconfig ping command Tracert command Getmac command
Troubleshooting IP Communications
Lecture#7:Connectivity Verification
NETWORK TROUBLESHOOTING COMMANDS
Internet Control Message Protocol (ICMP)
IP Forwarding Relates to Lab 3.
ICMP – Using Ping and Trace
Internet Control Message Protocol (ICMP)
Internet Control Message Protocol (ICMP)
ITL Simple Diagnostic Tools
Lecture#6:Connectivity Verification
Review of Internet Protocols Network Layer
32 bit destination IP address
Exercise 10 Toking Ring MTU=4464 Ethernet MTU=1500 FDDI MTU=4352 H1 H2
Presentation transcript:

COMP2322 Lab 5 IP Steven Lee March 18, 2016

2

IP Internet Protocol Network layer protocol 3

Traceroute A network diagnostic tool for displaying the route (path) and packet delays across an IP network Named “tracert” on Windows Named “traceroute” on Mac OS 4

Practice 1 Start capturing packets On Windows, input command “tracert ” On Mac OS, input command “traceroute ” Stop capturing packets Enter “icmp” into the display filter to show only icmp packets 5

Practice 1 Question 1 (8 marks) a)How many unique IP addresses do the ICMP echo reply packets (“reply packets”) come from? b)How does the time to live (TTL) change for each subsequent set of request packets? c)Why are all reply packets, except those of the last set, being ICMP TTL-exceeded messages? d)How does traceroute trace the path to a certain host? 6

Practice 2 Start capturing packets On Windows, input command “ping -n 1 -l On Mac OS, input command “ping -c 1 -s Stop capturing packets To display IP packet fragments Right-click on any IP layer → Protocol Preferences → Uncheck Reassemble fragmented IPv4 datagrams Use “ip.addr== ” as the display filter 7

Practice 2 Question 2 (12 marks) a)How many IP datagrams is the ICMP echo request packet fragmented into? Look at the first fragment. b)What information in the IP header indicates that it is fragmented? c)What information in the IP header indicates that it is the first fragment? d)How long is this fragment? Look at the second fragment. e)What information in the IP header of the second fragment indicates that it is not the first fragment? f)Are there more fragments? How can you tell? 8

Practice 3 To check the current MTU: On Windows, input command “netsh interface ipv4 show subinterfaces” On Mac OS, input command “networksetup -getMTU en0” Question 3 (2 marks) What is the current MTU? 9

Practice 4 To check the routing table, input command “netstat -rn” Question 4 (4 marks) a.Which entry in the routing table matches an IP packet with a destination address of ? b.There are multiple entries in the routing table which match an IP packet with a destination address of , which of them will actually be used to forward the packet? 10