What happens if the IP MTU is smaller than the MSS?Is MTU adaptive for any OSI layer 2 protocols?Wireshark tcp.len and data.len missmatchPre-fragmentation for IPsec VPNs on cisco routersIP FragmentationIP Datagram Fragmentation total length and payload calculationsWhy is the minimum MTU of a IPv4 packet 68 bytes?Regarding clns mtuWhy are Internet hosts “not required” to receive an IPv4 datagram larger than 576 bytes?TTL used during fragmentationHow does a TCP segment fit into a smaller IP packet?
How are showroom/display vehicles prepared?
What Happens when Passenger Refuses to Fly Boeing 737 Max?
Reverse string, can I make it faster?
How does NOW work?
Latex does not go to next line
Vocabulary for giving just numbers, not a full answer
Does "Until when" sound natural for native speakers?
Why doesn't this Google Translate ad use the word "Translation" instead of "Translate"?
When stopping and starting a tile job, what to do with the extra thinset from previous row's cleanup?
Could you please stop shuffling the deck and play already?
At what distance can a bugbear, holding a reach weapon, with Polearm Mastery, get their Opportunity Attack?
What is the magic ball of every day?
Reversed Sudoku
Examples of a statistic that is not independent of sample's distribution?
Hotkey (or other quick way) to insert a keyframe for only one component of a vector-valued property?
What was the Kree's motivation in Captain Marvel?
How can I get players to stop ignoring or overlooking the plot hooks I'm giving them?
How strictly should I take "Candidates must be local"?
What are some noteworthy "mic-drop" moments in math?
Find longest word in a string: are any of these algorithms good?
How to detect if C code (which needs 'extern C') is compiled in C++
Can Mathematica be used to create an Artistic 3D extrusion from a 2D image and wrap a line pattern around it?
Accepted offer letter, position changed
How many characters using PHB rules does it take to be able to have access to any PHB spell at the start of an adventuring day?
What happens if the IP MTU is smaller than the MSS?
Is MTU adaptive for any OSI layer 2 protocols?Wireshark tcp.len and data.len missmatchPre-fragmentation for IPsec VPNs on cisco routersIP FragmentationIP Datagram Fragmentation total length and payload calculationsWhy is the minimum MTU of a IPv4 packet 68 bytes?Regarding clns mtuWhy are Internet hosts “not required” to receive an IPv4 datagram larger than 576 bytes?TTL used during fragmentationHow does a TCP segment fit into a smaller IP packet?
Let's say i configure the MSS > IP MTU. Even if it doesn't make sense, would this be possible?
Assuming i then try to send a file of the size of MSS or bigger, the network layer will receive the data (plus TCP headers) from the transport layer and append it's own headers. The MTU of the datagram will now be greater than the configured MTU. Will the local network layer fragment the datagram or discard it (sending some kind of error to the upper layer)?
ip mtu data
New contributor
Chinchillo 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 |
Let's say i configure the MSS > IP MTU. Even if it doesn't make sense, would this be possible?
Assuming i then try to send a file of the size of MSS or bigger, the network layer will receive the data (plus TCP headers) from the transport layer and append it's own headers. The MTU of the datagram will now be greater than the configured MTU. Will the local network layer fragment the datagram or discard it (sending some kind of error to the upper layer)?
ip mtu data
New contributor
Chinchillo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
If i remember correctly, then the frames will be fragmented, but i'm not 100% sure.
– Cown
5 hours ago
add a comment |
Let's say i configure the MSS > IP MTU. Even if it doesn't make sense, would this be possible?
Assuming i then try to send a file of the size of MSS or bigger, the network layer will receive the data (plus TCP headers) from the transport layer and append it's own headers. The MTU of the datagram will now be greater than the configured MTU. Will the local network layer fragment the datagram or discard it (sending some kind of error to the upper layer)?
ip mtu data
New contributor
Chinchillo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Let's say i configure the MSS > IP MTU. Even if it doesn't make sense, would this be possible?
Assuming i then try to send a file of the size of MSS or bigger, the network layer will receive the data (plus TCP headers) from the transport layer and append it's own headers. The MTU of the datagram will now be greater than the configured MTU. Will the local network layer fragment the datagram or discard it (sending some kind of error to the upper layer)?
ip mtu data
ip mtu data
New contributor
Chinchillo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Chinchillo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 5 hours ago
Cown
6,36531030
6,36531030
New contributor
Chinchillo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 5 hours ago
Chinchillo Chinchillo
183
183
New contributor
Chinchillo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Chinchillo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Chinchillo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
If i remember correctly, then the frames will be fragmented, but i'm not 100% sure.
– Cown
5 hours ago
add a comment |
If i remember correctly, then the frames will be fragmented, but i'm not 100% sure.
– Cown
5 hours ago
If i remember correctly, then the frames will be fragmented, but i'm not 100% sure.
– Cown
5 hours ago
If i remember correctly, then the frames will be fragmented, but i'm not 100% sure.
– Cown
5 hours ago
add a comment |
1 Answer
1
active
oldest
votes
It depends which MTU you are actually talking about:
If you are talking about the layer-2 MTU, the IP packets are fragmented:
Let's say you want to send an UDP packet with 5000 bytes length over Ethernet. In this case one IP packet is generated that is 5068 bytes long. This packet is then split into fragments of 1500 bytes length. The fragments are transmitted.
If you are talking about the maximum IP packet length:
If one of the hosts involved does not support IP packets of the given length, the data transfer will fail. If the destination host does not support IP packets of 5068 bytes length (in the example), the packet cannot be received.
I read about an ISP using DS-Lite which does not support DS-Lite tunneling (IPv4-in-IPv6) if the resulting packet is longer than 1500 bytes. As a result a TCP/IPv4 packet with more than 1460 bytes length cannot be routed.
I think that most operating systems will silently limit the MSS to the maximum size of IP packets supported on the own host. However, many TCP/IP implementations do not send an MSS option in the first packet so it is possible that a TCP packet is longer than the maximum IP packet size allowed by the receiver. (Exactly this seem to be the case with the ISP mentioned above.)
Your "layer-2 MTU" is the maximum L2 PDU. "MTU" is an IETF term coined for IP, so it's generally L3.
– Zac67
1 hour ago
add a comment |
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',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Chinchillo 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
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fnetworkengineering.stackexchange.com%2fquestions%2f57569%2fwhat-happens-if-the-ip-mtu-is-smaller-than-the-mss%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
It depends which MTU you are actually talking about:
If you are talking about the layer-2 MTU, the IP packets are fragmented:
Let's say you want to send an UDP packet with 5000 bytes length over Ethernet. In this case one IP packet is generated that is 5068 bytes long. This packet is then split into fragments of 1500 bytes length. The fragments are transmitted.
If you are talking about the maximum IP packet length:
If one of the hosts involved does not support IP packets of the given length, the data transfer will fail. If the destination host does not support IP packets of 5068 bytes length (in the example), the packet cannot be received.
I read about an ISP using DS-Lite which does not support DS-Lite tunneling (IPv4-in-IPv6) if the resulting packet is longer than 1500 bytes. As a result a TCP/IPv4 packet with more than 1460 bytes length cannot be routed.
I think that most operating systems will silently limit the MSS to the maximum size of IP packets supported on the own host. However, many TCP/IP implementations do not send an MSS option in the first packet so it is possible that a TCP packet is longer than the maximum IP packet size allowed by the receiver. (Exactly this seem to be the case with the ISP mentioned above.)
Your "layer-2 MTU" is the maximum L2 PDU. "MTU" is an IETF term coined for IP, so it's generally L3.
– Zac67
1 hour ago
add a comment |
It depends which MTU you are actually talking about:
If you are talking about the layer-2 MTU, the IP packets are fragmented:
Let's say you want to send an UDP packet with 5000 bytes length over Ethernet. In this case one IP packet is generated that is 5068 bytes long. This packet is then split into fragments of 1500 bytes length. The fragments are transmitted.
If you are talking about the maximum IP packet length:
If one of the hosts involved does not support IP packets of the given length, the data transfer will fail. If the destination host does not support IP packets of 5068 bytes length (in the example), the packet cannot be received.
I read about an ISP using DS-Lite which does not support DS-Lite tunneling (IPv4-in-IPv6) if the resulting packet is longer than 1500 bytes. As a result a TCP/IPv4 packet with more than 1460 bytes length cannot be routed.
I think that most operating systems will silently limit the MSS to the maximum size of IP packets supported on the own host. However, many TCP/IP implementations do not send an MSS option in the first packet so it is possible that a TCP packet is longer than the maximum IP packet size allowed by the receiver. (Exactly this seem to be the case with the ISP mentioned above.)
Your "layer-2 MTU" is the maximum L2 PDU. "MTU" is an IETF term coined for IP, so it's generally L3.
– Zac67
1 hour ago
add a comment |
It depends which MTU you are actually talking about:
If you are talking about the layer-2 MTU, the IP packets are fragmented:
Let's say you want to send an UDP packet with 5000 bytes length over Ethernet. In this case one IP packet is generated that is 5068 bytes long. This packet is then split into fragments of 1500 bytes length. The fragments are transmitted.
If you are talking about the maximum IP packet length:
If one of the hosts involved does not support IP packets of the given length, the data transfer will fail. If the destination host does not support IP packets of 5068 bytes length (in the example), the packet cannot be received.
I read about an ISP using DS-Lite which does not support DS-Lite tunneling (IPv4-in-IPv6) if the resulting packet is longer than 1500 bytes. As a result a TCP/IPv4 packet with more than 1460 bytes length cannot be routed.
I think that most operating systems will silently limit the MSS to the maximum size of IP packets supported on the own host. However, many TCP/IP implementations do not send an MSS option in the first packet so it is possible that a TCP packet is longer than the maximum IP packet size allowed by the receiver. (Exactly this seem to be the case with the ISP mentioned above.)
It depends which MTU you are actually talking about:
If you are talking about the layer-2 MTU, the IP packets are fragmented:
Let's say you want to send an UDP packet with 5000 bytes length over Ethernet. In this case one IP packet is generated that is 5068 bytes long. This packet is then split into fragments of 1500 bytes length. The fragments are transmitted.
If you are talking about the maximum IP packet length:
If one of the hosts involved does not support IP packets of the given length, the data transfer will fail. If the destination host does not support IP packets of 5068 bytes length (in the example), the packet cannot be received.
I read about an ISP using DS-Lite which does not support DS-Lite tunneling (IPv4-in-IPv6) if the resulting packet is longer than 1500 bytes. As a result a TCP/IPv4 packet with more than 1460 bytes length cannot be routed.
I think that most operating systems will silently limit the MSS to the maximum size of IP packets supported on the own host. However, many TCP/IP implementations do not send an MSS option in the first packet so it is possible that a TCP packet is longer than the maximum IP packet size allowed by the receiver. (Exactly this seem to be the case with the ISP mentioned above.)
answered 4 hours ago
Martin RosenauMartin Rosenau
1,13318
1,13318
Your "layer-2 MTU" is the maximum L2 PDU. "MTU" is an IETF term coined for IP, so it's generally L3.
– Zac67
1 hour ago
add a comment |
Your "layer-2 MTU" is the maximum L2 PDU. "MTU" is an IETF term coined for IP, so it's generally L3.
– Zac67
1 hour ago
Your "layer-2 MTU" is the maximum L2 PDU. "MTU" is an IETF term coined for IP, so it's generally L3.
– Zac67
1 hour ago
Your "layer-2 MTU" is the maximum L2 PDU. "MTU" is an IETF term coined for IP, so it's generally L3.
– Zac67
1 hour ago
add a comment |
Chinchillo is a new contributor. Be nice, and check out our Code of Conduct.
Chinchillo is a new contributor. Be nice, and check out our Code of Conduct.
Chinchillo is a new contributor. Be nice, and check out our Code of Conduct.
Chinchillo is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Network Engineering Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fnetworkengineering.stackexchange.com%2fquestions%2f57569%2fwhat-happens-if-the-ip-mtu-is-smaller-than-the-mss%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
If i remember correctly, then the frames will be fragmented, but i'm not 100% sure.
– Cown
5 hours ago