3

Beginner Question: I just read an article talking about how the internet works and how routers make sure that packets arrive at the destination. However there is one thing that is not explained anywhere I am looking: What happens if we try to send a packet to a destination that does not exist?

Will it reach the NSP backbone and just be dropped? Will the sender be informed about it or will we just wait for a timeout? Follow up in case we just wait for a timeout: How do we know if the service does not exist or if we just timed out because it is busy?

Quote from the article:

"When a packet arrives at a router, the router examines the IP address put there by the IP protocol layer on the originating computer. The router checks it's routing table. If the network containing the IP address is found, the packet is sent to that network. If the network containing the IP address is not found, then the router sends the packet on a default route, usually up the backbone hierarchy to the next router. Hopefully the next router will know where to send the packet. If it does not, again the packet is routed upwards until it reaches a NSP backbone. The routers connected to the NSP backbones hold the largest routing tables and here the packet will be routed to the correct backbone, where it will begin its journey 'downward' through smaller and smaller networks until it finds it's destination."

1
  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you can provide and accept your own answer.
    – Ron Maupin
    Commented Dec 15, 2019 at 3:14

2 Answers 2

5

There are several possibilities, depending if it is just a host not assigned to the address, or if the network does not exist on the Internet.

If your business has the full Internet routing table in it router and the route does not exist, the router will drop the packet and send an ICMP message back to the source host informing it that there is no path to the network.

If your business uses a default route to its ISP, then the default route matches every destination network, and the packet will be sent to the ISP router to which the default route points. The ISP router probably does not have a default route, and if the network does not exist in its routing table, the router will drop the packet and send an ICMP message back to the source host informing it that there is no path to the network.

This continues all along the path toward the destination network.

If the destination network exists and is advertised on the Internet, but there is no host assigned to the address, then the final router will send an ICMP message back to the source host informing it that the destination does not exist.

0

When you enter ip address in browser computer logically creates a ip headers with souce ip address as computer private ip and destination ip as your choosen typed up in browser . Computer will have local arp table if arp is not available in arp table packet is forward to layer3 devices for gateway of computer in router it's will check for route in routing table route is verified again destination ip if there is no static route mean it's will choose default route and packet will forward to next exist interface of router .now isp will receive this packet at isp route again it will check for route again it choose default route packet is forwarded to root isp vendor from there it will forward to another isp at the same time traffic intaited computer will reset session because of no response for request within timeframe..session will be discarded with message host unreachable.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.