diff --git a/Software/System/Linux/Linux_查看网关_子网掩码和_IP_地址.md b/Software/System/Linux/Linux_查看网关_子网掩码和_IP_地址.md new file mode 100644 index 0000000..778449b --- /dev/null +++ b/Software/System/Linux/Linux_查看网关_子网掩码和_IP_地址.md @@ -0,0 +1,10 @@ +# Linux查看网关、子网掩码和 IP 地址 + +```sh +# 查看网关和子网掩码 +route -n +netstat -r +# 查看 IP 地址等 +ifconfig +ip a +```