相信不少学习网络的朋友,经常会听到“网关”这一词, 网关英文名称为Gateway,又称网间连接器、协议转换器。网关在网络层以上实现网络互连,是最复杂的网络互连设备,仅用于两个高层协议不同的网络互连,本篇文章重点为大家详细讲解一下Linux系统下查看网关具体方法。

ifconfig查看IP:

netstat -rn 查看网关

route -n 查看网关

nslookup 查看DNS

以上就是良许教程网为各位朋友分享的Linu系统相关内容。想要了解更多Linux相关知识记得关注公众号“良许Linux”,或扫描下方二维码进行关注,更多干货等着你 !
