ifconfig查看IP: netstat -rn 查看网关 route -n 查看网关 nslookup 查看DNS 转载于:https://www.cnblogs.com/liguangsunls/p/6803739.html