如何查看linux的ip

软件工程

  1、查看 IP 地址: iptables-> displayconfig-> showip
2、查看主机名: lspci,这个命令可以查到主机的 IP 地址,如果没有,可以用这个命令查到主机的名字。
3、查看网关: ifconfig-> network-> interfacename (一般是192.168.0.100)4、查看子网掩码: netmask-> typeoftypenxpecialcomparameters/ addr5、查看 DNS 服务器: nslookup-> dnsinfo6、查看路由表: route-> fromnstatusnotds7、查看路由表: route-> fromnstatusnotds8、查看路由表: route-> fromnstatusnotds9、查看路由表: route-> fromnstatusnotds10、查看路由表: route-> fromnstatusnotds11、查看路由表: route-> fromnstatusnotds12、查看路由表: route-> fromnstatusnotds13、查看路由表: route-> fromnstatusnotds14、查看路由表: route-> fromnstatusnotds

标签: 软件工程