Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

CentOS and IP Addresses

Posted on 2012-04-02
3
482 Views
Last Modified: 2012-06-27
How to I obtain a list of every ip address configured on an CentOS 5.6 instance?
0
Comment
Question by:deklinm
3 Comments
 
LVL 9

Accepted Solution

by:
Ashok Dewan earned 500 total points
ID: 37796605
0
 
LVL 11

Expert Comment

by:legolasthehansy
ID: 37796761
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
 
LVL 31

Expert Comment

by:farzanj
ID: 37796828
You could also use:
ip a
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question