ubuntu下查看IP Gateway DNS信息

使用nm-tool命令

在最底下有一行:

  IPv4 Settings:
    Address:         192.168.0.166
    Prefix:          24 (255.255.255.0)
    Gateway:         192.168.0.1

    DNS:             192.168.0.1

 

posted @ 2014-10-22 08:38  yshy  阅读(1715)  评论(0编辑  收藏  举报