Home

About Us

Advertisement

Contact Us

PRIVACY POLICY

  • Facebook
  • X
  • Instagram
  • Pinterest
  • WhatsApp
  • RSS Feed
  • TikTok
ALT

Maalavs Blog

Your Trusted Voice Across the World.

  • NEWS
  • Linux Tech Blogs
  • Windows Tech Blogs
  • VIRTUALIZATION Blogs
Search

📌Linux Networking Issues and Diagnostics in RHEL 7/8/9 and CentOS

Author: Madhan Gopalakrishnan | Published on : 10-02-2025

🔹 Networking is the backbone of any Linux system, and troubleshooting network issues efficiently is crucial for smooth operations. This guide explores the most essential network diagnostic tools, the required packages, installation steps, repositories, and detailed package information.


🌐 Essential Networking Diagnostic Tools

✅ ping – Tests connectivity between the local system and a remote host. ✅ traceroute – Traces the path packets take to a destination. ✅ netstat – Displays network connections, routing tables, and interface statistics. ✅ ss – A modern alternative to netstat, providing detailed socket statistics. ✅ tcpdump – Captures and analyzes network traffic. ✅ iftop – Monitors bandwidth usage on network interfaces. ✅ nmap – Scans networks for open ports and services. ✅ dig – Queries DNS servers for information. ✅ ethtool – Displays and modifies Ethernet device settings. ✅ ip – Manages routing, devices, and tunnels.


🛠 Installing Networking Diagnostic Tools

🔍 Installing netstat

📦 Package: net-tools 🗂 Repository: Default 🖥️ Install Command:

sudo yum install net-tools

🚀 Installing ss (Alternative to netstat)

📦 Package: iproute 🗂 Repository: Default 🖥️ Install Command:

sudo yum install iproute

🌍 Installing traceroute

📦 Package: traceroute 🗂 Repository: Default 🖥️ Install Command:

sudo yum install traceroute

📡 Installing tcpdump

📦 Package: tcpdump 🗂 Repository: Default 🖥️ Install Command:

sudo yum install tcpdump

📊 Installing iftop (Bandwidth Monitor)

📦 Package: iftop 🗂 Repository: EPEL (Extra Packages for Enterprise Linux) 🖥️ Install Command:

sudo yum install epel-release -y
sudo yum install iftop

🔎 Installing nmap (Network Scanner)

📦 Package: nmap 🗂 Repository: Default 🖥️ Install Command:

sudo yum install nmap

🌐 Installing dig (DNS Query Tool)

📦 Package: bind-utils 🗂 Repository: Default 🖥️ Install Command:

sudo yum install bind-utils

⚙️ Installing ethtool (Ethernet Interface Utility)

📦 Package: ethtool 🗂 Repository: Default 🖥️ Install Command:

sudo yum install ethtool

🏗 Installing ip Command

📦 Package: iproute 🗂 Repository: Default 🖥️ Install Command:

sudo yum install iproute

📌 Repository Configuration

By default, RHEL and CentOS systems come with pre-configured repositories. However, for additional tools like iftop, enabling the EPEL repository is necessary:

sudo yum install epel-release

📂 Detailed Package Information

🏗 net-tools

✔️ The net-tools package provides legacy networking utilities, including netstat, ifconfig, and route. ✔️ These tools were commonly used in older Linux distributions before being replaced by more modern alternatives like iproute2. ✔️ netstat helps in displaying active network connections, routing tables, and listening ports. ✔️ Useful for administrators who are accustomed to traditional commands.

⚡ iproute

✔️ The iproute package is the modern replacement for net-tools. ✔️ It includes the ip command, which is used for configuring IP addresses, routing, and network interfaces. ✔️ The ss command from this package is a more efficient alternative to netstat, providing detailed socket information. ✔️ It is more versatile and supports advanced networking features.

🌎 bind-utils

✔️ The bind-utils package contains utilities for DNS lookups, including dig, nslookup, and host. ✔️ dig (Domain Information Groper) is widely used for querying DNS servers and troubleshooting domain resolution issues. ✔️ nslookup provides basic DNS query capabilities, though it is less commonly used compared to dig. ✔️ Useful for verifying DNS configurations and detecting misconfigurations.

🔍 tcpdump

✔️ tcpdump is a powerful command-line packet analyzer. ✔️ It captures network traffic in real time, helping diagnose network-related issues. ✔️ Administrators can use it to inspect packet contents and identify security threats. ✔️ Useful for deep network analysis and debugging connectivity problems.

📊 iftop

✔️ iftop provides real-time bandwidth monitoring for network interfaces. ✔️ Displays a dynamic list of active connections and their data transfer rates. ✔️ Helps in identifying excessive bandwidth usage and diagnosing network bottlenecks. ✔️ Requires enabling the EPEL repository before installation.

🔎 nmap

✔️ nmap (Network Mapper) is a widely used network scanning tool. ✔️ Helps in identifying open ports, running services, and potential vulnerabilities. ✔️ Useful for system administrators and security professionals to analyze network security. ✔️ Supports a variety of scanning techniques, including SYN, UDP, and OS fingerprinting scans.

🌐 traceroute

✔️ traceroute traces the route packets take to a destination. ✔️ Displays each hop along the path and the time taken for each hop. ✔️ Useful for diagnosing network congestion and connectivity issues. ✔️ Helps in pinpointing where network slowdowns occur.

⚙️ ethtool

✔️ ethtool is used for querying and modifying network interface settings. ✔️ Can adjust speed, duplex mode, and offloading features of Ethernet interfaces. ✔️ Helps in diagnosing hardware-related network issues. ✔️ Useful for optimizing network adapter performance.


📢 Final Thoughts Mastering these networking tools will empower you to diagnose, troubleshoot, and optimize network performance on RHEL 7/8/9 and CentOS systems. Bookmark this guide for future reference and streamline your Linux networking expertise! 🚀

Featured Articles

  • Insights into Royal Family Dynamics

    Insights into Royal Family Dynamics

    February 26, 2025
  • Over 50 Deaths Linked to ‘Unknown Disease’ in Congo

    Over 50 Deaths Linked to ‘Unknown Disease’ in Congo

    February 26, 2025
  • North Korea Accused of Major Cyber Heist

    North Korea Accused of Major Cyber Heist

    February 26, 2025
  • Manchester United Announces Job Cuts Amid Financial Restructuring

    Manchester United Announces Job Cuts Amid Financial Restructuring

    February 26, 2025
  • Shannon Sharpe Criticizes Zion Williamson’s Fitness: A Deep Dive into the Controversy

    Shannon Sharpe Criticizes Zion Williamson’s Fitness: A Deep Dive into the Controversy

    February 26, 2025

Search

Author Details

Madhan Gopalakrishnan

I am a passionate “tech blogger” with a knack for breaking down complex topics into simple insights or exploring the latest trends in AI With 5 years of experience in IT Infra implementation and maintenance, I love to share knowledge through in-depth articles and practical tips. When not writing, you can find my hobby “traveling to offbeat destinations”.

  • X
  • Instagram
  • TikTok
  • Facebook

Follow Us on

  • Facebook
  • X
  • Instagram
  • VK
  • Pinterest
  • Last.fm
  • TikTok
  • Telegram
  • WhatsApp
  • RSS Feed

Categories

  • Article (15)
  • NEWS (73)

Archives

  • February 2025 (88)

Tags

About Us

Maalavs Magazine

It is your hub for the latest news across all domains, from technology and business to travel and innovation. We bring insightful updates, expert opinions, and engaging content to keep you informed and ahead. Whether you’re a tech enthusiast, a business professional, or a curious reader, we’ve got something for you. Stay updated with Maalavs Magazine!

Latest Articles

  • Insights into Royal Family Dynamics

    Insights into Royal Family Dynamics

    February 26, 2025
  • Over 50 Deaths Linked to ‘Unknown Disease’ in Congo

    Over 50 Deaths Linked to ‘Unknown Disease’ in Congo

    February 26, 2025
  • North Korea Accused of Major Cyber Heist

    North Korea Accused of Major Cyber Heist

    February 26, 2025

Categories

  • Article (15)
  • NEWS (73)
  • Instagram
  • Facebook
  • LinkedIn
  • X
  • VK
  • TikTok

Proudly Powered by Maalavs | Maalavs Magazine

Scroll to Top