[colug-432] IP Address of Centos 7 Minimal Install VM
Mike Plemmons
mikeplemmons at gmail.com
Tue May 12 12:19:00 EDT 2015
Try 'ip addr'. The ip command has been the way to do it for years but
ifconfig has stuck around.
On May 12, 2015 12:17 PM, <jep200404 at columbus.rr.com> wrote:
> _Before_ one has installed net-tools to get ifconfig,
> what's the canonical way to find out the IP address of a
> virtual machine that has a Centos 7 minimal installation?
> I'm using the following, but it seems that there should be a better way.
>
> cat /proc/net/nf_conntrack | awk '{print $6}' | cut -d = -f 2
> _______________________________________________
> colug-432 mailing list
> colug-432 at colug.net
> http://lists.colug.net/mailman/listinfo/colug-432
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.colug.net/pipermail/colug-432/attachments/20150512/da23dd22/attachment.html
More information about the colug-432
mailing list