linux(centos) DHCP模式时,查看网卡信息

1、查看IP地址 ipconfig

2、查看网关
(1)route -n

(2)ip route show

(3)routing table

3、查看dns cat /etc/resolv.conf

转载于:https://blog.51cto.com/5567445/2380668

你可能感兴趣的:(操作系统,运维)