linux

dhclient Removed in RHEL 10: Use NetworkManager for DHCP

Why dhclient and dhcp-client are gone on RHEL 10, what replaces them, how to configure and reacquire DHCP with NetworkManager, and how to fix old dhcp=dhclient settings.

Deepak Prasad17 min read
networking

How to Check Internet Connection in Linux Command Line and Shell Script

Check internet connectivity on Linux with curl to google.com, ping, DNS tools, and a shell script pattern — then work down routing and firewall layers when the quick check fails.

Omer Cakmak11 min read
networking

Fix "Cannot Assign Requested Address" in Linux (Errno 99)

Fix Linux errno 99 (EADDRNOTAVAIL): when bind() fails because the IP is not local, when Docker publishes to a missing host address, when services start before the interface is ready, and when connect() exhausts ephemeral …

Omer Cakmak11 min read
linux

Configure BIND Primary and Secondary DNS on RHEL Linux

Configure BIND primary and secondary DNS on RHEL-family Linux with allow-transfer, slave zones, named-chroot on Rocky Linux 8, and dig verification after AXFR zone replication.

Deepak Prasad10 min read
linux

Configure BIND DNS Server on RHEL, Rocky Linux, and AlmaLinux

Install and configure BIND on RHEL, Rocky Linux, or AlmaLinux with forward and reverse zones, controlled recursion, NetworkManager clients, and dig testing.

Deepak Prasad15 min read
linux

Migrate Network Scripts and ifcfg Files to NetworkManager

Migrate legacy network-scripts and ifcfg profiles to NetworkManager keyfiles on RHEL, Rocky Linux, AlmaLinux, Oracle Linux, and CentOS Stream before upgrading to a release that no longer reads ifcfg files.

Deepak Prasad15 min read
linux

Configure DNS over TLS with NetworkManager on RHEL 10

Enable DNS over TLS on RHEL 10.1 or later with NetworkManager, dnsconfd, and unbound, then verify upstream DNS uses encrypted TCP port 853.

Deepak Prasad13 min read
networking

Set Static IP in Rocky Linux [6 Different Methods]

6 different methods to configure and set static IP Address in Rocky Linux. Use nmtui, nmcli, ifcfg, ip and ifconfig utility to configure static IP address

Deepak Prasad11 min read
networking

How to troubleshoot TFTP Issues with Wireshark

Not defined, File not found, Access violation, Disk full or allocation exceeded, Unknown transfer ID, Unknown transfer ID, File already exists, No such user, Terminate transfer due to option negotiation

Celal Dogan7 min read
networking

Configure VRRP using Keepalived and Cisco’s Router with Examples

Virtual Router Redundancy Protocol (VRRP) is an open standard protocol, which has been developed by IEEE (Institute of Electrical and Electronics Engineers).

Celal Dogan7 min read
networking

Setup PEAP-Mschapv2 Authentication with NPS (Part 3)

Protected EAP (PEAP) needs a certificate and TLS support. Thus, I will install "Active Directory Certificate Services" role.

Celal Dogan6 min read
networking

How to decrypt IPSec Packets (ISAKMP and ESP) - Wireshark

In this article, we will focus on decrypting IPsec traffic between a Cisco router and a Strongswan IPsec VPN solution. Most of network vendors do not provide

Celal Dogan6 min read
networking

Analyse Slow Networks with TCP Zero Window - Wireshark

Recently, I have been sent a network trace file to analyze. The common complains were related poor (slow) TCP performance. After examining the trace file in

Celal Dogan6 min read
networking

How to do TCP Retransmission Analysis using Wireshark

TCP retransmissions happen when there is packet loss or congestion, which causes high latency and low speed. TCP implements many methods to recover connections when packet loss occurs. Retransmission and Fast …

Celal Dogan7 min read
networking

Malicious Resource Detection with Python, Wireshark and Virustotal

Although Wireshark is a very useful tool for network forensic, when it comes to analyse massive number of packets we may need further tools to find malicious

Celal Dogan6 min read
networking

How to Trace IP Addresses Using Wireshark [Tutorial]

Step by step instructions to trace IP Addresses using Wireshark with practical examples

Celal Dogan5 min read
networking

Wireshark Dissector Tutorial [Practical Examples]

In this tutorial we explore wireshark dissector and understand how it works with some practical examples. We will create a dissector and import it to wireshark to decode the packet trace.

Celal Dogan7 min read
networking

Wireshark: Decrypt SSL/TLS Practical Examples [Tutorial]

Step by step instructions to understand all about SSL and TLS and next learn to decrypt SSL or TLS connection using Wireshark with practical examples

Celal Dogan6 min read
networking

Troubleshooting TLS Failures using Wireshark

Troubleshooting different types of TLS failures in TLS and MTLS communication between server and client such as Certificate Expired, Bad Certificate, Unknown CA, Certificate Revoked, Handshake Failure, Protocol Version

Celal Dogan10 min read
networking

Connect VM to internet in Oracle VirtualBox [10 Steps]

Steps to enable and connect virtual machine to internet connection on Oracle VirtualBox and VMware Workstation Player on Linux. Configure Bridged & NAT Network

Deepak Prasad5 min read
networking

Linux disable IPv6 properly (with or without reboot)

Detailed guide with list of best practices to disable Ipv6 in Linux. You can use grubby, grub2-editenv, sysctl to disable your ipv6 across Linux server

Deepak Prasad6 min read
networking

5 system tools to monitor network traffic in Linux with examples

How to monitor network traffic in Linux? How to monitor application network traffic real time in Linux? How to perform speed test using command line in Linux? How to monitor network speed in graphical and CLI in Linux.

Deepak Prasad9 min read
networking

How to create and configure network bridge using nmcli (static & dhcp)

Configure network bridge using nmcli for static and dhcp ip. nmcli connection reload. nmcli onboot. nmcli network manager centos 7. nmcli con add modify

Deepak Prasad7 min read
networking

Analyze TCP Receive Window with Wireshark [Step-by-Step]

Transmission Control Protocol (TCP) is a connection oriented protocol. Before exchanging data between both sides, a connection is established. TCP Receive

Celal Dogan5 min read
networking

How to check if ISP is blocking website [Wireshark]

Step by step instructions to check if isp is blocking website using wireshrak. The website URL can be blocked via DNS name or via IP which can be checked using Wireshark.

Celal Dogan7 min read
networking

OSPF Configuration Explained on Cisco Router

Step by step instructions on OSPF configuration using Cisco router and examples

Deepak Prasad12 min read
networking

How to create or configure NIC Teaming using nmcli (CentOS / RHEL 7/8)

Learn to configure NIC teaming on CentOS/RHEL 7 Linux node. RHEL 7 implements network teaming with a small kernel driver and a user-space daemon, teamd.

Deepak Prasad7 min read
networking

How to analyze IPsec Traffic with Wireshark

Internet Protocol Security (IPsec) is a set of protocols that enable us to authenticate and encrypt traffic between two parties. Protocols such as Internet

Celal Dogan6 min read