Chapter 5: Trouble shooting of a network

Similar documents
Lab 6.7.1: Ping and Traceroute

Homework 2 TCP/IP Network Monitoring and Management

Homework 2: Lab Activity TCP/IP Network Monitoring and Management

Homework #2. Objective: GRADE A. Equipment List: Procedure/Data: Activity 1A. Emmanuel A. Ellis Web Systems 9/7/2017

ICS 451: Today's plan

General Network Troubleshooting

Procedure Note: The research steps for this lab are not included in this procedure.

Experiment No: Group B_4

TCP/IP Diagnostic Utilities on Windows 2008 Server

Troubleshooting Tools

CS 457 Lecture 11 More IP Networking. Fall 2011

1/18/13. Network+ Guide to Networks 5 th Edition. Objectives. Chapter 10 In-Depth TCP/IP Networking

Troubleshooting Your Network

CTS2134 Introduction to Networking. Module : Troubleshooting

LAB MANUAL COMPUTER NETWORK SYSTEMS. Department of Information and Computer Science. College of Computer Science and Engineering

Table of Contents 1 System Maintaining and Debugging Commands 1-1

Table of Contents 1 System Maintenance and Debugging Commands 1-1

Configuring Routes on the ACE

Network+ Guide to Networks 6 th Edition. Chapter 9 In-Depth TCP/IP Networking

Network+ Guide to Networks 5 th Edition. Chapter 10 In-Depth TCP/IP Networking

Aisyatul Karima Jarkom Lanjut - Week 3 LOGO.

CLARK COLLINS ITC 250 LABORATORY REPORT HW 2

Last time. Network layer. Introduction. Virtual circuit vs. datagram details. IP: the Internet Protocol. forwarding vs. routing

ITS332 Quiz 1 Answers

NOTES ABOUT COMMANDS. ATTRIB.exe

Lab Troubleshooting Using traceroute Instructor Version 2500

Ping, tracert and system debugging commands

ICS 351: Networking Protocols

Dynamic Host Configuration

AT&T Digital Subscriber Line Service

Table of Contents 1 System Maintaining and Debugging 1-1

LAB THREE STATIC ROUTING

Network Access Layer Internet Layer Transport Layer Application Layer. Presentation. Transport. Physical

H

Configuring IP Services

Communication Networks ( ) / Fall 2013 The Blavatnik School of Computer Science, Tel-Aviv University. Allon Wagner

Outline. SC/CSE 3213 Winter Sebastian Magierowski York University. ICMP ARP DHCP NAT (not a control protocol) L9: Control Protocols

Cisco Exam Cisco Certified Network Associate (CCNA) Version: 14.7 [ Total Questions: 653 ]

To see how ARP (Address Resolution Protocol) works. ARP is an essential glue protocol that is used to join Ethernet and IP.

Dynamic Host Configuration DHCP. DHCP Process Flow. Overview. DHCP Process Flow, cont. DHCP Process Flow, cont.

Internetworking/Internetteknik, Examination 2G1305 Date: August 18 th 2004 at 9:00 13:00 SOLUTIONS

COMP2330 Data Communications and Networking

Network Layer. The Network Layer. Contents Connection-Oriented and Connectionless Service. Recall:

Network Layer. Recall: The network layer is responsible for the routing of packets The network layer is responsible for congestion control

IP - The Internet Protocol. Based on the slides of Dr. Jorg Liebeherr, University of Virginia

Chapter 4: outline. 4.5 routing algorithms link state distance vector hierarchical routing. 4.6 routing in the Internet RIP OSPF BGP

Contents. Ping, tracert, and system debugging commands 1 debugging 1 display debugging 2 ping 2 ping ipv6 5 tracert 7 tracert ipv6 9

Lecture 8. Basic Internetworking (IP) Outline. Basic Internetworking (IP) Basic Internetworking (IP) Service Model

Introduction to Internetworking

Lecture 8. Reminder: Homework 3, Programming Project 2 due on Thursday. Questions? Tuesday, September 20 CS 475 Networks - Lecture 8 1

Computer Networks A Simple Network Analyzer Decoding Ethernet and IP headers

CompTIA Network+ Lab Series Network Concepts. Lab 3: TCP/IP Utilities

Layer 4: UDP, TCP, and others. based on Chapter 9 of CompTIA Network+ Exam Guide, 4th ed., Mike Meyers

Paper solution Subject: Computer Networks (TE Computer pattern) Marks : 30 Date: 5/2/2015

Table of Contents 1 IPv6 Configuration IPv6 Application Configuration 2-1

Table of Contents 1 IPv6 Configuration IPv6 Application Configuration 2-1

ICMP messages generating by the Ping program; ICMP messages generated by the Traceroute program; the format and contents of an ICMP message.

H

Lab 9.8.1: Address Resolution Protocol (ARP)

Internetworking - We are heterogeneity to our network (variable network technologies, bandwidth, MTU, latency, etc. etc.)

Contents. Ping, tracert, and system debugging commands 1. debugging 1 display debugging 1 ping 2 ping ipv6 5 tracert 7 tracert ipv6 10

Lab Assignment 4 ECE374 Spring Posted: 03/22/18 Due: 03/29/18. In this lab, we ll take a quick look at the ICMP and IP protocols.

ICMP (Internet Control Message Protocol)

Different Layers Lecture 20

Lecture 6. TCP/IP Network Layer (4)

History Page. Barracuda NextGen Firewall F

Using ICMP to Troubleshoot TCP/IP Networks

Guide to TCP/IP, Third Edition. Chapter 8: The Dynamic Host Configuration Protocol

Computer Networking Introduction

I Commands. iping, page 2 iping6, page 4 itraceroute, page 5 itraceroute6 vrf, page 6. itraceroute vrf encap vxlan, page 12

The OSI model of network communications

Internet Layers. Physical Layer. Application. Application. Transport. Transport. Network. Network. Network. Network. Link. Link. Link.

CIS 551 / TCOM 401 Computer and Network Security

Introduction to Computer Networks

Command Manual Network Protocol. Table of Contents

Chapter 5 Network Layer

Shortest Path First Example

TCP/IP Fundamentals. Introduction. Practice Practice : Name. Date Period

The Internetworking Problem. Internetworking. A Translation-based Solution

Brush Electronics POC UDP Client and UDP Server Technical Note

Vorlesung Kommunikationsnetze

CS475 Networks Lecture 8 Chapter 3 Internetworking. Ethernet or Wi-Fi).

internet technologies and standards

(ICMP), RFC

ATTO ThunderLink NS 1101 & NT 1102 Troubleshooting Guide

Your Name: Your student ID number:

ECE 358 Project 3 Encapsulation and Network Utilities

Packet Tracer - Using Traceroute to Discover the Network (Instructor Version)

Problems of IP. Unreliable connectionless service. Cannot acquire status information from routers and other hosts

Ref: A. Leon Garcia and I. Widjaja, Communication Networks, 2 nd Ed. McGraw Hill, 2006 Latest update of this lecture was on

IPv6 ND Configuration Example

Date: June 4 th a t 1 4:00 1 7:00

Master Course Computer Networks IN2097

Chapter 3 Review Questions

Router Architecture Overview

Fundamentals of Computer Networking AE6382

Table of Contents. 1 Intrusion Detection Statistics 1-1 Overview 1-1 Displaying Intrusion Detection Statistics 1-1

Networking Notes. Common Internet Speeds. Online Speed Test myspeed.visualware.com

NETWORK PACKET ANALYSIS PROGRAM

Checking Port Status and Connectivity

Transcription:

5 Troubleshooting TCP/IP Fig 5 show trouble shooting a TCP/IP Chapter 5: Trouble shooting of a network Steps 1 First, determines whether your local host is properly configured. Step 2 Next, uses the ping or trace route commands to determine whether the routers through which you must communicate can respond. Start with the most local router and progressively ping outwards through the Internet or use traceroute. Step 3 If you cannot get through a particular node, examine the node configuration and use the various show commands to determine the state of the router. Step 4 If you can get to all the routers in the path, check the host configuration at the remote host (or get someone's help to do so), and check its configuration. 5.1 Ifconfig The "ifconfig" command allows the operating system to setup network interfaces and allow the user to view information about the configured network interfaces. Ifconfig [flag] [[Interface] [ Address Family] [ Address] [Destination Address] [Parameters...] ] Parameters : Address: Specifies the network address for the network interface. Address Family: Specifies which network address family to change. The inet, inet6, and ns address families are currently supported. Destination Address: Specifies the address of the correspondent on the remote end

of a point-to-point link Interface: Specifies the network interface configuration values to show or change Parameter : Allows the following parameter values: alias: Establishes an additional network address for the interface. When changing network numbers, this parameter is useful for accepting packets addressed to the old interface. allcast: Sets the Token-Ring interface to broadcast to all rings on the network. arp : Enables the ifconfig command to use the Address Resolution Protocol in mapping between network-level addresses and link-level addresses 5.2 route This command manipulates network routing tables. route [-f] [command [destination] [mask netmask] [gateway]] various options available in the route command: -f : clears the routing tables of all gateway entries. if this is used in conjunction with one of the commands, the tables are cleared prior to running the command. command specifies one of four commands print :prints a route add :adds a route delete :deletes a route change :modifies an existing route destination : specifies the host to send command. mask : if the mask keyword is present, the next parameter is interpreted as the netmask parameter. netmask : if provided, specifies a sub-net mask value to be associated with this route entry. if not specified, if defaults to 255.255.255.255. gateway : specifies gateway. example: route -n. print routing table route add 127.0.0.1. add a route to localhost; 5.3 Software tools: ping Ping (packet Internet groper) tests connectivity between source and destination systems If ping hostname, includes a rough check of DNS Sends an ICMP (Internet Control Message Protocol) ECHO_REQUEST Waits for an ICMP ECHO_REPLY Most pings can display round trip time Most pings can allow setting size of packet Can use to make a crude measurement of throughput.

How to Use ping? Ensure local host networking is enabled first: ping local host, local IP address ping a known host on local network ping local and remote interfaces on router ping by IP as well as by hostname if hostname ping fails Ping from more than one host ping - {option} option: t : repetitively send packets. n:number of echo to be sent l : sending buffer size [Max: 65500 bytes] f :Don't fragment; If this option is provided, then the packet should not be fragmented and should be sent as it is. r count :record route for count hops [3rd layer device] j : loose source route [Optionally it can follow different route]. k : strict source route [MUST follow the route specified by us]. C:\>ping 192.168.1.110 5.3.1 fping: flood ping Designed to test a large number of hosts more efficient than ping Used extensively by monitoring software such as mon: http://www.kernel.org/software/mon/, nagios: http://www.nagios.org/ Take care not to food too much! 5.3.2 hping2: ping anything with anything Able to send custom TCP/IP packets and display target replies like ping program does with ICMP replies. Can install with command below on Fedora Core 1. $ Yum -y install hping2 5.3.3 Path ping: This command is used as IP trace utility and so it is similar to the tracert command. It has some extra features compared to tracert command. Path ping - {option} option: n :Don't resolve addresses to hostnames h max_hops Max number of hops to search g host-list : Loose source route along host-list p period: Wait between pings (milliseconds)

q num_queries: Number of queries per hop w timeout: Wait timeout for each reply (milliseconds) T :Test each hop with Layer-2 priority tags R : Test if each hop is RSVP aware 5.4 Path Discovery: traceroute Sends UDP packets (Microsoft tracert sends ICMP packets) increments Time to Live (TTL) in IP packet header traceroute Limitations Each router has a number of IP addresses but traceroute only shows the one it used get different addresses when run traceroute from other end sometimes route is asymmetric traceroute [ -m Max_ttl ] [ -n ] [ -p Port ] [ -q Nqueries ] [ -r ] [-s SRC_Addr] [-t TypeOfService] [-v] [-w WaitTime] Host [PacketSize] 5.5 tracert Command : Its determines whether a destination node is on the same local network or whether a default gateway is used to send the packet to a remote network. Can also be used to discover whether a router is functioning Various options available in the tracert command: -d : Don t resolve addresses to hostnames. -h maximum_hops: Maximum number of hops to search for target -j host_list : Loose source router along host list. -w time-out : wait timeout milliseconds for each reply. 5.6 The ip program, iproute The ip program in the iproute package provides complete control over TCP/IP networking in a Linux system Provides more networking control facilities than other TCP/IP implementations Supports tunneling in many forms iproute support both IP routing, the tunneling. iproute and iptables: Between these software packages, you can: throttle bandwidth for certain computers throttle bandwidth to certain computers fairly share bandwidth protect your network from DoS attacks protect Internet from your customers multiplex many servers into one, for load balancing or for high availability restrict access to your computers limit access of your users to other hosts

do routing based on user id, MAC address, source IP, port, type of service, time of day or content 5.7 Traffic Measurements: netstat This command displays information about the state of sockets and packets processed by your system on the network. This command is used to get information about the open connections on your system (ports, protocols being used, etc.), incoming and outgoing data and also the ports of remote systems to which you are connected. netstat - {option} 5.8 NET Command This command is used at the command prompt to display and control various network related activities. net - {option} option: name : name of the PC share : details about shared resources start : to start a service. stop : to stop a service. use :used to map a drive to the network path. 5.9 ipconfig command: This command is used to get ip configurations present in your pc. ipconfig /all :display full configuration information. ipconfig /release [adapter] :release the ip address for the specified adapter. ipconfig /renew [adapter]: renew the ip address for the specified adapter. ipconfig /flushdns: purge the dns resolver cache. ipconfig /registerdns: refresh all dhcp leases and re-register dns names. ipconfig /displaydns :display the contents of the dns resolver cache. ipconfig /showclassid adapter :display all the dhcp class ids allowed for adapter. ipconfig /setclassid adapter [classid] :modify the dhcp class id. 5.10Finger Command The finger command shows information about a user account such as the name of the user, when the account was last accessed, and where the account is located. To view an individual's finger information, type: finger [options] <username>@<host.site.domain> Example: finger consult@aludra.usc.edu The options you can use are outlined below: -l : Force long output format. -s : Force short output format.

-h : Suppress printing of the.project file in a long format printout. -p : Suppress printing of the.plan file in a long format printout.