Why we calculate subnet mask in sub-netting?

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

We do not calculate subnet-mask, we provide it for the ip device. Think of a subnet-mask as a veil or window which can be pulled to cover or expose whatever needs to be shown and how big it is. In this case, what we want to expose or cutoff is the network address of a fixed 4 bytes length addresses of devices so that the remaining length values can be used to uniquely tag devices. The only calculation we do is to imagine how many devices we will want to accommodate so that the subnet-mask can be extended or shortened accordingly...

Whoops, looks like something went wrong.

1/1 ErrorException in Filesystem.php line 111: file_put_contents(/var/www/html/storage/framework/sessions/WQDbmojHdPaXWcjurDp5k7xilc9jnPYp2y7fDgVd): 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/WQDbmojHdPaXWcjurDp5k7xilc9jnPYp2y7fDgVd): 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/WQDbmojHdPaXWcjurDp5k7xilc9jnPYp2y7fDgVd', 'contents' => 'a:4:{s:6:"_token";s:40:"Frsl5KNc0JXq5Rjdr5GXa1tMobdRRtLXER5w4nqo";s:11:"viewed_urls";a:1:{i:0;s:43:"why-we-calculate-subnet-mask-in-sub-netting";}s:9:"_previous";a:1:{s:3:"url";s:71:"http://www.networkbulls.com/why-we-calculate-subnet-mask-in-sub-netting";}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/WQDbmojHdPaXWcjurDp5k7xilc9jnPYp2y7fDgVd', 'a:4:{s:6:"_token";s:40:"Frsl5KNc0JXq5Rjdr5GXa1tMobdRRtLXER5w4nqo";s:11:"viewed_urls";a:1:{i:0;s:43:"why-we-calculate-subnet-mask-in-sub-netting";}s:9:"_previous";a:1:{s:3:"url";s:71:"http://www.networkbulls.com/why-we-calculate-subnet-mask-in-sub-netting";}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/WQDbmojHdPaXWcjurDp5k7xilc9jnPYp2y7fDgVd', 'a:4:{s:6:"_token";s:40:"Frsl5KNc0JXq5Rjdr5GXa1tMobdRRtLXER5w4nqo";s:11:"viewed_urls";a:1:{i:0;s:43:"why-we-calculate-subnet-mask-in-sub-netting";}s:9:"_previous";a:1:{s:3:"url";s:71:"http://www.networkbulls.com/why-we-calculate-subnet-mask-in-sub-netting";}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('WQDbmojHdPaXWcjurDp5k7xilc9jnPYp2y7fDgVd', 'a:4:{s:6:"_token";s:40:"Frsl5KNc0JXq5Rjdr5GXa1tMobdRRtLXER5w4nqo";s:11:"viewed_urls";a:1:{i:0;s:43:"why-we-calculate-subnet-mask-in-sub-netting";}s:9:"_previous";a:1:{s:3:"url";s:71:"http://www.networkbulls.com/why-we-calculate-subnet-mask-in-sub-netting";}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