Posts related to networking

Examine Network Socket Connections with Linux ss Command Instead of Netstat

Examine Network Socket Connections with Linux ss Command Instead of Netstat The Linux ‘ss’ command replaces the older ‘netstat’ and makes a lot of information about network and socket connections available for you to easily examine or troubleshoot issues. The ss (socket statistics) command provides a lot of information by displaying details on socket activity. Whatis a Socket? A socket is a Linux file descriptor for communicating with the network.

read more

Change Linux Primary IP Address Without Losing Connectivity

You need to change an IP address of an interface on a Linux server without loosing connectivity, so here’s one way: First add a secondary IP address to the interface: ip addr add 192.168.1.10/24 dev eth0<br /> ip addr show eth0 And confirm: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP link/ether 44:38:39:00:11:aa brd ff:ff:ff:ff:ff:ff inet 192.168.1.5/24 scope global eth0 inet 192.

read more