Linux查看IP 网关 DNS

ifconfig查看IP:

netstat -rn 查看网关


route -n 查看网关


nslookup 查看DNS


原文地址:https://www.cnblogs.com/liguangsunls/p/6803739.html