linux檢視本機IP gateway dns
阿新 • • 發佈:2018-11-09
分享一下我老師大神的人工智慧教程!零基礎,通俗易懂!http://blog.csdn.net/jiangjunshow
也歡迎大家轉載本篇文章。分享知識,造福人民,實現我們中華民族偉大復興!
IP: ifconfig gateway: [[email protected] Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 172.16.44.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet8 172.16.10.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet1 172.16.0.0 0.0.0.0 255.255.252.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 0.0.0.0 (以0.0.0.0開始的行的gateway是預設閘道器) DNS: [[email protected] ~]# cat /etc/resolv.conf search localdomain nameserver 172.16.0.250 |