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?
Vocabulary for giving just numbers, not a full answer
How does NOW work?
Intuition behind counterexample of Euler's sum of powers conjecture
Should I tell my boss the work he did was worthless
What is the magic ball of every day?
Is "conspicuously missing" or "conspicuously" the subject of this sentence?
Why is computing ridge regression with a Cholesky decomposition much quicker than using SVD?
What was the Kree's motivation in Captain Marvel?
Are there historical instances of the capital of a colonising country being temporarily or permanently shifted to one of its colonies?
When traveling to Europe from North America, do I need to purchase a different power strip?
What problems would a superhuman have whose skin is constantly hot?
Virginia employer terminated employee and wants signing bonus returned
Is compression "encryption" under FCC regs?
What are some noteworthy "mic-drop" moments in math?
At what distance can a bugbear, holding a reach weapon, with Polearm Mastery, get their Opportunity Attack?
Doesn't allowing a user mode program to access kernel space memory and execute the IN and OUT instructions defeat the purpose of having CPU modes?
PTIJ: Should I kill my computer after installing software?
weren't playing vs didn't play
Difference on montgomery curve equation between EFD and RFC7748
Why would one plane in this picture not have gear down yet?
How to secure an aircraft at a transient parking space?
Was Luke Skywalker the leader of the Rebel forces on Hoth?
How did Alan Turing break the enigma code using the hint given by the lady in the bar?
Good for you! in Russian
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
7 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 7 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 7 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
7 hours ago
add a comment |
If i remember correctly, then the frames will be fragmented, but i'm not 100% sure.
– Cown
7 hours ago
If i remember correctly, then the frames will be fragmented, but i'm not 100% sure.
– Cown
7 hours ago
If i remember correctly, then the frames will be fragmented, but i'm not 100% sure.
– Cown
7 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
4 hours 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
4 hours 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
4 hours 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 6 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
4 hours 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
4 hours ago
Your "layer-2 MTU" is the maximum L2 PDU. "MTU" is an IETF term coined for IP, so it's generally L3.
– Zac67
4 hours ago
Your "layer-2 MTU" is the maximum L2 PDU. "MTU" is an IETF term coined for IP, so it's generally L3.
– Zac67
4 hours 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
7 hours ago