Tuesday 20 July 2021

Top 10 Linux Network Monitoring Commands


  1. ifconfig - Configure a network interface

    Ifconfig is used to configure the network interfaces. View, edit and modify the configured IP address, DNS, gateway and Netmask.

  2. ip - show / manipulate routing, devices, policy routing and tunnels

  3. traceroute - print the route packets trace to network host

    Tracks the route packets taken from an IP network on their way to a given host. It utilizes the IP protocol's time to live (TTL) field and attempts to elicit an ICMP TIME_EXCEEDED response from each gateway along the path to the host.

  4. ping - send ICMP ECHO_REQUEST to network hosts

    Check whether the particular ipaddress/domain is available or not.

  5. netstat - Print network connections, routing tables and interface statistics

    Netstat prints information about the Linux networking subsystem.

  6. route - show/manipulate the IP routing table

    Route manipulates the kernel's IP routing tables. Its primary use is to set up static routes to specific hosts or networks via an interface after it has been configured with the ifconfig program.

  7. nslookup - query Internet name servers interactively

    Nslookup is a program to query Internet domain name servers.

    Nslookup has two modes: interactive and non-interactive. Interactive mode allows the user to query name servers for information about various hosts and domains or to print a list of hosts in a domain. Non-interactive mode is used to print just the name and requested information for a host or domain.

  8. tcpdump - Dump traffic on a network

    Prints out a description of the contents of packets on a network interface that match the boolean expression; the description is preceded by a time stamp, printed, by default, as hours, minutes, seconds, and fractions of a second since midnight.

  9. -

  10. -