How the two computers are able to ping themselves which are connected to single router but both are in different Network?

author

I have configured network as shown in figure. as we know that we can't ping computer which is in the other Network without routing protocol. then how I suppose to ping this computer as shown in figure without applying routing protocol. both computers in figure are in different Network.

  • Total 1 Answer
  • 1789
Can You answer this question?
author

We can ping between Pc's from different networks, If the two networks are connected to the same router's interfaces.

We are using routing protocols to give routers the knowledge where different networks exist. in this case If we check the routing table of the router, We can verify it, that both networks are directly connected.

Whoops, looks like something went wrong.

1/1 ErrorException in Filesystem.php line 111: file_put_contents(/var/www/html/storage/framework/sessions/kxA2WhThrwileVGoI6StBDotRnovssW9ZwPTGRu2): failed to open stream: No space left on device

  1. in Filesystem.php line 111
  2. at HandleExceptions->handleError(2, 'file_put_contents(/var/www/html/storage/framework/sessions/kxA2WhThrwileVGoI6StBDotRnovssW9ZwPTGRu2): failed to open stream: No space left on device', '/var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php', 111, array('path' => '/var/www/html/storage/framework/sessions/kxA2WhThrwileVGoI6StBDotRnovssW9ZwPTGRu2', 'contents' => 'a:4:{s:6:"_token";s:40:"AE6EqGZPKU1vBsDl7riUwShILewOU4KCGuKVKyuL";s:11:"viewed_urls";a:1:{i:0;s:120:"how-the-two-computers-are-able-to-ping-themselves-which-are-connected-to-single-router-but-both-are-in-different-network";}s:9:"_previous";a:1:{s:3:"url";s:148:"http://www.networkbulls.com/how-the-two-computers-are-able-to-ping-themselves-which-are-connected-to-single-router-but-both-are-in-different-network";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', 'lock' => true))
  3. at file_put_contents('/var/www/html/storage/framework/sessions/kxA2WhThrwileVGoI6StBDotRnovssW9ZwPTGRu2', 'a:4:{s:6:"_token";s:40:"AE6EqGZPKU1vBsDl7riUwShILewOU4KCGuKVKyuL";s:11:"viewed_urls";a:1:{i:0;s:120:"how-the-two-computers-are-able-to-ping-themselves-which-are-connected-to-single-router-but-both-are-in-different-network";}s:9:"_previous";a:1:{s:3:"url";s:148:"http://www.networkbulls.com/how-the-two-computers-are-able-to-ping-themselves-which-are-connected-to-single-router-but-both-are-in-different-network";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', 2) in Filesystem.php line 111
  4. at Filesystem->put('/var/www/html/storage/framework/sessions/kxA2WhThrwileVGoI6StBDotRnovssW9ZwPTGRu2', 'a:4:{s:6:"_token";s:40:"AE6EqGZPKU1vBsDl7riUwShILewOU4KCGuKVKyuL";s:11:"viewed_urls";a:1:{i:0;s:120:"how-the-two-computers-are-able-to-ping-themselves-which-are-connected-to-single-router-but-both-are-in-different-network";}s:9:"_previous";a:1:{s:3:"url";s:148:"http://www.networkbulls.com/how-the-two-computers-are-able-to-ping-themselves-which-are-connected-to-single-router-but-both-are-in-different-network";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', true) in FileSessionHandler.php line 83
  5. at FileSessionHandler->write('kxA2WhThrwileVGoI6StBDotRnovssW9ZwPTGRu2', 'a:4:{s:6:"_token";s:40:"AE6EqGZPKU1vBsDl7riUwShILewOU4KCGuKVKyuL";s:11:"viewed_urls";a:1:{i:0;s:120:"how-the-two-computers-are-able-to-ping-themselves-which-are-connected-to-single-router-but-both-are-in-different-network";}s:9:"_previous";a:1:{s:3:"url";s:148:"http://www.networkbulls.com/how-the-two-computers-are-able-to-ping-themselves-which-are-connected-to-single-router-but-both-are-in-different-network";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}') in Store.php line 128
  6. at Store->save() in StartSession.php line 88
  7. at StartSession->terminate(object(Request), object(Response)) in Kernel.php line 216
  8. at Kernel->terminateMiddleware(object(Request), object(Response)) in Kernel.php line 187
  9. at Kernel->terminate(object(Request), object(Response)) in index.php line 59
  10. at require_once('/var/www/html/public/index.php') in index.php line 20