CentOS 7 equivalents to deprecated networking commands
Release | Classification | Level | DB Platform | Categories |
N/A | How To | ![]() |
ALL | Configuration |
QUESTION |
Why some of the networking commands don't work on Linux CentOS 7 anymore, while they all worked on CentOS 6 before?
ANSWER |
1. Linux is deprecating the net-tools package in newer versions due to lack of maintenance.
2. Some of the distributions, like CentOS 7 minimal or Ubuntu Docker, don't have net-tools package installed by default.
3. It is recommended to go forward with new command replacements, see further info below:
Commonly used networking commands and their equivalents in CentOS 7:
CentOS 6 (old) | CentOS 7 (new) |
netstat -na | ss -l -n |
netstat -a | ss -a |
netstat -nr, route -n | ip r |
ifconfig -a | ip a |
arp -a | ip n |
If you are experiencing issues with ScaleArc or with any of it's features, please contact ScaleArc Support. We are available 24x7 by phone at 855 800 7225 or +1 408 412 7315. For general support inquiries, you can also e-mail us at support@scalearc.com.
Permalink: https://support.scalearc.com/kb/articles/4373 |