linux查看IP相关

查看外网IP curl ifconfig.me 查看内网IP ifconfig -a 查看网关 route -n Destination值位0.0.0.0对应的Gateway为默认网关 查看DNS cat /etc/resolv.conf
相关文章
相关标签/搜索