查看外网IP curl ifconfig.me 查看内网IP ifconfig -a 查看网关 route -n Destination值位0.0.0.0对应的Gateway为默认网关 查看DNS cat /etc/resolv.conf 相关文章: 2022-01-01 2021-11-23 2021-12-18 2021-07-18 2021-07-22 2022-12-23 2021-06-04