I know that 127.0.0.1 is by convention the loopback address and that there are various address ranges which are reserved for local use.
Is there an IP address that is reserved never to be assigned?
I would like to test that something works when an IP address can't be found, I could just use a local address which isn't used but thought that there may be an address which is reserved for such use.
The term non routable just means exactly that; that IP packets cannot be directed from one network to another. This could be because your router is not configured with the information it needs to perform this operation, or because you are trying to access a private network.
0.0 - 172.31. 255.255, 192.168. 0.0 - 192.168. 255.255) are commonly referred to as "non-routable" addresses.
A routable protocol's data can be passed through a router. A non-routable protocol's data cannot be passed through a router. Routable protocols work with a router. Non-Routable protocols are designed to work on small and cannot be used with a router.
192.168.The remaining addresses are considered “public,” and thus are routable on the global Internet. Use caution when setting filters to exclude these private address ranges.
According to Wikipedia article on reserved addresses, there are 3 test networks intended for use in documentation only.
192.0.2.0/24
198.51.100.0/24
203.0.113.0/24
Any address in one of those ranges (eg 203.0.113.1) should not map to anything, and indeed should fail to route.
Depending on the type of test you are doing, there are other listed addresses and address ranges that could be appropriate for what you are trying to do.
I think you may want to reword your question. The private address segments (10.0.0.0 - 10.255.255.255, 172.16.0.0 - 172.31.255.255, 192.168.0.0 - 192.168.255.255) are commonly referred to as "non-routable" addresses. I think what you are asking for is a reserved IP address that is reserved specifically to never be assigned. As far as I know there is no address that is reserved in this fashion.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With