Ethernet padding value
Clash 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.
ethernet
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.
add a comment |Â
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.
ethernet
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.
add a comment |Â
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.
ethernet
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
ethernet
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.
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.
add a comment |Â
add a comment |Â
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.
add a comment |Â
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.
add a comment |Â
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.
add a comment |Â
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.
add a comment |Â
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.
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.
answered 56 mins ago


Datagram.Network
1,153313
1,153313
add a comment |Â
add a comment |Â
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.
add a comment |Â
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.
add a comment |Â
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.
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.
answered 40 mins ago
jonathanjo
5,860323
5,860323
add a comment |Â
add a comment |Â
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.
Boni GarcÃa is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password