Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 489
  • Last Modified:

CentOS and IP Addresses

How to I obtain a list of every ip address configured on an CentOS 5.6 instance?
0
deklinm
Asked:
deklinm
1 Solution
 
legolasthehansyCommented:
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.
0
 
farzanjCommented:
You could also use:
ip a
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now