¿ù°£ Àα⠰Խù°

°Ô½Ã¹° 160°Ç
   
OpenStack 񃧯 MTU 1500
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2018-07-19 (¸ñ) 18:08 Á¶È¸ : 96339
±ÛÁÖ¼Ò :
                          

OpenStack 񃧯 MTU 1500
https://stackoverflow.com/questions/37938785/mtu-1500-fragment-packets-after-1472-bytes


Ping option
-M pmtudisc_opt
 : Select  Path  MTU  Discovery  strategy.   pmtudisc_option may be either do (prohibit fragmentation, even local one), want (do PMTU discovery, fragment locally when packet size is large), or dont (do not set DF flag).

MTU °Ë»öÀü·« ¼±ÅÃ. ¾Æ·¡ ¿É¼ÇÀ» È°¿ëÇؼ­ ÆÐŶÀ» ´ÜÆíÈ­(ºÐÇÒ) ÇÒÁö¸¦ °áÁ¤ 
 - do - ·ÎÄÿ¡¼­ ´ÜÆíÈ­(ºÐÇÒ) ÇÏÁö ¾ÊÀ½
 - want - MTU °ªº¸´Ù Ŭ °æ¿ì ·ÎÄÿ¡¼­ ´ÜÆíÈ­(ºÐÇÒ) ÁøÇà
 - dont - want ¿Í µ¿ÀÏÇÏ¸ç ´ÜÆíÈ­(ºÐÇÒ) ÁøÇàÇÏÁö¸¸ DF flag¸¦ ¼³Á¤ÇÏÁö ¾Ê¾Æ flag °ªÀÌ ¾øÀ½
¡Ø want, dont ¿É¼Ç¿¡¼­´Â ÆÐŶÀ» ´ÜÆíÈ­Çϱ⿡ MTU »çÀÌÁ´Ù Å« ÆÐŶÀÌ ¿À´õ¶óµµ ´ÜÆíÈ­ÇÏ¿© ÁøÇà

-s packetsize
 : Specifies the number of data bytes to be sent.  The default is 56, which translates into 64  ICMP  data  bytes when combined with the 8 bytes of ICMP header data.



ICMP
1500 bytes (Ethernet mtu) - 20 byte (IP header) - 8 byte (ICMP header)
= 1472 byte

±âº» MTU 1500 ȯ°æ
# ping -M do -s 1472 115.XXX.XXX.155
PING 115.XXX.XXX.155 (115.XXX.XXX.155) 1472(1500) bytes of data.
1480 bytes from 115.XXX.XXX.155: icmp_seq=1 ttl=47 time=6.24 ms
1480 bytes from 115.XXX.XXX.155: icmp_seq=2 ttl=47 time=5.25 ms
^C
--- 115.XXX.XXX.155 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
...........................


# ping -M do -s 1473 115.XXX.XXX.155
PING 115.XXX.XXX.155 (115.XXX.XXX.155) 1473(1501) bytes of data.
ping: local error: Message too long, mtu=1500
ping: local error: Message too long, mtu=1500
^C
--- 115.XXX.XXX.155 ping statistics ---
2 packets transmitted, 0 received, +2 errors, 100% packet loss, time 1008ms




IWINV OpenStack MTU 1450
 1450 - 20 byte (IP header) - 8 byte (ICMP header) = 1422


# ping -M do -s 1423 49.XXX.XXX.14
PING 49.XXX.XXX.14 (49.XXX.XXX.14) 1423(1451) bytes of data.
^C
--- 49.XXX.XXX.14 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1001ms

# ping -M do -s 1422 49.XXX.XXX.14
PING 49.XXX.XXX.14 (49.XXX.XXX.14) 1422(1450) bytes of data.
1430 bytes from 49.XXX.XXX.14: icmp_seq=1 ttl=45 time=3.67 ms
1430 bytes from 49.XXX.XXX.14: icmp_seq=2 ttl=45 time=3.67 ms

À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.