Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Segment Routingの利用例と未来

Segment Routingの利用例と未来

#wakate2018で話したSegment Routingについての紹介スライド
公開版なので自己紹介とちょっとした補足が増えてます(がほとんど本編に変わりはありません)

8e1e170fce92e2300b3bb1780326dc9a?s=128

Takeru Hayasaka

October 08, 2018
Tweet

Transcript

  1. 4FHNFOU3PVUJOHͷ ར༻ྫͱະདྷ ૣࡔඩྲྀ !UBLFNJP*0 XBLBUF 1

  2. 8IPBNJ w ͸΍͔͚ͨ͞Δ !UBLFNJP*0  w ωοτϫʔΫ΍ҙຯ࿦ JOGPTFD ʹڵຯ͕͋Δ w

    ͕஀ੜ೔Ͱඒຯ͍͓͠ञͷ ҿΈํΛֶͼʹདྷ·ͨ͠ w ࣮͸ωοτϫʔΫ͸ࠓ೥౓͔Β ΍ͬͯΔॳ৺ऀͳͷͰͪΐͬͱ ͨ͠αʔϕΠΛ࿩͠ʹདྷͨ !2
  3. ໨త 4FHNFOU3PVUJOHΛ ͳΜͱͳ͘  ཧղͨ͠φ΢ͰϠϯάͳएखʹͳΔ !3

  4. ௐࠪ 4

  5. ௐࠪ! #(1΍041' *(1Λ ஌͍ͬͯΔ࢖͍ͬͯΔ

  6. ௐࠪ! ΞϯμʔϨΠ΍ΦʔόʔϨΠͱ ݴΘΕͯงғؾ͕Θ͔Δ

  7. ௐࠪ! 4FHNFOU3PVUJOHΛ஌͍ͬͯΔ

  8. ௐࠪ 4FHNFOU3PVUJOH Λʮ࢖ͬͯʯ͍Δ

  9. 4FHNFOU3PVUJOHΛ Α͘͝ଘ஌ͷօ͞Μ͸ ෼΄ͲͷٳܜʹͳΓ·͢ !9

  10. ͓඼ॻ͖ wഎܠࣄ৘ͱ4FHNFOU3PVUJOHͱ͸ wجૅ஌ࣝ wϢʔεέʔε wඪ४Խಈ޲ wະདྷͱͦͷઌ΁ !10

  11. എܠࣄ৘ͱ4FHNFOU3PVUJOHͱ͸ !11

  12. എܠ w ωοτϫʔΫࣄۀऀͷ๊͑ͯΔ໰୊ w ωοτϫʔΫͱτϥϑΟοΫύλʔϯ΋೥ʑෳࡶͰ ଟ༷ʹͳ͍ͬͯΔɻ w ऩӹΛߴΊΔʹ͸٬ʹྑ͍αʔϏεΛఏڙ͢Δඞཁ͕ ͋Γɺਫ਼౓ͷߴ͍τϥϑΟοΫ੍ޚ΁ͷχʔζ΋ߴ·ͬ ͍ͯΔɻ

    !12
  13. ڞ௨ͷ໰͍ !13

  14. ڞ௨ͷ໰͍ w2؅ཧίετΛ૿େͤͣ͞ʹଟ༷ͳαʔϏε Λఏڙ͢Δʹ͸ɺͲ͏͢Ε͹͍͍ͷ͔ɻ

  15. ڞ௨ͷ໰͍ w"ܦ࿏Λ໌ࣔతʹࢦఆ੍͠ޚ͢Δ wҰൠʹτϥϑΟοΫΤϯδχΞϦϯάͱΑ ͹ΕΔ w ʢ͔ͳΓڱٛͳදݱײ͸͋ΔͷͰ͋͘·ͰҰྫͰ͢ʣ

  16. τϥϑΟοΫ ΤϯδχΞϦϯά w௨ৗͷ*1ܦ࿏৘ใʹैͬͨܦ࿏બ୒Ͱ͸ɺجຊత ʹ࠷୹ܦ࿏͕બ୒͞ΕΔɻ w݁Ռɺಛఆܦ࿏ʹτϥϑΟοΫ͕ूத͠΍͘͢ͳΓɺ αʔϏεͷ಺༰ʹԠͨ͡ॊೈͳܦ࿏બ୒΋೉͠ ͍ɾɾɾ wŠଞʹ΋طଘͷϓϩτίϧʹ͸໰୊͕ɾɾɾ

  17. 34715&ͷྫ w34715& wطଘͷ3471ʹϥϕϧ഑෍ͱ5&ʢ5SB⒏D &OHJOJFFSJOHʣͷػೳΛରԠ֦ͤͨ͞ுϓϩτί ϧ

  18. 34715&ͷྫ wύέοτͷ௨աܦ࿏ͱͳΔτϯωϧΛ࡞੒͢ΔͨΊɺ ࣄલγάφϦϯά͕ൃੜ͢Δ w֤ϊʔυ͕ܦ࿏ʹؔ͢ΔεςʔτΛอ࣋͢Δ wŠ݁Ռ؅ཧ͕ෳࡶʹͳΓɺεέʔϥϏϦςΟͷ੍ ໿΍໰୊ൃੜ࣌ͷରԠͷ೉͠͞ʹ௚݁͢Δ

  19. 34715&ͷྫ wŨŽŘ w৽װઢ΋μΠΞௐ੔ͱ͍͏ਓྗγάφϦϯάΛͨ͠ ͔Βਏ͔ͬͨ wʢิ଍ɿXBLBUFͷॳ೔ʹ౦๺৽װઢ͕Ұ ࣌ؒࢭ·ͬͨͷͰࢀՃऀΈΜͳʹӨڹͨ͠ʣ

  20. ղܾࡦ !20

  21. !21

  22. 4FHNFOU3PVUJOHͱ͸ w ωοτϫʔΫΛ4FHNFOUͱ͍͏ཁૉΛ༻͍ͯදݱ͠ɺ ͦͷ4FHNFOUΛࢦఆ͢Δ͜ͱʹΑΓύέοτͷసૹΛ ࣮ݱ͢ΔΞʔΩςΫνϟ w *&5'ͷ413*/( 4PVSDF1BDLFU3PVUJOHJO /FUXPSLJOH Ͱࡦఆ͞ΕͯΔ

    w ࣮͸஀ੜͯ͠प೥ͩͬͨΓ͢Δ !22
  23. ಛ௃ w εςʔτϨε w ػثෛՙɾӡ༻ෛՙܰݮ w *(1 041'*4*4 ͚ͩͰ࣮ݱ w

    ίϯτϩʔϧϓϨʔϯͷγϯϓϧԽ w σʔλϓϨʔϯඇґଘ w .1-4·ͨ͸*1W !23
  24. جૅ஌ࣝ !24

  25. 4FHNFOUͷछྨ w /PEF4FHNFOU w ಛఆͷϊʔυΛද͢͜ͱ͕Ͱ͖Δ w QSFpY4*%ͱ͔ݴͬͨΓ΋͢Δ w "EKBDFODZ4FHNFOU w

    ϊʔυຖͷྡ઀ؔ܎Λࣔ͢ w ୠ͠ยํ޲ͣͭͷ࿩ w 4FHNFOU*%ʢ4*%ʣ w ͜ΕΒͷ4FHNFOUʹৼΒΕΔݻ ༗ͷ*% /PEF4FHNFOU /PEF4FHNFOU "EKBODFODZ 4FHNFOU SPVUFS SPVUFS 0 "EKBODFODZ 4FHNFOU !25
  26. 4FHNFOUΛ ݩʹͨ͠େࡶ೺ͳύέοτసૹྫ 0 1 1 2 4FHNFOUʮ̎ʯ ύέοτσʔλ ύέοτͷྲྀΕ /PEF4FHNFOUʮ̎ʯ

    Λ΍ͬͯ·͢ !26
  27. /PEF4FHNFOU /PEF4*% ͷసૹಈ࡞ 1 4 1 3 0 2 4*%ʮʯ

    ύέοτσʔλ /PEF4*%ʮʯ !27
  28. /PEF4FHNFOU /PEF4*% ͷసૹಈ࡞ 1 4 1 3 0 2 4*%ʮʯ

    ύέοτσʔλ /PEF4*%ʮʯ *(1ͷTIPSUFTU QBUIʹ͕ͨͬͯ͠ύέοτ సૹΛߦ͏ !28
  29. /PEF4FHNFOU /PEF4*% ͷసૹಈ࡞ 1 4 1 3 0 2 ύέοτσʔλ

    /PEF4*%ʮʯ 4*%ʮʯ 4*%ʮʯ 4FHNFOU-JTU 4PVSDF3PVUJOHͷܦ࿏ʹ Ԋͬͯฒ΂ΒΕͨ4*%ͷϦετ ʢڍಈ͸·Μ·ɹελοΫ !29
  30. /PEF4FHNFOU /PEF4*% ͷసૹಈ࡞ 1 4 1 3 0 2 ύέοτσʔλ

    /PEF4*%ʮʯ 4*%ʮʯ 4FHNFOU-JTU !30
  31. /PEF4FHNFOU /PEF4*% ͷసૹಈ࡞ 1 4 1 3 0 2 ύέοτσʔλ

    /PEF4*%ʮʯ /POF 4FHNFOU-JTU !31
  32. /PEF4FHNFOUͷڍಈಛ௃ w ͳͥҠಈ͕εΩοϓͰ͖͔ͨ w /PEF4FHNFOU͸(MPCBMͳ4FHNFOUͰ͋Δ w ͭ·Γ/PEF4*%͸೚ҙͷ43EPNBJOʢͭ·Γ43 ͷྖҬʣ಺ͰϢχʔΫͳ஋ w/PEF4*%͕ଘࡏ͢Δύέοτ͸Ͳͷϧʔλ͕ड͚औͬ ͯ΋Ѽઌ͸ಉҰϊʔυʢϧʔλʣʹసૹ͞ΕΔ

    !32
  33. "EKBDFODZ4FHNFOU "EK4*% ͷసૹಈ࡞ 1 4 1 3 0 2 4*%ʮʯ

    ύέοτσʔλ      "EK4*% \   ^ !33
  34. "EKBDFODZ4FHNFOU "EK4*% ͷసૹಈ࡞ 1 4 1 3 0 2 

     "EK4*% \ ^ 4*%ʮʯ 4FHNFOU-JTU ύέοτσʔλ !34
  35. "EKBDFODZ4FHNFOU "EK4*% ͷసૹಈ࡞ 1 4 1 3 0 2 

     "EK4*% \ ^ /POF 4FHNFOU-JTU ύέοτσʔλ !35
  36. "EKBDFODZ4FHNFOU ͷڍಈಛ௃ w "EKBDFODZ4FHNFOU͸-PDBM4FHNFOUͳͷͰҟͳ ΔϊʔυͰ͋Ε͹ಉ͡"EK4*%Λ࢖༻͢Δ͜ͱ͕Մೳ wٯʹ͍͑͹ಉ͡"EK4*%͕෇༩͞ΕͨύέοτͰ͋ͬͯ ΋ड͚औͬͨ࣌ͷѼઌ͸ϧʔλຖʹҟͳΔڍಈΛ͢Δ !36

  37. /PEFͱ"EKBDFODZΛ૊Έ߹ Θͤͨసૹಈ࡞ 1 4 1 3 0 2 "EK4*% 4*%ʮʯ

    4FHNFOU-JTU ύέοτσʔλ 4*%ʮʯ 4*%ʮʯ !37
  38. /PEFͱ"EKBDFODZΛ૊Έ߹ Θͤͨసૹಈ࡞ 1 4 1 3 0 2 "EK4*% 4*%ʮʯ

    4FHNFOU-JTU ύέοτσʔλ 4*%ʮʯ /PEF4*%΁సૹ !38
  39. /PEFͱ"EKBDFODZΛ૊Έ߹ Θͤͨసૹಈ࡞ 1 4 1 3 0 2 "EK4*% 4*%ʮʯ

    4FHNFOU-JTU /PEF4*%΁సૹ !39
  40. /PEFͱ"EKBDFODZΛ૊Έ߹ Θͤͨసૹಈ࡞ 1 4 1 3 0 2 "EK4*% /POF

    4FHNFOU-JTU "EK4*%Λ௨ΔΑ͏ ʹసૹ !40
  41. σʔλϓϨʔϯ w ࢖༻Ͱ͖ΔσʔλϓϨʔϯ͸.1-4ͱ*1Wͷͭɽ 4FHNFOU-JTUΛ͜ͷೋͭͰදݱ͢Δ͜ͱ͕Ͱ͖Δ w .1-4ϥϕϧελοΫͰදݱ͞ΕΔ w *1W*1W֦ுϔομͰදݱ͞ΕΔ w ࡉ͔͍ڍಈ͸͕࣌ؒͳͦ͞͏ͳͷͰੋඇޙͰฉ͍͍ͯ

    ͚ͨͩΕ͹ʂ !41
  42. جૅ஌ࣝͷ·ͱΊ w /PEF4FHNFOU w ಛఆͷϊʔυΛද͢͜ͱ͕Ͱ͖Δ w "EKBDFODZ4FHNFOU w ϊʔυຖͷྡ઀ؔ܎Λࣔ͢ʢୠ͠ยํ޲ͣͭͷ࿩ʣ w

    4FHNFOU*%ʢ4*%ʣ w ͜ΕΒͷ4FHNFOUʹৼΒΕΔݻ༗ͷ*% w ͜ΕΒ͸શͯΛ૊Έ߹Θͤͯར༻͕Ͱ͖Δ !42
  43. Ϣʔεέʔε !43

  44. Ϣʔεέʔε w ಛ௃తʹܦ࿏Λࢦఆͨ͠Γ͢Δ΋ͷʹ࢖ΘΕΔ w αʔϏενΣΠχϯά w ৑௕ߏ੒ w /7' w

    ΞϓϦέʔγϣϯ͝ͱʹ੍ޚ͞ΕͨϧʔςΟϯά w ྫ͑͹TJNͷFOBCMFʹ͢Δ͔ͳͲͷ"1*ͱ͔ w ͳͲɾɾɾ !44
  45. αʔϏενΣΠχϯά 1 4 1 3 0 2 w 43Λ࢖ͬͯ'8΍%1*ͳͲͷαʔϏεϊʔυΛ௨ΔΑ͏ ʹઃఆ͢Δ͜ͱ͕Մೳ

    firewallɿ10 !45
  46. %$ͷ৑௕ߏ੒ IUUQTXXXTMJEFTIBSFOFUMJOFDPSQTT !46

  47. ඪ४Խಈ޲ !47

  48. ඪ४Խಈ޲ w *&5'ͷ413*/( 4PVSDF 1BDLFU3PVUJOHJO /FUXPSLJOH Ͱࡦఆ͞ΕͯΔ w ΞΫςΟϒͳυϥϑτ͕΋ ͋Γ௒׆ൃ

    w ͜ͷத͔ΒҰͭϐοΫΞοϓ͠ ͯݟ·͢ɽ !48
  49. ඪ४Խಈ޲ w ͪͳΈʹͲΕ͘Β͍׆ൃͳͷ͔ͷ΄͔ͱαΠζΛൺֱ IUUQͰ߹ܭIJU 5-4ͰIJU !49

  50. ඪ४Խಈ޲ 43WͰ͸೔ຊਓ͕ٞ࿦ʹࢀՃͯ͠ ΠχγΞνϒΛ࣋ͬͯΔʂ w ͳͷͰ43Wʹ͍ͭͯͷඪ४Խಈ޲ʹ͍ͭͯ΄ Μͷͪΐͬͱ͚ͩগ͠ϐοΫΞοϓ͠·͢ !50

  51. ඪ४Խಈ޲ w ࡢ೥ͷESBGUpMTpMTTQSJOHTSWOFUXPSLQSPHSBNNJOH w ʮ֦ுϔολʔʹ͸సૹઌͷࢦఆʢ-PDBUPSʣ͚ͩͰͳ͘ύέοτΛड͚ औͬͨ࣌ͷ"DUJPOʢ'VODUJPOʣ΋߹Θͤͯࢦఆ͢Δ͜ͱ͕૝ఆ͍ͯ͠Δʯ w ֦ுϔολʔʹॻ͖ࠐΊΔ4*%௕͕Ϗοτ΋͋Δ -PDBUPSʢసૹઌʣ "SHVNFOU

    "DUJPOʹର͢Δύϥϝʔλ 'VODUJPO "DUJPO CJU ͪͳΈશͯՄม௕ͷ߲໨ !51
  52. ඪ४Խಈ޲ w ࠓ೥ͷESBGUpMTpMTTQSJOH TSWOFUXPSL QSPHSBNNJOHͰ͸ w ͍ͭʹެࣜͰ࣮ݧ࣮૷͕ੜ͑ͨ w IUUQTHJUIVCDPN FCJLFOQTSW

    w Θ͔ͣҰ೥଍ΒͣͰ͍͢͝ ◦T.Insert ◦T.Encaps, T.Encaps.Red ◦End, End.DT6 ◦End.MAP (future) ◦End.M.GTP6.D ◦End.M.GTP6.E ◦End.M.GTP4.E (future) ◦T.M.Tmap (future) ◦End.Limit (not planned) !52
  53. ඪ४Խಈ޲ w ݸਓతʹ໘ന͔ͬͨͷ͸ϕϯμʔ֤͕ࣾͲ͏͍͏ํ޲ʹ޲͖ ͍ͨͷ͕ผ్ͷࢿྉΛ୳͢ͱ஍ຯʹಁ͚ͯΘ͔Δͱ͍͏͜ͱɽ IUUQTXXXOJDBEKQKBNBUFSJBMTJFUGSFQPSUNBUTVTIJNBQEG !53

  54. ඪ४Խಈ޲ IUUQTXXXOJDBEKQKBNBUFSJBMTJFUGSFQPSUNBUTVTIJNBQEG !54

  55. ඪ४Խಈ޲·ͱΊ w 43W͸࣮͸ʹඪ४Խ͕ग़ͨ͹͔Γͷ৽͍͠΍ͭ w Ͳ͜ͷϕϯμʔ΋ڵຯ௡ʑͱ͍͏͜ͱ͕Θ͔Γɼ͜ΕΒ͸͔ ͳΓਐาͯ͠Δʂ w ฒʑͳΒ͵౒ྗΛײ͡ΔͷͰͥͻ৭ʑݟͯཉ͍͠ !55

  56. ະདྷͱͦͷઌ΁ !56

  57. ࠓͷ43๊͕͑Δ࿩ w 4*%ͷ؅ཧϓϥΫςΟε΍ϓϩϏδϣχϯά͕ඞཁ w ηάϝϯτϧʔςΟϯάͷ֊૚Խ w ͲΜͳ5&ϙϦγʔʹ͢Ε͹͍͍ͷ͔ w ϥϕϧελοΫ਺ͷ૿ՃͰͷݶք஋ w

    ύοͱࢥ͍͍ͭͨͷͰ΋͜Μͳײ͡Ͱ·ͩ·ͩࣽ٧Ί Δඞཁ͕͋Γͦ͏ !57
  58. 4*%ͷ؅ཧϓϥΫςΟε΍ ϓϩϏδϣχϯά͕ඞཁ w /PEF4*%͸4FHNFOUEPNBJOͰ(MPCBMͳ஋Ͱ͋Δඞཁ͕͋Δ w ͭ·ΓඃΒͤͯ͸͍͚ͳ͍ɽ w ඃͬͯ͠·ͬͨϊʔυͷͲͪΒΛ༗ޮʹ͠Α͏͔ͱ͍͏نఆ͸΋ͪ ΖΜଘࡏ͸͢Δ w

    DGESBGUJFUGTQSJOHDPOqJDUSFTPMVUJPO w ίϯϑΟάͰԿ୆΋ઃఆ͢ΔJOEFYͷ஋ͳΜͯͨͩͷ੔਺஋ͳͷͰͱͯ ΋ਏ͍ɾɾɾ w ϓϩϏδϣχϯάπʔϧ΍ՄࢹԽ౳ͷϓϥΫςΟε͕ඞཁ !58
  59. ηάϝϯτϧʔςΟϯά ͷ֊૚Խ w ֤ϊʔυ͕43EPNBJO಺ͷશ4*%৘ใΛอ࣋͢Δඞཁ ੑ͕ଘࡏ͢Δͭ·ΓωοτϫʔΫن໛֦େʹ൐͏৘ใ ྔͷ૿ՃͰࢮ͵ w ղܾࡦɿ֊૚ԽΛߦ͏ w ֤ϊʔυʹ্Ґηάϝϯτ಺ͷ৘ใͷΈΛ࣋ͨͤɼ

    ଞͷ্Ґηάϝϯτ಺ͷϊʔυΛӅṭ w ֤ϊʔυͷ࣋ͭ৘ใྔ࡟ݮΛ࣮ݱ !59
  60. ηάϝϯτϧʔςΟϯά ͷ֊૚Խ w ͜ͷղܾࡦʹ͸໰୊͕͋Δ w ϙϦγઃఆൣғͷ໌֬Խ͸ԿͰ͢Ε͹ྑ͍ΜͩΖ͏ w ্Ґηάϝϯτ΁ͷ4*%෇༩ͷ༗ແʹΑΔ෼ྨʁ w 431$&΁ͷϙϦγઃఆख๏ʹΑΔ෼ྨʁ

    w ͦ΋ͦ΋ந৅Խͨ͠֊૚Խͨ͠΍ͭ͸11ΑΖ͘͠ͳײ͡Ͱ࣍ ਺௚ܘ໰୊తͷ͕ͦͷ͏ͪى͖ΔͷͰ͸ɾɾɾʁ w ࠷େ࣍਺ͱ௚ܘͷ੍໿ͷ΋ͱͰͲΕ͚ͩ௖఺Λଟؚ͘Μͩ άϥϑΛ࡞ΕΔ w DG௚ܘ͕খ͍͞஗ԆΛখ͘͞Ͱ͖Δ !60
  61. ·ͱΊ w 43͸ΊͬͪΌศརɽؒҧ͍ͳ࣍͘ੈ୅ͷύϥμΠϜʹ ͳΔʢͱࢲ͸ࢥͬͯΔʣ w ͔͠͠ΦϖϨʔγϣϯͷ؍఺͔ΒͲ͏͢Ε͹ྑ͍Μͩ Ζ͏ͳͱ͍͏ͷ͕ΰϩΰϩ͋Γ·ͩ·ͩࣽ٧ΊΔ΂͖ ੈք؍ɽ w ͔ͳΓ༻ޠΛͰ͖Δ͚ͩল͍ͨͷͰॏശͷ۱Λͭͭ͘

    ͱϘϩ͕ग़ΔͷͰʢ༏͘͠ʣٙ໰఺͸ฉ͍͍ͯͩ͘͞ !61
  62. ࢀߟ https://www.slideshare.net/tech_jstream/traffic-engineering-jtf2017 https://docs.fd.io/vpp/17.04/srv6_doc.html http://www.segment-routing.net/ietf/ https://docs.fd.io/vpp/17.04/srv6_doc.html https://clnv.s3.amazonaws.com/2018/anz/pdf/BRKRST-1124.pdf https://www.cisco.com/c/dam/assets/global/JP/training-events/events-webinars/interop/sp-03-interop2016-segment.pdf https://www.mpls.jp/2017/presentations/mpls_jp_2017_matsushima-post.pdf https://www.janog.gr.jp/meeting/janog40/application/files/7815/0104/5635/janog40-sr-mpls-miyasaka-00.pdf https://datatracker.ietf.org/doc/draft-ietf-spring-segment-routing-central-epe/?include_text=1

    https://datatracker.ietf.org/doc/draft-ietf-spring-segment-routing-ldp-interop/?include_text=1 https://datatracker.ietf.org/doc/draft-filsfils-spring-srv6-network-programming/?include_text=1 !62
  63. "SFUIFSFBOZRVFTUJPOT !63