IP

TCP/IP#

Tips#

# 获取 IP
curl checkip.amazonaws.com
curl ipinfo.io/ip
curl ifconfig.co
curl ipecho.net/plain
curl icanhazip.com
curl ipv4.icanhazip.com
# 使用 DNS 的方式获取
dig +short myip.opendns.com @resolver1.opendns.com
StartEndCountClassCIDR
10.0.0.010.255.255.25516777216A10.0.0.0/8
172.16.0.0172.31.255.2551048576B172.16.0.0/12
192.168.0.0192.168.255.25565536B192.168.0.0/16

FAQ#

IP-address ending with zero?#

  • 现在来说是没问题的, 20 年前有隐性的子网约定, .0 代表网络, .255 代表广播, 许多硬件设备和软件规则有基于这样的假设, 现在都是以 CIDR 为标准, 因此 .0 和 .255 都是有效的地址
  • IP-address ending with zero?

Tools#

https://ipjisuanqi.com/ https://dnsdaquan.com/ https://ipchaxun.com/ https://icplishi.com/jiashule.com/

apnic#

https://www.apnic.net/about-apnic/corporate-documents/documents/resource-guidelines/rir-statistics-exchange-format/

https://github.com/DanielPLSH/apnic 根据 apnic 发布的最新 IP 地址,分析电信、联通、移动等 IP 地址段

version|registry|serial|records|startdate|enddate|UTCoffset http://ftp.apnic.net/apnic/stats/apnic/delegated-apnic-latest