First, I should point out that the following is wrong:
Network and broadcast addresses that the system knows are evidently invalid (instantly rejected) tcp endpoints (broadcast addresses are valid for udp) , but not every address ending with a 0 or 255 is a network or a broadcast.Giorgio wrote:Any address ending with 0 is invalid as a TCP endpoint
For example, in a 192.168.0.0/16 network (192.168.0.1 - 192.168.255.254), the network and broadcast addresses are 192.168.0.0 and 192.168.255.255, but 192.168.1.0 and 192.168.0.255 are valid ips/endpoints.
Also, other .0 and .255 ips outside the 192.168 network would also be valid endpoints, since they are not known to be networks and broadcasts.
So here is the list as far as I can make it out, confirmed on xp with iperf and a sniffer:
- 0.0.0.0 - though not only a network address (refers also to a "this" host), explicitly defined to be an invalid destinationrfc1700 wrote:Can only be used as a source address
- 255.255.255.255 - local broadcast
- 127.0.0.0 - is a well known network address (127.0.0.0/8) configured on every system, therefore should be universally invalid
- 127.255.255.255 - corresponding broadcast
- 224.0.0.0 - 239.255.255.255 - multicast range, rejected for tcp
- 240.0.0.0 - 255.255.255.254 - reserved range, defined to be invalid