查看外网IP

curl ifconfig.me

查看内网IP

ifconfig -a
linux查看IP相关

查看网关

route -n
Destination值位0.0.0.0对应的Gateway为默认网关
linux查看IP相关

查看DNS

cat /etc/resolv.conf
linux查看IP相关

相关文章:

  • 2022-01-01
  • 2021-11-23
  • 2021-12-18
  • 2021-07-18
  • 2021-07-22
  • 2022-12-23
  • 2021-06-04
猜你喜欢
  • 2021-12-04
  • 2022-01-01
  • 2022-01-01
  • 2021-12-02
  • 2022-01-01
  • 2021-11-30
相关资源
相似解决方案