Centos7查看IP
Posted 邢富鹏
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Centos7查看IP相关的知识,希望对你有一定的参考价值。
查看IP
ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 00:1c:42:e6:31:fb brd ff:ff:ff:ff:ff:ff inet 10.211.55.21/24 brd 10.211.55.255 scope global dynamic eth0 valid_lft 1330sec preferred_lft 1330sec inet6 fdb2:2c26:f4e4:0:21c:42ff:fee6:31fb/64 scope global noprefixroute dynamic valid_lft 2591964sec preferred_lft 604764sec inet6 fe80::21c:42ff:fee6:31fb/64 scope link valid_lft forever preferred_lft forever
以上是关于Centos7查看IP的主要内容,如果未能解决你的问题,请参考以下文章