Using ifconfig for Network Interface Management in CentOS
ifconfig is a command-line utility for network interface management on CentOS systems. It provides functionality to query, configure, activate, and deactivate network interfaces.
Key Functions
Display Interface Details: Show configuration and status for all or a specific network interface.
Configure Network Parameters: Set IP address, netmask, ...
Posted on Thu, 06 Aug 2026 16:26:43 +0000 by joshmpratt
Configuring Static IP Address on Ubuntu 22.04
While DHCP automatically assigns IP addresses in most networks, certain scenarios like running servers or enabling port forwarding require a static IP configuration. This guide demonstrates how to set a static IP address on Ubuntu 22.04 using the graphical NetworkManager TUI tool.
Note: Ensure your virtual machine uses bridged networking mode f ...
Posted on Sat, 27 Jun 2026 16:50:54 +0000 by Nolan
Capturing Network Traffic with Raw Sockets in Go
Capturing Network Traffic with Raw Sockets in Go
The most common library for capturing network traffic in Go is github.com/google/gopacket, which requires libpcap and therefore must be compiled with CGO enabled. To reduce environmental dependencies, we can use raw sockets to capture network traffic and then leverage gopacket's protocol parsing ...
Posted on Wed, 20 May 2026 20:31:02 +0000 by kingnutter
Docker Network Fundamentals
Computer Network Model
Network Interfaces in Linux
(1) View network interfaces (NICs)
ip link show
ls /sys/class/net
ip a
ifconfig
(2) Network Interface Details
- Interpreting `ip a` output:
State: UP/DOWN/UNKNOWN
link/ether: MAC address
inet: Assigned IP address
- Configuration files:
cat /etc/sysconfig/network- ...
Posted on Mon, 18 May 2026 01:12:04 +0000 by Fractal
Understanding Load Balancing with LVS: ARP Protocol Analysis and DR Mode Implementation
3.4 Packet Capture in Linux
ARP Resolution Process: Wireshark packet capture workflow
# Install packet capture software
yum install -y wireshark
# Capture ARP packets on interface eth1
tshark -i eth1 -f arp
# Sample output:
# 1 0.000000000 Vmware_2e:aa:48 -> Broadcast ARP 42 Who has 172.16.1.51? Tell 172.16.1.61
# 2 0.000263929 Vmware_c ...
Posted on Sun, 10 May 2026 22:21:36 +0000 by hatrickpatrick