Ethernet padding value

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












When the data sent in an Ethernet frame is less than 46 bytes, extra padding needs to be added to the payload. The question is:



  • Which is the value of that Ethernet padding?

I'm asking since in real captures I checked this padding seems random, i.e. a changing combination of 1s and 0s.










share|improve this question







New contributor




Boni García is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.























    up vote
    1
    down vote

    favorite












    When the data sent in an Ethernet frame is less than 46 bytes, extra padding needs to be added to the payload. The question is:



    • Which is the value of that Ethernet padding?

    I'm asking since in real captures I checked this padding seems random, i.e. a changing combination of 1s and 0s.










    share|improve this question







    New contributor




    Boni García is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      When the data sent in an Ethernet frame is less than 46 bytes, extra padding needs to be added to the payload. The question is:



      • Which is the value of that Ethernet padding?

      I'm asking since in real captures I checked this padding seems random, i.e. a changing combination of 1s and 0s.










      share|improve this question







      New contributor




      Boni García is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      When the data sent in an Ethernet frame is less than 46 bytes, extra padding needs to be added to the payload. The question is:



      • Which is the value of that Ethernet padding?

      I'm asking since in real captures I checked this padding seems random, i.e. a changing combination of 1s and 0s.







      ethernet






      share|improve this question







      New contributor




      Boni García is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      Boni García is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      Boni García is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 1 hour ago









      Boni García

      1062




      1062




      New contributor




      Boni García is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Boni García is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Boni García is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          1
          down vote













          IEEE 802 packets may have a minimum size restriction. When necessary, the data field should be padded (with octets of zero) to meet the IEEE 802 minimum frame size requirements. This padding is not part of the IP datagram and is not included in the total length field of the IP header.






          share|improve this answer



























            up vote
            1
            down vote













            The padding can have any values, decided by the network interface card, the operating system and the driver.



            Conservative OS might pad with zeros. Lazy OS might leave whatever was in those memory locations alone, and you'll see leftovers from the previous frame.






            share|improve this answer




















              Your Answer







              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "496"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              convertImagesToLinks: false,
              noModals: false,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              noCode: true, onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );






              Boni García is a new contributor. Be nice, and check out our Code of Conduct.









               

              draft saved


              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fnetworkengineering.stackexchange.com%2fquestions%2f53489%2fethernet-padding-value%23new-answer', 'question_page');

              );

              Post as a guest






























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              1
              down vote













              IEEE 802 packets may have a minimum size restriction. When necessary, the data field should be padded (with octets of zero) to meet the IEEE 802 minimum frame size requirements. This padding is not part of the IP datagram and is not included in the total length field of the IP header.






              share|improve this answer
























                up vote
                1
                down vote













                IEEE 802 packets may have a minimum size restriction. When necessary, the data field should be padded (with octets of zero) to meet the IEEE 802 minimum frame size requirements. This padding is not part of the IP datagram and is not included in the total length field of the IP header.






                share|improve this answer






















                  up vote
                  1
                  down vote










                  up vote
                  1
                  down vote









                  IEEE 802 packets may have a minimum size restriction. When necessary, the data field should be padded (with octets of zero) to meet the IEEE 802 minimum frame size requirements. This padding is not part of the IP datagram and is not included in the total length field of the IP header.






                  share|improve this answer












                  IEEE 802 packets may have a minimum size restriction. When necessary, the data field should be padded (with octets of zero) to meet the IEEE 802 minimum frame size requirements. This padding is not part of the IP datagram and is not included in the total length field of the IP header.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 56 mins ago









                  Datagram.Network

                  1,153313




                  1,153313




















                      up vote
                      1
                      down vote













                      The padding can have any values, decided by the network interface card, the operating system and the driver.



                      Conservative OS might pad with zeros. Lazy OS might leave whatever was in those memory locations alone, and you'll see leftovers from the previous frame.






                      share|improve this answer
























                        up vote
                        1
                        down vote













                        The padding can have any values, decided by the network interface card, the operating system and the driver.



                        Conservative OS might pad with zeros. Lazy OS might leave whatever was in those memory locations alone, and you'll see leftovers from the previous frame.






                        share|improve this answer






















                          up vote
                          1
                          down vote










                          up vote
                          1
                          down vote









                          The padding can have any values, decided by the network interface card, the operating system and the driver.



                          Conservative OS might pad with zeros. Lazy OS might leave whatever was in those memory locations alone, and you'll see leftovers from the previous frame.






                          share|improve this answer












                          The padding can have any values, decided by the network interface card, the operating system and the driver.



                          Conservative OS might pad with zeros. Lazy OS might leave whatever was in those memory locations alone, and you'll see leftovers from the previous frame.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 40 mins ago









                          jonathanjo

                          5,860323




                          5,860323




















                              Boni García is a new contributor. Be nice, and check out our Code of Conduct.









                               

                              draft saved


                              draft discarded


















                              Boni García is a new contributor. Be nice, and check out our Code of Conduct.












                              Boni García is a new contributor. Be nice, and check out our Code of Conduct.











                              Boni García is a new contributor. Be nice, and check out our Code of Conduct.













                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fnetworkengineering.stackexchange.com%2fquestions%2f53489%2fethernet-padding-value%23new-answer', 'question_page');

                              );

                              Post as a guest













































































                              Comments

                              Popular posts from this blog

                              List of Gilmore Girls characters

                              What does second last employer means? [closed]

                              One-line joke