Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
IPv6 Path MTU in the World and Japan
Search
Tomoyuki Sahara
June 16, 2014
Technology
1
20k
IPv6 Path MTU in the World and Japan
第6回IPv6オペレーションズフォーラムの発表スライド
Tomoyuki Sahara
June 16, 2014
Tweet
Share
More Decks by Tomoyuki Sahara
See All by Tomoyuki Sahara
IPv6 家庭用ルータ SWG 報告
tsahara
0
120
IPv6 RFC 改版の提案はなぜ議論紛糾したのか?
tsahara
2
2.1k
DNS と TLS のビミョーな関係
tsahara
1
550
how to embed mruby
tsahara
2
390
how to embed mruby (en)
tsahara
0
130
Other Decks in Technology
See All in Technology
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
0
110
SRE×AIOpsを始めよう!GuardDutyによるお手軽脅威検出
amixedcolor
0
190
ISUCONに強くなるかもしれない日々の過ごしかた/Findy ISUCON 2024-11-14
fujiwara3
8
880
Flutterによる 効率的なAndroid・iOS・Webアプリケーション開発の事例
recruitengineers
PRO
0
120
New Relicを活用したSREの最初のステップ / NRUG OKINAWA VOL.3
isaoshimizu
3
630
Why App Signing Matters for Your Android Apps - Android Bangkok Conference 2024
akexorcist
0
130
AWS Lambda のトラブルシュートをしていて思うこと
kazzpapa3
2
180
iOSチームとAndroidチームでブランチ運用が違ったので整理してます
sansantech
PRO
0
150
Platform Engineering for Software Developers and Architects
syntasso
1
520
データプロダクトの定義からはじめる、データコントラクト駆動なデータ基盤
chanyou0311
2
330
Adopting Jetpack Compose in Your Existing Project - GDG DevFest Bangkok 2024
akexorcist
0
110
Incident Response Practices: Waroom's Features and Future Challenges
rrreeeyyy
0
160
Featured
See All Featured
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
Faster Mobile Websites
deanohume
305
30k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
44
2.2k
A designer walks into a library…
pauljervisheath
204
24k
BBQ
matthewcrist
85
9.3k
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
Rails Girls Zürich Keynote
gr2m
94
13k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
0
110
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Transcript
*1W1BUI.56ͷ ͱରࡦ ࠤݪ ۩ <
[email protected]
> גࣜձࣾΠϯλʔωοτΠχγΞςΟϒ ʙ.56͕খͯ͘͞Կ͕ѱ͍ʂʁʙ
ຊͷ*1W1BUI.56 ͷݱঢ়Λௐࠪ͠·ͨ͠
͖͔͚ͬ JANOG33.5
ੈքنͷௐࠪͷ݁Ռ
ٙ w ͍Ζ͍Ζ՝͕ڍ͛ΒΕ͍ͯΔ͕࣮͋Δͷ͔ʁ ͕ࣗؾ͍͍ͮͯͳ͍͚ͩͳͷ͔ʁ w Ϥʔϩούओମͷௐࠪ݁Ռ͕Ψϥύΰεຊʹ ͯ·Δͷ͔ʁ
ௐͯΈΑ͏ʂ
ௐࠪ݁Ռͷલʹ
*1W1BUI.56 ʹ͍ͭͯܰ͘
.56 1500 Host ϗετ͕ૹग़Ͱ͖Δ ύέοτͷ࠷େ (Maximum Transfer Unit)
.56ճઢ࣍ୈ 1500 H Ethernet 1500 H WiFi 1454 H NGN
PPPoE 1500 H NGN IPoE 1280 H 6to4 1436 H IPsec VPN 1500 H LTE 1420 H ?
1BUI.56 ௨৴૬खͱͷؒͷ .56ͷ࠷খ R R R 1500 1454 1280 1436
C S S C 1280 1280 1280 1280 R R R
1BUI.56%JTDPWFSZ 1BUI.56Λ ݟ͚ͭΔಈ࡞ R R R 1500 1454 1280 1436
C S
3way handshake data (size=100) data (size=200) (size=1436) data x data
(size=1280) data (size=216) R R R 1500 1454 1280 1436 C S ICMPv6 Packet Too Big $ͷ1.56 Ͷ
1BUI.56#MBDL)PMF 1BUI.56%JTDPWFSZʹࣦഊ͠ɺ 1BUI.56ΑΓେ͖ͳύέοτΛ ૹΔ͜ͱͰύέϩε͕ൃੜ͢Δݱ R R R 1500 ??? ???
1436 C S ?
5$1.44$MBNQJOH 5$14:/ύέοτͷ.44Φϓγϣϯ Λॻ͖͑ɺ҆શͳ͞Λ௨͢Δٕ R R R 1500 1454 1280 1436
C S 3way handshake Maximum Segment Size .44 Ͱ .44 Ͱ Clamp! $ Ͱ
ௐࠪํ๏
Ͳ͜ͷ1BUI.56Λ ௐΔ͔ʁ
ճઢछྨ .56ͷࣾ-"/ .56ͷ/55ޫωΫετ111P&ଓ .56ͷ1BUI.56#MBDL)PMF͖ͭ *1*1τϯωϧଓ
௨৴૬ख
World IPv6 Launch
ੈքͷαΠτ Top 100
ຊͷαΠτ 94
ͷɺҰ෦ʂ
8PSME +BQBO શମ """"͕ແ͍ *1Wͷ౸ୡੑ͕ͳ͍
ͦͷଞ͍Ζ͍Ζ
ΣϒαΠτӾཡࢼݧ w *1W)551 4 ͰίϯςϯπΛऔಘ͢Δ w ίϯςϯπ,#Ҏ্ͷͷΛબͿ w λΠϜΞτඵͱ͢Δ
݁ՌαϚϦ
World 72 / 72 .56ڥͰޭ Japan 72 / 72
World Japan 72 / 72 ※ؾʹͳΔ1ͭϩγΞͷಈըڞ༗αΠτ .56ڥͰޭ 71 / 72
1
World 63 9 յ໓ɻɻɻ Japan 61 11 #MBDL)PMFڥͰ
5$1.44 $MBNQJOH ೖʂ
World 72 / 72 #MBDL)PMFڥ͕ʹʂ Japan 72 / 72
World 72 / 72 .56ڥͪΖΜ Japan 72 / 72
ίϯςϯπऔಘޭ World Japan MTU1500 72 72 MTU1454 71 72 MTU1454
/ TCPMSS 72 72 MTU1400 PMTU black hole 9 11 MTU1400 / TCPMSS PMTU black hole 72 72
ৄ͘͠ݟΔ ͦͷ5$1σʔλ ϖΠϩʔυ
5$1σʔλͷ.56 Sites 0 25 50 75 100 TCP Segment Size
(Max) 11721208122012281340134813541360136213681380138213881394140814281440 World Japan 9+10 PMTU black hole ରԠ? ࠷େαΠζ 52+56
5$1σʔλͷ.56 Sites 0 25 50 75 100 TCP Segment Size
(Max) 11721208122012281340134813541360136213681380138213881394140814281440 World Japan 52+56 9+10
5$1σʔλͷ.56 Sites 0 25 50 75 100 TCP Segment Size
(Max) 11721208122012281340134813541360136213681380138213881394140814281440 World Japan 41+52 9+10
5$1σʔλͷ5$1.44 Sites 0 25 50 75 100 TCP Segment Size
(Max) 11721208122012281340134813541360136213681380138213881394140814281440 World Japan 51+57 9+11
w 1BUI.56#MBDL)PMFͷ͋ΔڥͰӾཡͰ͖ͨ αΠτ͡Ί͔Β.56ʹ߹Θ͍ͤͯͨ w 5$1.44$MBNQJOHΛೖΕΔͱύέοτ͕৳ͼ εϧʔϓοτ্͕͢Δ ͜ͱ͕͋Δ 5$1σʔλͷ ͔ΒΘ͔ͬͨ͜ͱ
ৄ͘͠ݟΔ ͦͷ5$1ͷ࠶ૹൃੜ ͷՄೳੑ
5$1࠶ૹͷ༗ແ ࠶ૹ͋Γ ࠶ૹͳ͠ MTU1500 World 0 72 Japan 2 70
MTU1454 World 25 47 Japan 37 35 MTU1454 TCPMSS World 0 72 Japan 2 70
w .56͕ΑΓখ͍͞ͱ࠶ૹ͕ൃੜ͢ΔՄೳੑ ͕͋Δ 1BUI.56%JTDPWFSZͷͨΊ w 5$1.44$MBNQJOHΛೖΕΔͱ࠶ૹ͕ແ͘ͳΓ εϧʔϓοτͷ্͕ΊΔ 5$1࠶ૹͷ༗ແ ͔ΒΘ͔ͬͨ͜ͱ
ௐࠪͰಘΒΕͨڭ܇
• MTU1500 ͷճઢΛҾ͘ • ICMP6 Packet Too Big ΛϑΟϧλ͠ͳ͍ •
ϧʔλʹ TCP MSS Clamping ΛೖΕ͓ͯ͘ ΫϥΠΞϯτ
• MTU ͕ 1500 ΑΓখ͞ͳϦϯΫΛ࡞Βͳ͍ • ICMP6 Packet Too Big
ΛϑΟϧλ͠ͳ͍ *41
• (҆શΛظ͢ͳΒ) MTU Λ 1280 ʹߜ͓ͬͯ͘ • ্ྲྀʹ MTU<1500 ͳϦϯΫ͕͋Δ߹
MTU Λ ߜΔ͔ TCP MSS Clamping Λ࣮ࢪ͢Δ αʔό
Ҏ্Ͱ͢
࣭͋Γ·ͤΜ͔ ࠤݪ ۩ <
[email protected]
> גࣜձࣾΠϯλʔωοτΠχγΞςΟϒ *1W1BUI.56ͷͱରࡦ ʙ.56͕খͯ͘͞Կ͕ѱ͍ʂʁʙ https://speakerdeck.com/tsahara/ ipv6-path-mtu-in-the-world-and-japan
͓·͚
"""""ͷ 0 30 60 90 120 A / AAAA 0/1
1/1 1/2 1/3 1/4 11/1 2/1 2/2 3/1 3/2 3/3 5/1 World Japan
w *1WͰΞΫηεͰ͖ͳ͍ w ϦμΠϨΫτͰඈ͞ΕΔ͕ͦͷઌ͕*1WඇରԠ w ͯ͢ͷύέοτ͕ͭॏෳͯ͠ૹΒΕ͖ͯͨ w ͯ͢ͷύέοτ͕GSBHNFOUͩͬͨ
ௐࠪରআ֎ཧ༝