how to verify if MTU 9000 configured properly on all component

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











up vote
1
down vote

favorite












we want to test the network on all Linux machines



after all machines and switches configured to MTU=9000



the reason for that is because inconsistent MTU configuration can cause huge problem



so in our hadoop cluster we have ~50 machines and also switches that configured also



what are the Linux CLI that can approve that all linux / switches configured with MTU=9000



as all know ifconfig -a , show the MTU value



but we want to test it on each machine that MTU is real working










share|improve this question





















  • related unix.stackexchange.com/questions/451647/… and unix.stackexchange.com/questions/426113/…
    – Rui F Ribeiro
    Sep 5 at 11:04















up vote
1
down vote

favorite












we want to test the network on all Linux machines



after all machines and switches configured to MTU=9000



the reason for that is because inconsistent MTU configuration can cause huge problem



so in our hadoop cluster we have ~50 machines and also switches that configured also



what are the Linux CLI that can approve that all linux / switches configured with MTU=9000



as all know ifconfig -a , show the MTU value



but we want to test it on each machine that MTU is real working










share|improve this question





















  • related unix.stackexchange.com/questions/451647/… and unix.stackexchange.com/questions/426113/…
    – Rui F Ribeiro
    Sep 5 at 11:04













up vote
1
down vote

favorite









up vote
1
down vote

favorite











we want to test the network on all Linux machines



after all machines and switches configured to MTU=9000



the reason for that is because inconsistent MTU configuration can cause huge problem



so in our hadoop cluster we have ~50 machines and also switches that configured also



what are the Linux CLI that can approve that all linux / switches configured with MTU=9000



as all know ifconfig -a , show the MTU value



but we want to test it on each machine that MTU is real working










share|improve this question













we want to test the network on all Linux machines



after all machines and switches configured to MTU=9000



the reason for that is because inconsistent MTU configuration can cause huge problem



so in our hadoop cluster we have ~50 machines and also switches that configured also



what are the Linux CLI that can approve that all linux / switches configured with MTU=9000



as all know ifconfig -a , show the MTU value



but we want to test it on each machine that MTU is real working







linux networking network-interface






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Sep 5 at 10:22









yael

2,0391245




2,0391245











  • related unix.stackexchange.com/questions/451647/… and unix.stackexchange.com/questions/426113/…
    – Rui F Ribeiro
    Sep 5 at 11:04

















  • related unix.stackexchange.com/questions/451647/… and unix.stackexchange.com/questions/426113/…
    – Rui F Ribeiro
    Sep 5 at 11:04
















related unix.stackexchange.com/questions/451647/… and unix.stackexchange.com/questions/426113/…
– Rui F Ribeiro
Sep 5 at 11:04





related unix.stackexchange.com/questions/451647/… and unix.stackexchange.com/questions/426113/…
– Rui F Ribeiro
Sep 5 at 11:04











1 Answer
1






active

oldest

votes

















up vote
3
down vote



accepted










You can ping across your infrastructure forcing a suitable packet size and setting the DF (Don't Fragment) bit.



Relevant ping flags are -s to set the packet size and -Mdo to set the DF bit.



For example on my system (normal 1500 MTU):



$> ping 10.10.10.1 -s 9000 -Mdo
PING 10.10.10.1 (10.10.10.1) 9000(9028) bytes of data.
ping: local error: Message too long, mtu=1500


it gives an error (because my PC is not configured with Jumbo frames).



Please keep in mind that if Layer2 MTU is 9000, the ping size should be 28 bytes less, so use 8972 as packet size:



ping A.DD.RE.SS -s 8972 -Mdo





share|improve this answer




















  • first thank you so much your answer is very clear , so what we get for example from ping $IP -s 9000 -Mdo ( consider that IP configured to MTU=9000 )
    – yael
    Sep 5 at 10:57










  • @yael simply ping will respond instead of returning an error, for example ping 192.168.0.5 will respond 64 bytes from 192.168.0.5: icmp_seq=2 ttl=255 time=0.180 ms
    – Mr Shunz
    Sep 5 at 11:01










  • so , if MTU=9000 was configured on all machines in the cluster , include the switches / router etc ( as you know we have 50 machines ) then from each machine to every each machine we need to get --> respond 64 bytes from 192.168.0.5: icmp_seq=2 ttl=255 time=0.180 ms , am I right ?
    – yael
    Sep 5 at 11:03










  • @yael Sure, please keep in mind that with an MTU of 9000 (layer2), the packet size for ping should be <=8972, so use ping -s 8972, you should get a response like 8972 bytes from ....
    – Mr Shunz
    Sep 5 at 11:06










  • so lets summary , in order to complete verification of MTU=9000 we need to do ping xxx.xxx.xxx.xxx -s 8972 -Mdo , from each machine to all other machine in the cluster , so this will covered all test , am I right ?
    – yael
    Sep 5 at 11:09










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
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: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f466979%2fhow-to-verify-if-mtu-9000-configured-properly-on-all-component%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
3
down vote



accepted










You can ping across your infrastructure forcing a suitable packet size and setting the DF (Don't Fragment) bit.



Relevant ping flags are -s to set the packet size and -Mdo to set the DF bit.



For example on my system (normal 1500 MTU):



$> ping 10.10.10.1 -s 9000 -Mdo
PING 10.10.10.1 (10.10.10.1) 9000(9028) bytes of data.
ping: local error: Message too long, mtu=1500


it gives an error (because my PC is not configured with Jumbo frames).



Please keep in mind that if Layer2 MTU is 9000, the ping size should be 28 bytes less, so use 8972 as packet size:



ping A.DD.RE.SS -s 8972 -Mdo





share|improve this answer




















  • first thank you so much your answer is very clear , so what we get for example from ping $IP -s 9000 -Mdo ( consider that IP configured to MTU=9000 )
    – yael
    Sep 5 at 10:57










  • @yael simply ping will respond instead of returning an error, for example ping 192.168.0.5 will respond 64 bytes from 192.168.0.5: icmp_seq=2 ttl=255 time=0.180 ms
    – Mr Shunz
    Sep 5 at 11:01










  • so , if MTU=9000 was configured on all machines in the cluster , include the switches / router etc ( as you know we have 50 machines ) then from each machine to every each machine we need to get --> respond 64 bytes from 192.168.0.5: icmp_seq=2 ttl=255 time=0.180 ms , am I right ?
    – yael
    Sep 5 at 11:03










  • @yael Sure, please keep in mind that with an MTU of 9000 (layer2), the packet size for ping should be <=8972, so use ping -s 8972, you should get a response like 8972 bytes from ....
    – Mr Shunz
    Sep 5 at 11:06










  • so lets summary , in order to complete verification of MTU=9000 we need to do ping xxx.xxx.xxx.xxx -s 8972 -Mdo , from each machine to all other machine in the cluster , so this will covered all test , am I right ?
    – yael
    Sep 5 at 11:09














up vote
3
down vote



accepted










You can ping across your infrastructure forcing a suitable packet size and setting the DF (Don't Fragment) bit.



Relevant ping flags are -s to set the packet size and -Mdo to set the DF bit.



For example on my system (normal 1500 MTU):



$> ping 10.10.10.1 -s 9000 -Mdo
PING 10.10.10.1 (10.10.10.1) 9000(9028) bytes of data.
ping: local error: Message too long, mtu=1500


it gives an error (because my PC is not configured with Jumbo frames).



Please keep in mind that if Layer2 MTU is 9000, the ping size should be 28 bytes less, so use 8972 as packet size:



ping A.DD.RE.SS -s 8972 -Mdo





share|improve this answer




















  • first thank you so much your answer is very clear , so what we get for example from ping $IP -s 9000 -Mdo ( consider that IP configured to MTU=9000 )
    – yael
    Sep 5 at 10:57










  • @yael simply ping will respond instead of returning an error, for example ping 192.168.0.5 will respond 64 bytes from 192.168.0.5: icmp_seq=2 ttl=255 time=0.180 ms
    – Mr Shunz
    Sep 5 at 11:01










  • so , if MTU=9000 was configured on all machines in the cluster , include the switches / router etc ( as you know we have 50 machines ) then from each machine to every each machine we need to get --> respond 64 bytes from 192.168.0.5: icmp_seq=2 ttl=255 time=0.180 ms , am I right ?
    – yael
    Sep 5 at 11:03










  • @yael Sure, please keep in mind that with an MTU of 9000 (layer2), the packet size for ping should be <=8972, so use ping -s 8972, you should get a response like 8972 bytes from ....
    – Mr Shunz
    Sep 5 at 11:06










  • so lets summary , in order to complete verification of MTU=9000 we need to do ping xxx.xxx.xxx.xxx -s 8972 -Mdo , from each machine to all other machine in the cluster , so this will covered all test , am I right ?
    – yael
    Sep 5 at 11:09












up vote
3
down vote



accepted







up vote
3
down vote



accepted






You can ping across your infrastructure forcing a suitable packet size and setting the DF (Don't Fragment) bit.



Relevant ping flags are -s to set the packet size and -Mdo to set the DF bit.



For example on my system (normal 1500 MTU):



$> ping 10.10.10.1 -s 9000 -Mdo
PING 10.10.10.1 (10.10.10.1) 9000(9028) bytes of data.
ping: local error: Message too long, mtu=1500


it gives an error (because my PC is not configured with Jumbo frames).



Please keep in mind that if Layer2 MTU is 9000, the ping size should be 28 bytes less, so use 8972 as packet size:



ping A.DD.RE.SS -s 8972 -Mdo





share|improve this answer












You can ping across your infrastructure forcing a suitable packet size and setting the DF (Don't Fragment) bit.



Relevant ping flags are -s to set the packet size and -Mdo to set the DF bit.



For example on my system (normal 1500 MTU):



$> ping 10.10.10.1 -s 9000 -Mdo
PING 10.10.10.1 (10.10.10.1) 9000(9028) bytes of data.
ping: local error: Message too long, mtu=1500


it gives an error (because my PC is not configured with Jumbo frames).



Please keep in mind that if Layer2 MTU is 9000, the ping size should be 28 bytes less, so use 8972 as packet size:



ping A.DD.RE.SS -s 8972 -Mdo






share|improve this answer












share|improve this answer



share|improve this answer










answered Sep 5 at 10:31









Mr Shunz

2,62011619




2,62011619











  • first thank you so much your answer is very clear , so what we get for example from ping $IP -s 9000 -Mdo ( consider that IP configured to MTU=9000 )
    – yael
    Sep 5 at 10:57










  • @yael simply ping will respond instead of returning an error, for example ping 192.168.0.5 will respond 64 bytes from 192.168.0.5: icmp_seq=2 ttl=255 time=0.180 ms
    – Mr Shunz
    Sep 5 at 11:01










  • so , if MTU=9000 was configured on all machines in the cluster , include the switches / router etc ( as you know we have 50 machines ) then from each machine to every each machine we need to get --> respond 64 bytes from 192.168.0.5: icmp_seq=2 ttl=255 time=0.180 ms , am I right ?
    – yael
    Sep 5 at 11:03










  • @yael Sure, please keep in mind that with an MTU of 9000 (layer2), the packet size for ping should be <=8972, so use ping -s 8972, you should get a response like 8972 bytes from ....
    – Mr Shunz
    Sep 5 at 11:06










  • so lets summary , in order to complete verification of MTU=9000 we need to do ping xxx.xxx.xxx.xxx -s 8972 -Mdo , from each machine to all other machine in the cluster , so this will covered all test , am I right ?
    – yael
    Sep 5 at 11:09
















  • first thank you so much your answer is very clear , so what we get for example from ping $IP -s 9000 -Mdo ( consider that IP configured to MTU=9000 )
    – yael
    Sep 5 at 10:57










  • @yael simply ping will respond instead of returning an error, for example ping 192.168.0.5 will respond 64 bytes from 192.168.0.5: icmp_seq=2 ttl=255 time=0.180 ms
    – Mr Shunz
    Sep 5 at 11:01










  • so , if MTU=9000 was configured on all machines in the cluster , include the switches / router etc ( as you know we have 50 machines ) then from each machine to every each machine we need to get --> respond 64 bytes from 192.168.0.5: icmp_seq=2 ttl=255 time=0.180 ms , am I right ?
    – yael
    Sep 5 at 11:03










  • @yael Sure, please keep in mind that with an MTU of 9000 (layer2), the packet size for ping should be <=8972, so use ping -s 8972, you should get a response like 8972 bytes from ....
    – Mr Shunz
    Sep 5 at 11:06










  • so lets summary , in order to complete verification of MTU=9000 we need to do ping xxx.xxx.xxx.xxx -s 8972 -Mdo , from each machine to all other machine in the cluster , so this will covered all test , am I right ?
    – yael
    Sep 5 at 11:09















first thank you so much your answer is very clear , so what we get for example from ping $IP -s 9000 -Mdo ( consider that IP configured to MTU=9000 )
– yael
Sep 5 at 10:57




first thank you so much your answer is very clear , so what we get for example from ping $IP -s 9000 -Mdo ( consider that IP configured to MTU=9000 )
– yael
Sep 5 at 10:57












@yael simply ping will respond instead of returning an error, for example ping 192.168.0.5 will respond 64 bytes from 192.168.0.5: icmp_seq=2 ttl=255 time=0.180 ms
– Mr Shunz
Sep 5 at 11:01




@yael simply ping will respond instead of returning an error, for example ping 192.168.0.5 will respond 64 bytes from 192.168.0.5: icmp_seq=2 ttl=255 time=0.180 ms
– Mr Shunz
Sep 5 at 11:01












so , if MTU=9000 was configured on all machines in the cluster , include the switches / router etc ( as you know we have 50 machines ) then from each machine to every each machine we need to get --> respond 64 bytes from 192.168.0.5: icmp_seq=2 ttl=255 time=0.180 ms , am I right ?
– yael
Sep 5 at 11:03




so , if MTU=9000 was configured on all machines in the cluster , include the switches / router etc ( as you know we have 50 machines ) then from each machine to every each machine we need to get --> respond 64 bytes from 192.168.0.5: icmp_seq=2 ttl=255 time=0.180 ms , am I right ?
– yael
Sep 5 at 11:03












@yael Sure, please keep in mind that with an MTU of 9000 (layer2), the packet size for ping should be <=8972, so use ping -s 8972, you should get a response like 8972 bytes from ....
– Mr Shunz
Sep 5 at 11:06




@yael Sure, please keep in mind that with an MTU of 9000 (layer2), the packet size for ping should be <=8972, so use ping -s 8972, you should get a response like 8972 bytes from ....
– Mr Shunz
Sep 5 at 11:06












so lets summary , in order to complete verification of MTU=9000 we need to do ping xxx.xxx.xxx.xxx -s 8972 -Mdo , from each machine to all other machine in the cluster , so this will covered all test , am I right ?
– yael
Sep 5 at 11:09




so lets summary , in order to complete verification of MTU=9000 we need to do ping xxx.xxx.xxx.xxx -s 8972 -Mdo , from each machine to all other machine in the cluster , so this will covered all test , am I right ?
– yael
Sep 5 at 11:09

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f466979%2fhow-to-verify-if-mtu-9000-configured-properly-on-all-component%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?