Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

non-routable IP address

Tags:

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.

like image 554
Jeremy French Avatar asked Feb 09 '09 15:02

Jeremy French


People also ask

What is a non routed IP address?

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.

What is a non routable IP address provide an example of one?

0.0 - 172.31. 255.255, 192.168. 0.0 - 192.168. 255.255) are commonly referred to as "non-routable" addresses.

What is the difference between routable and non routable IP 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.

Are 192.168 addresses routable?

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.


2 Answers

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.

like image 186
Peter Avatar answered Sep 29 '22 14:09

Peter


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.

like image 20
EBGreen Avatar answered Sep 29 '22 13:09

EBGreen