From 498fa355714a1b532b08f743f928e0d78508dd8b Mon Sep 17 00:00:00 2001 From: wxy Date: Tue, 14 Feb 2017 23:02:55 +0800 Subject: [PATCH] PRF&PUB:20170107 Check your Local and Public IP address.md @geekpi --- ...07 Check your Local and Public IP address.md | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) rename {translated/tech => published}/20170107 Check your Local and Public IP address.md (69%) diff --git a/translated/tech/20170107 Check your Local and Public IP address.md b/published/20170107 Check your Local and Public IP address.md similarity index 69% rename from translated/tech/20170107 Check your Local and Public IP address.md rename to published/20170107 Check your Local and Public IP address.md index cc1dcf7397..ba81d0bbf0 100644 --- a/translated/tech/20170107 Check your Local and Public IP address.md +++ b/published/20170107 Check your Local and Public IP address.md @@ -1,11 +1,9 @@ -# 检查你本地及公共 IP 地址 +小技巧:检查你本地及公共 IP 地址 +=================== +**你本地的 IP 地址:** **192.168.1.100** -**你本地的 IP 地址:** - -**192.168.1.100** - -Above is your local/private IP address(es) assigned to your internal hardware or virtual network card on your computer. Depending on your LAN 上面是分配给你计算机上的内部硬件或虚拟网卡的本地/私有 IP 地址。根据你的 LAN 配置,上述 IP 地址可能是静态或动态的。 +上面是分配给你计算机上的内部硬件或虚拟网卡的本地/私有 IP 地址。根据你的 LAN 配置,上述 IP 地址可能是静态或动态的。 **如果你找不到上述任何地址,请在 Linux 上执行 `ifconfig` 或 `ip` 命令手动检查内部 IP 地址:** @@ -15,10 +13,7 @@ Above is your local/private IP address(es) assigned to your internal hardware or # ip a s | grep -w inet | awk '{ print $2}' ``` - -**你公共的 IP 地址是:** - -**123.115.72.251** +**你公共的 IP 地址是:** **123.115.72.251** 上述地址是你的 Internet 服务提供商(ISP)为你分配的公共/外部 IP 地址。根据你与 ISP 的计划,它可能是动态的,这意味着它会在每次重启路由器后改变,它也可能是静态的,这意味着它将永远不会改变。 @@ -36,7 +31,7 @@ via: https://linuxconfig.org/check-your-local-and-public-ip-address 作者:[Lubos Rendek][a] 译者:[geekpi](https://github.com/geekpi) -校对:[校对者ID](https://github.com/校对者ID) +校对:[wxy](https://github.com/wxy) 本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出