Network

All articles about networking on Linux systems and how to optimize the network stack. Learn how to query information with the right tools, and how to troubleshoot issues.

How to see the the network IP address of your system

Show IP address information on Linux with the help of the ip command. Learn which subcommands to use to query the relevant details.

How to see the IP address of your internet connection

Show the IP address of your internet connection using the dig or the curl command. Learn which options can be used to find out this information.

How to see which DNS server is used

Find the active DNS server being used by reviewing the network configuration, including common commands to query this information.

How to see the number of open connections on Linux

Linux has in-depth details, including about network connections. Show the number of open connections using the ss command on Linux.

How to see active connections and bandwidth usage on Linux

Show the bandwidth usage and active connections by using the iftop tool on Linux. Learn how to use the tool to quickly find out this information.

Show to clear the DNS cache with systemd

Linux with systemd might doing DNS resolving using its resolver daemon. Learn how to inspect and clear the DNS cache when using the systemd resolver daemon.

How to show network TCP statistics and counters

Show counters related to the TCP connections by using the nstat command. This small utility will quickly retrieve the related statistics and display them.

Tcpdump cheat sheet

Get more information out of the tcpdump tool using this cheat sheet. Find everything that is going on the network and your Linux systems.

Ip cheat sheet

Want to see or configure every piece of information about networking, including routing on Linux? Forget tools like netstat and learn using the ip command.

How to see errors and dropped packets on a network interface on Linux

Show the network link details using the ip command to find out if a network has errors or dropped packets on a Linux system.

How to see the default gateway on Linux

Use the network routing table to discover the default gateway on a Linux system. Here is how to use the ip command to achieve this

How to see which process is using a port

TCP or UDP ports can already be in use when starting up a service. Find out which process opened an UDP or TCP port on Linux by using the ss command.

How to see open ports on Linux

Show which UDP/TCP ports are opened on a Linux system, including the related process. Use the ss tool to see more details about these sockets.

Ss cheat sheet

If you want to learn more about network connections on Linux, then ss is the tool to get the job done. Learn how to use it with this cheat sheet.

How to see the TTL value of a DNS record

Learn how to query the Time To Live (TTL) for a DNS record by using the dig tool on a Linux systems, including any relevant options.

The purpose of the /etc/networks file

Also wondering what some files are used for on Linux systems? In this article we have a look at the /etc/networks file and show some configuration.

Is your /etc/hosts file healthy?

Small things have a big impact. Resolving issues with localhost or system hostname. Here is how to check your /etc/hosts file.

Linux DNS Tuning for Performance and Resilience

Linux DNS configuration is usually done during the installation of the system. With proper configuration and tuning, you gain performance and stability.

Differences between iptables and nftables explained

An overview of the differences between firewall technologies iptables and nftables. We highlight the major differences like simplicity and management.

Linux Security Guide for Hardening IPv6

Extensive guide to help you secure your IPv6 configuration on Linux. From initial set-up to hardening the kernel with sysctl.

List network interfaces on Linux

Show the available network interfaces and information on Linux with the right tools. We cover common replacements for iptables and netstat, with examples.

Which Linux process is using a particular network port?

Seeing the 'address in use' error or need to find out which process is listening to a particular port on Linux? Here are the tools to find out!

Alternative for netstat: ss tool

Newer distributions do not use netstat anymore in favor of other tools like ss. This alternative tool can show in-depth information about socket statistics.

Filtering ARP traffic with Linux arptables

Filtering ARP traffic is easy with the arptables utility. In this article we look at the possibilities of arptables and provides example of using it.

How to clear the ARP cache on Linux?

Clearing the ARP cache on Linux is easy with the arp or ip utility. This blog post will help you to clear the cache with examples for both utilities.