How to check IP address in CentOS 7 minimal Server -Ifconfig not working.

Prerequisites:

CentOS 7.

Introduction:

How to check IP address in CentOs7 Minimal Server when Ifconfig command not working and returns an error “Command not Found” . Also when entering inet addr , getting “Command Not found”.

 

use ip addr in order to get the IP address.

ip addr

you will receive an output as the below,

In Order to check the link status of the network adapter, use

ip link

you will receive an output as the below,

Keywords: CentOS 7 , IP address, Networking , Network, Ifconfig , Command not found , Inet addr, IP Link , Linux/GNU, Command , IPV4 address , MAC address , MTU.

Leave a Reply