君心浅语

关注

centos7:查看内网ip和外网ip

君心浅语

关注

阅读 44

2023-07-30

  1. 查看内网IP

ifconfig
# 简化输出
ifconfig | grep inet
# 简化输出
或
ifconfig -a
或
ip addr 

  1. 查看外网的ip

curl ifconfig.me

相关推荐

读思意行

centos7 查看系统外网ip

读思意行 56 0 0

沪钢木子

CentOS7 配置外网静态ip

沪钢木子 154 0 0

一葉_code

外网IP和内网IP的区别

一葉_code 51 0 0

zhaoxj0217

内网ip与外网ip

zhaoxj0217 59 0 0

今天你读书了吗

centos7配置ip地址(centos7配置ip地址)

今天你读书了吗 185 0 0

幺幺零

centos7修改ip地址(centos7怎么修改ip)

幺幺零 113 0 0

sullay

CentOS7配置IP

sullay 121 0 0

Sky飞羽

Linux查看外网IP

Sky飞羽 62 0 0

幸甚至哉歌以咏志

​centos7配置IP地址​

幸甚至哉歌以咏志 149 0 0

仲秋花似锦

Centos7 配置静态IP

仲秋花似锦 241 0 0

精彩评论(0)

0 0 举报