CentOS and IP Addresses

How to I obtain a list of every ip address configured on an CentOS 5.6 instance?
Who is Participating?
You can also go under /etc/sysconfig/network-scripts and check the list of files starting with ifcfg. There may be active as well as inactive interfaces and it is best to check here.
You could also use:
ip a
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.