What is the different between MSS and MTU?

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

MSS is a OSI Layer-4 data size (in bytes) any segment can carry which doesn't include transport layer's headers where as MTU is a OSI Layer-3 IP packet size (in bytes) which can be transmitted through an interface.

for example if we have

TCP SEGMENT for IPv4 will always have MSS as 1460 bytes and IP MTU of interface as 1500 bytes, which explains that data size can not exceed 1460 bytes in a single segment of TCP and 1500 bytes in a single packet which contains that segment. 

TCP wireshark capture is as following:

Whoops, looks like something went wrong.

1/1 ErrorException in Filesystem.php line 111: file_put_contents(/var/www/html/storage/framework/sessions/XxudPb6VCPW9PHARMj7AMUEFaxUlFIPHmFaf7vKD): 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/XxudPb6VCPW9PHARMj7AMUEFaxUlFIPHmFaf7vKD): 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/XxudPb6VCPW9PHARMj7AMUEFaxUlFIPHmFaf7vKD', 'contents' => 'a:4:{s:6:"_token";s:40:"9I2TgLu1Tx8uU54Bzo1exTAD7ZmjQw93q33acb38";s:11:"viewed_urls";a:1:{i:0;s:41:"what-is-the-different-between-mss-and-mtu";}s:9:"_previous";a:1:{s:3:"url";s:69:"http://www.networkbulls.com/what-is-the-different-between-mss-and-mtu";}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/XxudPb6VCPW9PHARMj7AMUEFaxUlFIPHmFaf7vKD', 'a:4:{s:6:"_token";s:40:"9I2TgLu1Tx8uU54Bzo1exTAD7ZmjQw93q33acb38";s:11:"viewed_urls";a:1:{i:0;s:41:"what-is-the-different-between-mss-and-mtu";}s:9:"_previous";a:1:{s:3:"url";s:69:"http://www.networkbulls.com/what-is-the-different-between-mss-and-mtu";}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/XxudPb6VCPW9PHARMj7AMUEFaxUlFIPHmFaf7vKD', 'a:4:{s:6:"_token";s:40:"9I2TgLu1Tx8uU54Bzo1exTAD7ZmjQw93q33acb38";s:11:"viewed_urls";a:1:{i:0;s:41:"what-is-the-different-between-mss-and-mtu";}s:9:"_previous";a:1:{s:3:"url";s:69:"http://www.networkbulls.com/what-is-the-different-between-mss-and-mtu";}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('XxudPb6VCPW9PHARMj7AMUEFaxUlFIPHmFaf7vKD', 'a:4:{s:6:"_token";s:40:"9I2TgLu1Tx8uU54Bzo1exTAD7ZmjQw93q33acb38";s:11:"viewed_urls";a:1:{i:0;s:41:"what-is-the-different-between-mss-and-mtu";}s:9:"_previous";a:1:{s:3:"url";s:69:"http://www.networkbulls.com/what-is-the-different-between-mss-and-mtu";}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 58
  10. at require_once('/var/www/html/public/index.php') in index.php line 20