首页 > 解决方案 > Router Has 2 IP's?

问题描述

I just read a router can and expected to have minimum of 2 ips, my question is when I type:

"What's my ip"

in google it shows me one public ip but how it decides which one of the two to show?

Plus, How can I see all my router ips on macOS?

标签: networkingipwifirouterethernet

解决方案


你混合了两件事。

路由器在不同网络上需要至少 2 个接口这一事实实际上与您的外部公共网络地址与您的内部私有地址不同这一事实无关。前一个事实与路由器的定义有关。而后一个事实与常用的“NAT”(网络地址转换)协议有关。


推荐阅读