- Adding IP address on RHEL/CentOS 7 server with nmtui
- Add IP in CentOS Server via Command Line
- Configure Network in CentOS 7 Server
- Add IP Address in CentOS Server
- How to Change Hostname and IP on a CentOS Server
To list all IP address in your server, run
ip addr | grep inet | awk '{ print $2; }' | sed 's/\/.*$//'
Example
[root@3blogger ~]# ip addr | grep inet | awk '{ print $2; }' | sed 's/\/.*$//' 127.0.0.1 ::1 173.208.216.106 173.208.216.107 fe80::223:8bff:fee0:2adc [root@3blogger ~]#
Sites where you can check your IP