Distinguish the between intranet and official IP addresses

后端 未结 5 613
粉色の甜心
粉色の甜心 2021-02-06 11:03

How can I find out whether a given IP address is an official internet address or an internal intranet IP address?

5条回答
  •  渐次进展
    2021-02-06 12:04

    Besides those A,B,C intranet classes, there are other reserved addresses not used as public internet IPs, especially:

    • 127.x.y.z (loopback)
    • 0.x.y.z (reserved broadcast)
    • 224-255.x.y.z (multicast & future use)

    There are also many wasted IP addresses (legacy from stupid ages). You won't see most addresses in range

    • cca 3-40.x.y.z (i.e. 17.x.y.z wasted for Apple Computers)

提交回复
热议问题