Post by JF MezeiThe other day, I was trying to d some BT, and the app woiuld lock up.
Seems it was trying to connect to an IP that was invalid beause it
contained a 0 in it.
(like 74.23.0.234 )
Is it cprrect to state that an IP cannot contain a 0 in it ?
Remote nodename: 58.117.255.223
I was under the impression that 255 was reserved for broadcast addresses
only. Is it legal to have it in a IP address if it is followed by non
255 bytes ?
Nothing wrong with those. Only the first and last IP of a subnet are
broadcast addresses. You are confusing something you might see in the
last octet and even there it would be fine as long as the size of the
subnet was larger than /24 and the particular IP was not the first or
last IP of the range covered by that subnet. There are however some
corners of the Internet that do not handle a .0 or .255 in the last
subnet properly even in the cases where it's perfectly valid.
So just knowing what the IP address is will not tell you if that .0 or
.255 is valid, you need to know the subnet mask as well.
Examples:
1.0.0.1
255.255.255.254
Both could be valid device IP's though are reserved or not currently
allocated. So you would never see them on the internet
If I suppose I have a subnet of
198.18.0.0/15 then the following are all valid devices
198.18.0.255
198.19.0.0
The broadcast and network addresses for that subnet would be
198.18.0.0 - Network
198.19.255.255 - Broadcast
Everything in between those are valid device IP's in this example.
Ranges which are currently reserved:
0.0.0.0/8 Reserved for Local identification.
10.0.0.0/8 Private IP range. People use these for internal networks and
must use NAT to connect to the rest of the Internet.
127.0.0.0/8 Reserved for Loopback address
169.254.0.0/16 Reserved for local link. (peer to peer LAN
autoconfigurations)
172.16.0.0/12 Private IP range.
192.0.2.0/24 Reserved for Test-Net
192.88.99.0/24 Reserved for 6to4 Anycast Relay
192.168.0.0/16 Private IP range. (Most popular private range used on
NAT routers)
198.18.0.0/15 Reserved for network device benchmark testing. Good for
documentation and example uses too.
224.0.0.0/4 Reserved for Multicast (Not sure why this doesn't catch on
more, I guess ISP's haven't figure out how to charge for it)
240.0.0.0/4 Reserved for future uses. (Either someone invents a new way
to route traffic on the Internet or we simply run out of IP's and need
the extra space)
Your specific examples:
58.117.255.223 is assigned to Beijing Education Information Network
74.23.0.234 is assigned to Comcast Cable