ãã¹ãŠã®åé¡
8.æå°ã®ãããã¯ãŒã¯ã ããŒããšã€ãã BGPããã³IP SLA
7.æå°ã®ãããã¯ãŒã¯ã ããŒã7ã VPN
6.æå°ã®ãããã¯ãŒã¯ã ããŒã6 åçã«ãŒãã£ã³ã°
5.æå°ã®ãããã¯ãŒã¯ïŒããŒã5ã NATããã³ACL
4.æå°ã®ãããã¯ãŒã¯ïŒããŒã4ã STP
3.æå°ã®ãããã¯ãŒã¯ïŒããŒã3ã éçã«ãŒãã£ã³ã°
2.æå°ã®ãããã¯ãŒã¯ã ããŒã2 æŽæµ
1.æå°ã®ãããã¯ãŒã¯ã ããŒã1 Ciscoæ©åšã«æ¥ç¶ãã
0.æå°ã®ãããã¯ãŒã¯ã ããŒããŒãã èšç»äž
7.æå°ã®ãããã¯ãŒã¯ã ããŒã7ã VPN
6.æå°ã®ãããã¯ãŒã¯ã ããŒã6 åçã«ãŒãã£ã³ã°
5.æå°ã®ãããã¯ãŒã¯ïŒããŒã5ã NATããã³ACL
4.æå°ã®ãããã¯ãŒã¯ïŒããŒã4ã STP
3.æå°ã®ãããã¯ãŒã¯ïŒããŒã3ã éçã«ãŒãã£ã³ã°
2.æå°ã®ãããã¯ãŒã¯ã ããŒã2 æŽæµ
1.æå°ã®ãããã¯ãŒã¯ã ããŒã1 Ciscoæ©åšã«æ¥ç¶ãã
0.æå°ã®ãããã¯ãŒã¯ã ããŒããŒãã èšç»äž
ãLift mi Upããããã¯ãŒã¯ã¯ããã®ã¹ã¿ãããšäžç·ã«ãå šäœã«ããã£ãŠæé·ããŠããŸãã ITã€ã³ãã©ã¹ãã©ã¯ãã£ã®ã¡ã³ããã³ã¹ã¯ãç¹å¥ã«äœæãããå¥ã®çµç¹ãLink mi Upãã§å®æœãããŸããã
å æ¥ãããŸããŸãªéœåžã§ããã«4ã€ã®æ¯åºãè³Œå ¥ãããæè³å®¶ã¯ãšã¬ããŒã¿ãŒã®åãã®æ°ãã次å ãçºèŠããŸããã ãŸãããããã¯ãŒã¯ã¯4ã€ã®ã«ãŒã¿ãŒããäžåºŠã«10ã«æé·ããŸããã ãµããããã®æ°ã9ãã20ã«å¢ããŸãããã«ãŒã¿ãŒéã®ãã€ã³ãããŒãã€ã³ããªã³ã¯ã¯ã«ãŠã³ããããŸããã ãããŠããã®ãã¹ãŠã®çµæžã®å®å šãªç®¡çãé«ãŸããŸãã åããŒãã§æåã§ãã¹ãŠã®ãããã¯ãŒã¯ã«ã«ãŒããè¿œå ããã®ã¯é¢çœããªãããšã«åæããå¿ èŠããããŸãã
ã«ãªãŒãã³ã°ã©ãŒãã®ãããã¯ãŒã¯ã«ã¯æ¢ã«ç¬èªã®ã¢ãã¬ã¹æå®ããããEIGRPåçã«ãŒãã£ã³ã°ãããã³ã«ãèµ·åãããŠãããããç¶æ³ã¯è€éã§ãã
ä»æ¥ã¯ïŒ
-åçã«ãŒãã£ã³ã°ãããã³ã«ã®çè«ãç解ããã
-ãããã¯ãŒã¯ã«OSPFãããã³ã«ãå°å ¥ãããLift mi Upã
-OSPFãšEIGRPéã®ã«ãŒãã®è»¢éïŒåé åžïŒãæ§æããŸã
-ãã®åé¡ã§ã¯ããã¿ã¹ã¯ãã»ã¯ã·ã§ã³ãè¿œå ããŸãã 次ã®ã¢ã€ã³ã³ã¯ãèšäºäžã«ããããèå¥ããŸãã
é£æ床ã¯ç°ãªããŸãã ãµã€ã¯ã«Webãµã€ãã§è¡šç€ºã§ãããã¹ãŠã®ã¿ã¹ã¯ã«å¯ŸããåçããããŸãã ãããã®ããã€ãã§ã¯ãããªãã¯èããå¿ èŠããããä»ã®äººã¯ããã¥ã¡ã³ããèªãããã«ã3çªç®ã®äººã¯ããããžãŒãç解ãããããããããã°æ å ±ãèŠããããå¿ èŠããããŸãã RTã§ã¿ã¹ã¯ãå®è¡å¯èœã§ãªãå Žåãç¹å¥ãªã¡ã¢ãäœæããŸãã
åçã«ãŒãã£ã³ã°ãããã³ã«ã®çè«
ãŸãããåçã«ãŒãã£ã³ã°ãã®æŠå¿µãæ±ããŸãã ãããŸã§ãããããéçã«ãŒãã£ã³ã°ã䜿çšããŠããŸãããã€ãŸããåã«ãŒã¿ãŒã®ã«ãŒãã£ã³ã°ããŒãã«ãæã§äœæããŸããã ã«ãŒãã£ã³ã°ãããã³ã«ã䜿çšãããšããã®å調ãªå調ãªããã»ã¹ãšäººçèŠå ã«é¢é£ãããšã©ãŒãåé¿ã§ããŸãã ååã瀺ãããã«ããããã®ãããã³ã«ã¯ãçŸåšã®ãããã¯ãŒã¯æ§æã«åºã¥ããŠãã«ãŒãã£ã³ã°ããŒãã«èªäœãèªåçã«æ§ç¯ããããã«èšèšãããŠããŸãã äžè¬çã«ãç¹ã«ãããã¯ãŒã¯ã3ã€ã®ã«ãŒã¿ãŒã§ã¯ãªãã30ã§ããå Žåããã®ããšãå¿ èŠã§ãã
å©äŸ¿æ§ã«å ããŠãä»ã®åŽé¢ããããŸãã ããšãã°ã ãã©ãŒã«ããã¬ã©ã³ã¹ ã éçã«ãŒãã£ã³ã°ãåãããããã¯ãŒã¯ã§ã¯ãããã¯ã¢ãããã£ãã«ãæŽçããããšã¯éåžžã«å°é£ã§ããç¹å®ã®ã»ã°ã¡ã³ãã®å¯çšæ§ãç£èŠãã人ã¯ããŸããã
ããšãã°ããã®ãããªãããã¯ãŒã¯ã§R2ãšR3ã®éã®ãªã³ã¯ãåæãããšãR1ããã®ãã±ããã¯ä»¥åãšåæ§ã«R2ã«éä¿¡ãããéä¿¡å ããªãããç Žæ£ãããŸãã
æ°ç§ïŒãŸãã¯æ°ããªç§ïŒä»¥å ã®åçã«ãŒãã£ã³ã°ãããã³ã«ããããã¯ãŒã¯äžã®åé¡ãæ€åºããã«ãŒãã£ã³ã°ããŒãã«ãåæ§ç¯ããŸããäžèšã®å Žåããã±ããã¯çŸåšã®ã«ãŒãã«æ²¿ã£ãŠéä¿¡ãããŸã
ãã1ã€ã®éèŠãªãã€ã³ãã¯ã ãã©ãã£ãã¯ãã©ã³ã·ã³ã°ã§ãã ããã«äœ¿çšã§ããåçã«ãŒãã£ã³ã°ãããã³ã«ããã®æ©èœãå®éã«ãµããŒãããŠãããããåé·ã«ãŒããæåã§è¿œå ããŠèšç®ããå¿ èŠã¯ãããŸããã
åçã«ãŒãã£ã³ã°ã®å°å ¥ã«ããããããã¯ãŒã¯ã®ã¹ã±ãŒãªã³ã°ãå€§å¹ ã«ä¿é²ãããŸã ã æ¢åã®ã«ãŒã¿ãŒã®ãããã¯ãŒã¯ãŸãã¯ãµããããã«æ°ããèŠçŽ ãè¿œå ããå Žåãããã€ãã®æé ãå®è¡ããã ãã§æ©èœãããšã©ãŒã®å¯èœæ§ã¯æå°éã«æããããŸãããå€æŽã«é¢ããæ å ±ã¯ãã¹ãŠã®ããã€ã¹ã«å³åº§ã«åæ£ãããŸãã ããããžã®ã°ããŒãã«ãªå€æŽã«ã€ããŠããŸã£ããåãããšãèšããŸãã
ãã¹ãŠã®ã«ãŒãã£ã³ã°ãããã³ã«ã¯ãå€éšïŒ EGP-å€éšã²ãŒããŠã§ã€ãããã³ã«ïŒãšå éšïŒ IGP-å éšã²ãŒããŠã§ã€ãããã³ã«ïŒã®2ã€ã®å€§ããªã°ã«ãŒãã«åããããšãã§ããŸãã ãããã®éãã説æããã«ã¯ããèªåŸã·ã¹ãã ããšããçšèªãå¿ èŠã§ãã äžè¬çãªæå³ã§ã¯ãèªåŸã·ã¹ãã ïŒã«ãŒãã£ã³ã°ãã¡ã€ã³ïŒã¯ãå ±éã®å¶åŸ¡äžã«ããã«ãŒã¿ãŒã®ã°ã«ãŒãã§ãã
æŽæ°ããããããã¯ãŒã¯ã®å ŽåãASã¯æ¬¡ã®ããã«ãªããŸãã
ãã®ãããå éšã«ãŒãã£ã³ã°ãããã³ã«ã¯èªåŸã·ã¹ãã å ã§äœ¿çšãããå€éšãããã³ã«ã¯èªåŸã·ã¹ãã ãçžäºã«æ¥ç¶ããããã«äœ¿çšãããŸãã 次ã«ãå éšã«ãŒãã£ã³ã°ãããã³ã«ã¯ã è·é¢ãã¯ãã« ïŒRIPãEIGRPïŒãšãªã³ã¯ç¶æ ïŒOSPFãIS-ISïŒã«åããããŸãã ãã®èšäºã§ã¯ãPIPã«ååšããªãããã«IS-ISãšåæ§ã«ãRIPããã³IGRPãããã³ã«ã«åœ±é¿ãäžãã
2ã€ã®çš®ã®åºæ¬çãªéãã¯æ¬¡ã®ãšããã§ãã
1ïŒã«ãŒã¿ãŒéã§äº€æãããæ å ±ã®ã¿ã€ãïŒDistance-Vectorã®ã«ãŒãã£ã³ã°ããŒãã«ãšLink Stateã®ããããžããŒãã«
2ïŒæé©ãªã«ãŒããéžæããããã»ã¹ã
3ïŒåã«ãŒã¿ãŒãã念é ã«çœ®ããŠããããããã¯ãŒã¯ã«é¢ããæ å ±ã®éïŒDistance-Vectorã¯é£æ¥ããŒãã®ã¿ãç¥ã£ãŠããããªã³ã¯ç¶æ ã¯ãããã¯ãŒã¯å šäœãææ¡ããŠããŸãã
ã芧ã®ãšãããã«ãŒãã£ã³ã°ãããã³ã«ã®æ°ã¯å°ãªãã§ããããŸã 1ã€ãŸãã¯2ã€ã§ã¯ãããŸããã ãããŠãã«ãŒã¿ãŒã§è€æ°ã®ãããã³ã«ãåæã«å®è¡ãããšã©ããªããŸããïŒ ç¹å®ã®ãããã¯ãŒã¯ã«å°éããæåã®æ¹æ³ã«ã€ããŠãåãããã³ã«ã«ç¬èªã®æèŠãããããšãå€æããå ŽåããããŸãã ãŸããéçã«ãŒããæ§æãããŠããå Žåã¯ã©ããªããŸããïŒ ã«ãŒã¿ãŒã¯èª°ã«åªå æš©ãäžãã誰ã®ã«ãŒããã«ãŒãã£ã³ã°ããŒãã«ã«è¿œå ããŸããïŒ ãã®è³ªåã«å¯Ÿããçãã¯ãæ°ããçšèªã§ããã¢ãããã¹ãã¬ãŒãã£ããã£ã¹ã¿ã³ã¹ã«é¢é£ããŠããŸãïŒç§ãã¡ã®è¶£å³ã§ã¯ãè±èªã®ã¢ãããã¹ãã¬ãŒãã£ãã¬ã³ãžããã®ããªãå¹³å¡ãªãã¬ãŒã·ã³ã°ããŒããŒã§ãããããè¯ãçºæã¯ã§ããŸããã§ããïŒã ã¢ãããã¹ãã¬ãŒãã£ããã£ã¹ã¿ã³ã¹ã¯ã0ã255ã®æŽæ°ã§ããã®ã«ãŒãã«å¯Ÿããã«ãŒã¿ãŒã®ãä¿¡é Œæ§æž¬å®å€ããè¡šããŸãã ADãäœãã»ã©ãä¿¡é Œãé«ãŸããŸãã ã·ã¹ã³ã®èŠ³ç¹ããèŠããã®ãããªä¿¡é Œã®å åã¯æ¬¡ã®ãšããã§ãã
ãããã³ã« | ã¢ãããã¹ãã¬ãŒãã£ããã£ã¹ã¿ã³ã¹ |
---|---|
æ¥ç¶ãããã€ã³ã¿ãŒãã§ãŒã¹ | 0 |
éçã«ãŒã | 1 |
Enhanced Interior Gateway Routing ProtocolïŒEIGRPïŒãµããªãŒã«ãŒã | 5 |
å€éšããŒããŒã²ãŒããŠã§ã€ãããã³ã«ïŒBGPïŒ | 20 |
å éšEIGRP | 90 |
IGRP | 100 |
OSPF | 110 |
äžéã·ã¹ãã ããäžéã·ã¹ãã ïŒIS-ISïŒ | 115 |
ã«ãŒãã£ã³ã°æ å ±ãããã³ã«ïŒRIPïŒ | 120 |
Exterior Gateway ProtocolïŒEGPïŒ | 140 |
ãªã³ããã³ãã«ãŒãã£ã³ã°ïŒODRïŒ | 160 |
å€éšEIGRP | 170 |
å éšBGP | 200 |
äžæ | 255 |
ä»æ¥ã®èšäºã§ã¯ãOSPFãšEIGRPãåæããŸãã 1ã€ç®ã¯ã©ãã«ã§ãåžžã«ååšãã2ã€ç®ã¯ã·ã¹ã³ã®æ©åšã®ã¿ãååšãããããã¯ãŒã¯ã§éåžžã«é©ããŠããŸãã
ããããã«é·æãšçæããããŸãã EIGRPã¯OSPFãããåªããŠãããšèšããŸããããã®å©ç¹ã«ãã£ãŠãã¹ãŠã®å©ç¹ãçžæ®ºãããŸãã EIGRPã¯ã·ã¹ã³ç¬èªã®ãããã³ã«ã§ãããä»ã®èª°ããµããŒãããŠããŸããã
å®éãEIGRPã«ã¯å€ãã®æ¬ ç¹ããããŸãããããã¯äººæ°ã®ããèšäºã§ã¯ç¹ã«äžè¬çã§ã¯ãããŸããã åé¡ã®1ã€ã次ã«ç€ºããŸããSIA
ããã§ã¯å§ããŸãããã
OSPF
OSPFå±±ã®èšå®æ¹æ³ã«é¢ããèšäºãšãããªã ä»äºã®ååã®èª¬æãã¯ããã«å°ãªãã äžè¬ã«ãSPFã¢ã«ãŽãªãºã ãäžå¯è§£ãªLSAã«ã€ããŠãç¥ããªããŠããããã¥ã¢ã«ã«åŸã£ãŠOSPFãç°¡åã«æ§æã§ãããããªããšããããŸãã ãããŠããã¹ãŠãæ©èœããã»ãšãã©ã®å Žåãå®å šã«æ©èœããŸã-ãããèšââèšããããã®ã§ãã ã€ãŸããVlanã®å Žåãšã¯ç°ãªããããããŒåœ¢åŒãŸã§çè«ãç¥ãå¿ èŠããããŸããã
ãããããšã³ãžãã¢ã¯enikeyschikãšã¯ç°ãªãããããã¯ãŒã¯ããã®ããã«æ©èœããçç±ãç解ãããã以å€ã®å Žåã¯ããã§ã¯ãªããOSPFããããã³ã«ã«ãã£ãŠã©ã®ã«ãŒããéžæãããããç¥ã£ãŠãããšããç¹ã§ç°ãªããŸãã
ãã®æç¹ã§8,000æåã§ããèšäºã®æ çµã¿ã§ã¯ãçè«ã®æ·±ã¿ã«çªå ¥ããããšã¯ã§ããŸããããåºæ¬çãªç¹ãæ€èšããŸãã
ã¡ãªã¿ã«ã xgu.ruãŸãã¯è±èªçãŠã£ãããã£ã¢ã§ OSPFã«ã€ããŠæžãããŠããŸãã
ãããã£ãŠãOSPFv2ã¯IPäžã§åäœããŸããå ·äœçã«ã¯ãIPv4å°çšã§ãïŒOSPFv3ã¯ã¬ã€ã€ãŒ3ãããã³ã«ã«äŸåããªããããIPv6ã§åäœã§ããŸãïŒã
ãã®ãããªåçŽåããããããã¯ãŒã¯ã®äŸã§ã®äœæ¥ãæ€èšããŠãã ããã
ãããããã«ãŒã¿ãŒéã®é£æ¥é¢ä¿ïŒé£æ¥é¢ä¿ïŒã確ç«ããã«ã¯ã次ã®æ¡ä»¶ãæºãããŠããå¿ èŠããããŸãã
1ïŒOSPFã§ã¯ãäºãã«æ¥ç¶ãããŠããã«ãŒã¿ãŒã§åãHelloééãæ§æããå¿ èŠããããŸãã ããã©ã«ãã§ã¯ãã€ãŒãµããããªã©ã®ãããŒããã£ã¹ããããã¯ãŒã¯ã§ã¯10ç§ã§ãã ããã¯äžçš®ã®KeepAliveã¡ãã»ãŒãžã§ãã ã€ãŸããåã«ãŒã¿ãŒã¯10ç§ããšã«Helloãã±ããããã€ããŒã«éä¿¡ããŠããHeyãI'm aliveããšèšããŸãã
2ïŒãããã®ãããã€ã³ã¿ãŒãã«ã¯åãã§ããå¿ èŠããããŸãã éåžžããããã¯4ã€ã®Helloéé-40ç§ã§ãã ãã®æéäžã«Helloããã€ããŒããåä¿¡ãããªãå Žåãããã¯å©çšã§ããªããšèŠãªããã
3ïŒçžäºã«æ¥ç¶ãããã€ã³ã¿ãŒãã§ãŒã¹ã¯åããµããããäžã«ãªããã°ãªããŸããã
4ïŒOSPFã¯ãèªåŸã·ã¹ãã ããŸãŒã³ã«åå²ããããšã«ãããã«ãŒã¿ãŒã«ãŒã¿ãŒã®è² è·ã軜æžã§ããŸãã ãããã£ãŠã ãŸãŒã³çªå·ãäžèŽããå¿ èŠããããŸãã
5ïŒOSPFããã»ã¹ã«åå ããŠããåã«ãŒã¿ãŒã«ã¯ã åºæã®èå¥å- ã«ãŒã¿ãŒIDããããŸã ã æ°ã«ããªãå Žåãã«ãŒã¿ãŒã¯æ¥ç¶ãããã€ã³ã¿ãŒãã§ã€ã¹ã«é¢ããæ å ±ã«åºã¥ããŠèªåçã«éžæããŸãïŒOSPFããã»ã¹ã®éå§æã«ã¢ã¯ãã£ãã ã£ãã€ã³ã¿ãŒãã§ã€ã¹ããæé«ã®ã¢ãã¬ã¹ãéžæãããŸãïŒã ããããããã§ãåªãããšã³ãžãã¢ããã¹ãŠã管çããŠãããããéåžžãã«ãŒãããã¯ã€ã³ã¿ãŒãã§ã€ã¹ãäœæããã/ 32ãã¹ã¯ã®ã¢ãã¬ã¹ãå²ãåœãŠãããã«ãŒã¿ãŒIDã«å²ãåœãŠãããŸãã ããã¯ããµãŒãã¹ãšãã©ãã«ã·ã¥ãŒãã£ã³ã°ãè¡ããšãã«äŸ¿å©ã§ãã
6ïŒMTUãµã€ãºã¯äžèŽããå¿ èŠããããŸã
ããã«ãåã¯8ã€ã®ããŒãã«åãããŠããŸãã
1ïŒç©ãã OSPFã¹ããŒã¿ã¹- ããŠã³
ãã®çãç¬éããããäžã§ã¯äœãèµ·ãããŸããã誰ããé»ã£ãŠããŸãã
2ïŒé¢šãå¹ãïŒã«ãŒã¿ã¯ãOSPFãå®è¡ãããŠãããã¹ãŠã®ã€ã³ã¿ãŒãã§ã€ã¹ãããã«ããã£ã¹ãã¢ãã¬ã¹224.0.0.5ã« Helloãã±ãããéä¿¡ããŸãã ãã®ãããªã¡ãã»ãŒãžã®TTL㯠1ã«çãããããåããããã¯ãŒã¯ã»ã°ã¡ã³ãã«ããã«ãŒã¿ãŒã®ã¿ãããããåä¿¡ããŸãã R1ã¯INITç¶æ ã«ãªããŸãã
次ã®æ å ±ãããã±ãŒãžã«åã蟌ãŸããŠããŸãã
- ã«ãŒã¿ãŒID
- ããã«ã¡ã¯éé
- ãããã€ã³ã¿ãŒãã«
- é£äºº
- ãµãããããã¹ã¯
- ãšãªã¢ID
- ã«ãŒã¿ãŒã®åªå é äœ
- DRããã³BDRã«ãŒã¿ãŒã¢ãã¬ã¹
- èªèšŒãã¹ã¯ãŒã
ãããŸã§ã®ãšãããæåã®4ã€ä»¥äžãæ£ç¢ºã«ã¯äžè¬ã«ã«ãŒã¿ãŒIDãšè¿é£ããŒãã®ã¿ã«é¢å¿ããããŸãã
R1ããã®Helloã¡ãã»ãŒãžã«ã¯ã«ãŒã¿ãŒIDãå«ãŸããŠããããã€ããŒã¯ãŸã å«ãŸããŠããªãããããã€ããŒã¯å«ãŸããŠããŸããã
ãã®ãã«ããã£ã¹ãã¡ãã»ãŒãžãåä¿¡ããåŸãã«ãŒã¿ãŒR2ã¯R1ããã€ããŒããŒãã«ã«è¿œå ããŸãïŒå¿ èŠãªãã©ã¡ãŒã¿ãŒããã¹ãŠäžèŽããå ŽåïŒã
ãããŠããã®ã«ãŒã¿ãŒã®ã«ãŒã¿ãŒIDãå«ãæ°ããHelloã¡ãã»ãŒãžããã§ã«ãŠããã£ã¹ãã§R1ã«éä¿¡ããŸããNeigborsãªã¹ãã«ã¯ããã®ãã¹ãŠã®ãã€ããŒããªã¹ããããŠããŸãã ãã®ãªã¹ãã®ä»ã®è¿é£ã«ã¯ãã«ãŒã¿ãŒID R1ããããŸããã€ãŸããR2ã¯æ¢ã«è¿é£IDã§ãããšèŠãªããŠããŸãã
3ïŒåæ ã R1ã¯R2ãããã®Helloã¡ãã»ãŒãžãåä¿¡ãããšããã€ããŒã®ãªã¹ããã¹ã¯ããŒã«ããç¬èªã®ã«ãŒã¿ãŒIDãèŠã€ããŠãR2ããã€ããŒã®ãªã¹ãã«è¿œå ããŸãã
ããã§ãR1ãšR2ã¯äºãã®çžäºé£æ¥ã«ãããŸã-ããã¯ããããã®éã«é£æ¥é¢ä¿ã確ç«ãããã«ãŒã¿ãŒR1ãTWO WAYç¶æ ã«ãªãããšãæå³ããŸãã
次ã«DRãšBDRãéžæããŸãããããã«ã€ããŠã¯è©³ãã説æããŸãããããããã¯éåžžã«éèŠãªããšã§ãã
4ïŒåµã®åã®éããã 次ã«ãå šå¡ãEXSTARTç¶æ ã«ãªããŸãã ããã§ã¯ããã¹ãŠã®é£äººãäžåžãèªåã®äžãã決å®ããŸãã æ倧ã®ã«ãŒã¿ãŒIDãæã€ã«ãŒã¿ãŒã«ãªããŸã-R2ã
5ïŒOld Manãéžæããããšããã€ããŒã¯Exchangeç¶æ ã«ãªããDBDã¡ãã»ãŒãžïŒãŸãã¯DDïŒ-LSDBïŒLink State Data BaseïŒã®èª¬æãå«ãããŒã¿ããŒã¹èšè¿°ã亀æããŸãã圌ãã¯ç§ããããã®ãµããããã«ã€ããŠç¥ã£ãŠãããšèšããŸãã
ããã§ãLSDBãšã¯äœãã説æããå¿ èŠããããŸãã æåéããã·ã¢èªã«ç¿»èš³ããå ŽåïŒãªã³ã¯ã®ã¹ããŒã¿ã¹ã®ããŒã¿ããŒã¹ã åæç¶æ ã§ã¯ãã«ãŒã¿ãŒã¯OSPFããã»ã¹ãå®è¡ãããŠãããªã³ã¯ïŒã€ã³ã¿ãŒãã§ã€ã¹ïŒã®ã¿ãèªèããŠããŸãã ãã¬ã€ã®éçšã§ãåã«ãŒã¿ãŒã¯ãããã¯ãŒã¯ã«é¢ãããã¹ãŠã®æ å ±ãåéããããããžãã³ã³ãã€ã«ããŸãã ãããLSDBã«ãªãããŸãŒã³ã®ãã¹ãŠã®ã¡ã³ããŒã§åãã«ãªããŸãã
DBDã«ãŒã¿ãŒãæåã«éä¿¡ãããã®ãããã®ã€ã³ã¿ãŒãã§ãŒã¹ã®äž»èŠãªãã®ãšããŠéžæãããŸã-2.2.2.2ã 圌ã«ç¶ããŠã1.1.1.1ã¯åãããšãããŸãã
6ïŒã¡ãã»ãŒãžãåä¿¡ãããšãã«ãŒã¿ãŒR1ãšR2ã¯DBDïŒLSAckïŒã®ç¢ºèªãéä¿¡ããLSDBã«å«ãŸããæ å ±ãšæ°ããæ å ±ãæ¯èŒããéããããå Žåã¯ãLSRïŒLink State RequestïŒãäºãã«éä¿¡ããŸããæ°ããç¶æ LOADINGã«ç§»åããŸãã LSRã§ã¯ãããã®ãããã¯ãŒã¯ã«ã€ããŠäœãç¥ããŸããã 詳现ãæããŠãã ãããã
7ïŒR1ããLSRãåä¿¡ããR2ã¯ãLSUïŒLink State UpdateïŒãéä¿¡ããŸããLSUã«ã¯ãå¿ èŠãªãµããããã«é¢ãã詳现æ å ±ãå«ãLSAïŒLink State AdvertisementïŒãå«ãŸããŠããŸãã
ãããã£ãŠãR1ã¯ãã¹ãŠã®ãµããããã§æåŸã®ããŒã¿ãåä¿¡ããLSDBã圢æãããšããã«ãæçµç¶æ FULL STATEã«ãªããŸãã
ãŸãŒã³å ã®ãã¹ãŠã®ã«ãŒã¿ãŒãFull Stateç¶æ ã«éãããŸã§ã«ããã¹ãŠã®ã«ãŒã¿ãŒãåãLSDBãæã€å¿ èŠããããŸã-圌ãã¯åããããã¯ãŒã¯ã調ã¹ãŸããã ã€ãŸããå®éã«ã¯ãããã¯ã«ãŒã¿ãŒããããã¯ãŒã¯å šäœãäœãã©ã®ããã«ãã©ãã«æ¥ç¶ãããŠããããç¥ã£ãŠããããšãæå³ããŸãã
èè ã¯ãããããã¹ãŠã®ç¥èªãšèŠåãç解ããŠèŠããã®ã¯ããªãé£ããããšãèªèããŠããŸãããç¹å®ã®é »åºŠã§ããŸããŸãªå Žæã§5ã7åèªãã åŸãOSPFã®ä»çµã¿ãç解ã§ããŸãã
8ïŒããã§ããã¹ãŠã®ã«ãŒã¿ãŒããããã¯ãŒã¯ã«é¢ãããã¹ãŠãèªèã§ããããã«ãªããŸãããããã®ç¥èã¯ã«ãŒãã£ã³ã°ã«ã¯åœ¹ç«ã¡ãŸããã
次ã®ã¹ãããã§ããOSPFã¯ããã€ã¯ã¹ãã©ã®ã¢ã«ãŽãªãºã ïŒãŸãã¯SPF-Shortest Path FirstãšãåŒã°ããŸãïŒã䜿çšããŠããŸãŒã³å ã®åã«ãŒã¿ãŒãžã®æçã«ãŒããèšç®ããŸã-ããããžå šäœãèªèããŠããŸãã ãã®ç¹ã§ã¡ããªãã¯ã圹ç«ã¡ãŸãã äœãã»ã©ãã«ãŒãã¯è¯ããªããŸãã ã¡ããªãã¯ã¯ãã«ãŒãã«æ²¿ã£ãŠç§»åããã³ã¹ãã§ãã
ããšãã°ããã®ãããªãããã¯ãŒã¯ã§ã¯ãR1ããR3ã«çŽæ¥ãŸãã¯R2çµç±ã§å°éã§ããŸãã
åœç¶ãæåã®ãªãã·ã§ã³ã®æ¹ãè²»çšãããããŸããã ãã ããããã¯ãã©ãã«ã§ãåãã¿ã€ãã®ã€ã³ã¿ãŒãã§ãŒã¹ãããå Žåã«æäŸãããŸãã ãŸããããšãã°ãR1ãšR3ã®éã«56kã¢ãã æ¥ç¶ãŸãã¯éåžžã«äžå®å®ãªGPRSãªã³ã¯ãããå Žåã¯ã©ãã§ããããã ãã®å Žåãã³ã¹ããéåžžã«é«ããªããOSPFã¯ããé·ããããé«éãªæ¹æ³ã奜ã¿ãŸãã
次ã«ãèŠã€ãã£ããã¹ãã«ãŒãã£ã³ã°ããŒãã«ã«è¿œå ãããŸãã
çŸåšãåã«ãŒã¿ãŒã¯10ç§ããšã«Helloãã±ãããéä¿¡ããLSAã¯30åããšã«éä¿¡ãããŸãããã®ã¿ã€ãã®ããŒã¿ã¯ãã§ã«å€ããªã£ãŠãããšèŠãªãããŠãããå€æŽããªããŠãæŽæ°ããå¿ èŠããããŸãã
çæ³çãªäžçã§ã¯ãããã«ã€ããŠå¹³è¡¡ã確ç«ãããŸãã ããããç§ãã¡ã¯æ®é ·ã§ç¡é¢å¿ãªäžçã«äœãã§ããããšã³ãžãã¢ã¯ITå°é家ããŸãã¯äžè¬ã«ã³ã³ãã¥ãŒã¿ãŒæè¡è ã§ããããšã¬ããŒã¿ãŒã¯ããã3ã€ã®åé¡ãåŸæ»ããããããšãåŠã³ãŸãããããã¯ãã®äžçã§ã¯ãªãã§ããããïŒïŒ-èšãæããã°ãããããžãŒã¯çµ¶ããå€åããŠããŸãã ãŸãããããã¯ãŒã¯ã倧ãããªãã»ã©ãé »ç¹ãã€ã°ããŒãã«ãªå€æŽãè¡ãããŸãã
ãã¡ããã40ç§ïŒãããã€ã³ã¿ãŒãã«ïŒåŸ ã£ãŠããããŒãã«ã®åæ§ç¯ãéå§ããã®ã¯å°ãå¥åŠã§ãã ããã¯RIPã«ãèš±ãããŸãããèšå€§ãªæ°ã®ææ°ãããã¯ãŒã¯ã§äœ¿çšãããŠãããããã³ã«ã«ã¯èš±ãããŸããã ãã®ããããªã³ã¯ïŒãŸãã¯è€æ°ïŒã®ãããããã¯ã©ãã·ã¥ãããšããã«ãã«ãŒã¿ãŒã¯LSDBãå€æŽããŠLSUãçæãã以åããã倧ããçªå·ãå²ãåœãŠãŸãïŒåLSDBã«ã¯ãæåŸã«åä¿¡ããLSAããååŸããçªå·ããããŸãïŒã
ãã®LSUã¡ãã»ãŒãžã¯ããã«ããã£ã¹ãã¢ãã¬ã¹224.0.0.5ã«éä¿¡ãããŸãã ãããåä¿¡ããã«ãŒã¿ãŒã¯ãLSUã«å«ãŸããLSAçªå·ããã§ãã¯ããŸãã
1ïŒæ°å€ãã«ãŒã¿ãŒã®çŸåšã®LSAã®æ°å€ããã倧ããå ŽåãLSDBãå€æŽãããŸãã ïŒLSDBããŒãžã§ã³ã¯å€ããæ å ±ã¯æ°ããïŒã
2ïŒçªå·ãåãå Žåãäœãèµ·ãããŸããã ãã®ã«ãŒã¿ãŒã¯ãæ¢ã«ä»ã®æ¹æ³ã§ãã®LSAãåä¿¡ããŠââããŸãã
3ïŒåä¿¡ããLSAçªå·ãããŒã«ã«LSDBããå°ããå Žåãããã¯ã«ãŒã¿ãŒãæ¢ã«ææ°ã®æ å ±ãæã£ãŠããããšãæå³ããå€ãLSDBã«åºã¥ããŠæ°ããLSAãå€ãLSAã®éä¿¡è ã«éä¿¡ããŸãã
å®è¡ãããïŒãŸãã¯å®è¡ãããªãã£ãïŒã¢ã¯ã·ã§ã³ã®åŸãLSAckã¯LSUã®éä¿¡å ã®ãã€ããŒã«éä¿¡ããïŒãããã±ãŒãžãåä¿¡ããŸãã-ãã¹ãŠãæ£åžžã§ããïŒãå ã®LSUã¯å€æŽãªãã§ä»ã®ãã€ããŒã«éä¿¡ãããŸãã ãã®ã«ãŒã¿ãŒã§SPFã¢ã«ãŽãªãºã ãåã³éå§ãããå¿ èŠã«å¿ããŠã«ãŒãã£ã³ã°ããŒãã«ãæŽæ°ãããŸãã
äžè¬ã«ãããã¯ãã¹ãŠã®ããã€ã¹ã§æ å ±ã®é¢é£æ§ãç¶æããããã«è¡ãããŸããLSDBã¯ãã¹ãŠã®ãŠãŒã¶ãŒã§åãã§ãªããã°ãªããŸããã
ããã§ãã«ãŒã¿ãŒã¯ããã€ããŒã«çŽæ¥æ¥ç¶ããå Žåã«ã®ã¿å€æŽãéç¥ããããšã«æ³šæããå¿ èŠããããŸãã ããšãã°ããããã®éã«ã¹ã€ãããããå Žåãããã€ã¹ã¯ç©çã€ã³ã¿ãŒãã§ãŒã¹ã®èœäžãæ€åºãããäœãããŸããã ãã®ãããªç¶æ³ã«ã¯ã2ã€ã®è§£æ±ºçããããŸãã
1ïŒã¿ã€ããŒãèšå®ããŸãã OSPFã®å Žåã¯ãmsã¬ãã«ã«æžããããšãã§ããŸãã
2ïŒéåžžã«ã¯ãŒã«ãªBFDïŒ åæ¹å転éæ€åº ïŒãããã³ã«ã䜿çšããŸãã ãŸããããªç§ã¬ãã«ã§ãªã³ã¯ã®ã¹ããŒã¿ã¹ã远跡ã§ããŸãã èšå®ã§ã¯ãBFDã¯ä»ã®ãããã³ã«ãšéä¿¡ãããããã¯ãŒã¯ã«åé¡ãããããšãç¥ãå¿ èŠããã人ãéåžžã«è¿ éã«éç¥ã§ããŸãã å ·äœçã«ã¯ãå¥ã®éšåã§BFDãæ±ããŸãã
ãæ°ã¥ãã®ããã«ããã¹ãŠã®ã¡ãã»ãŒãžã«ã¯ç¢ºèªããããŸããLSAckããHelloãžã®è¿ä¿¡ã§ãã ããã¯ãTCPãæåŠããããã®æéã§ã-ã©ãããããããæ£åžžãªé ä¿¡ã確èªããå¿ èŠããããŸãã
åèšã§ããŸãŒã³ã«éåžžã«çµã³ä»ãããã7çš®é¡ã®LSAãããããã®ãã¡5åããããŸãã ã«ãŒã¿ãŒã«ã¯4ã€ã®ã¿ã€ãããããŸãã ãŸããæå®ã«ãŒã¿ãŒïŒDRïŒããã³ããã¯ã¢ããDRïŒBDRïŒãABRããã³ASBRã®æŠå¿µããããŸãã ã¡ããªãã¯ã¹ãªã©ãèšç®ããããã®å ¬åŒããããŸãã ããã¯ç¬ç«ããç 究ã®ããã«æ®ããŸãã
OSPFã®å®è·µ
ååã®ã«ãŒãã£ã³ã°ã®ã»ããã¢ããäžã«ç§ãã¡ãã©ã®ããã«èŠããã ããèŠããŠãããŠãã ãããåããã€ã¹ããåãããã¯ãŒã¯ãžããããŠç¥ã¯å¿ããããšãçŠããŸãã ä»ã§ã¯éå»ã®ãã®ã§ã-IGPãé·çããããŸãããïŒ
ã³ãã³ããåå¥ã«èª¬æããæéãç¡é§ã«ããããšã¯ãããŸããããããã«ãã°ãããèšå®ã®äžçã«é£ã³èŸŒã¿ãŸãã
ããã¯ã¹ãã³ãã次ã®è«çå³ãä¿æãããŸãã
ãããŸã§ã®ãšãããã¯ã©ã¹ãã€ã«ã¹ã¯ãããããã¹ã¯ããŠã©ãžãªã¹ããã¯ãéããã®å€§ããªã·ããªã¢ã®ãªã³ã°ã«èå³ããããŸãã ããããã³ãã§ã«æ§ç¯ãããŠãããããã¯ãŒã¯äžã§ãOSPFãèµ·åããŸãã 以åã«éååŠããã£ãå ŽåããããæŸæ£ããåçãããã³ã«ã«ã¹ã ãŒãºã«åãæ¿ããå¿ èŠããããŸãã
åã®ãã€ã³ããšããŠãã¯ã©ã¹ãã€ã«ã¹ã¯ãBalagan Telecomãä»ããŠæ¥ç¶ãããŠãããä»ã®éœåžãžã®ãªã³ã¯ãããŸããŸãªãããã€ããŒãéããŠç·šæãããŠãããšããŸãã ãªã³ã°ã¯ããããã€ããŒããã£ã«ãã³èšŒææžããéããŠã¢ã¹ã¯ã¯ã§ééãããŠããŸãã L2-VPNãšIPãã©ãã£ãã¯ãè³Œå ¥ããéœåžéã®ããããå Žæãééçã«ç§»åãããšããŸãã
ç§ãã¡ã®ãããã¯ãŒã¯ã«ç¹åããIGPã®å®è£ ã¯äœã§ããïŒ
1ïŒèšå®ã®ã·ã³ãã«ãã åããŒãã§ã¯ãããŒã«ã«ãšãªã¢ãããã¯ãŒã¯ã®ã¿ãç¥ãå¿ èŠããããOSPFã¯ãã®åæ£ã®åé¡ã«æžæããŸãã
2ïŒéä¿¡ãã£ãã«ã®åé·æ§ãæäŸããåé·ãªã³ã¯ã äŸãã°ãããŒã ã¬ã¹ã®äººã ãã¢ã¹ã¯ã¯ãšã¯ã©ã¹ãã€ã«ã¹ã¯ã®éã®å åŠãé®æããå Žåãåäžã®ãã©ã³ããæ¥ç¶ãªãã§æ®ãããããšã¯ãããŸããããã¹ãŠã®ãã©ãã£ãã¯ã¯ãŠã©ãžãªã¹ãã¯ãééããŸã
3ïŒåé¡ãèªåçã«æ€åºããããããžãåæ§ç¯ããŠãã«ãŒãã£ã³ã°ããŒãã«ãå€æŽããŸãã ããããã©ã°ã©ã2ãæºããããšãå¯èœã«ãããã®ã§ãã
4ïŒTTLãæéåãã«ãªããŸã§2ã€ã®ããŒãéã§ãã±ããããã¹ãããå Žåãã«ãŒãã£ã³ã°ã«ãŒããäœæããå±éºã¯ãããŸããã éçãã¥ãŒãã³ã°ã§ã¯ããã®ç¶æ³ã¯å¯èœãªç¯å²ãè¶ ããŠããŸãã
5ïŒæ¡åŒµã®å©äŸ¿æ§ã ããšãã°ãTomskã«æ°ãããã©ã³ããè¿œå ããå¿ èŠããããKemerovoãä»ããŠæ¥ç¶ããããšãæ³åããŠãã ããã 次ã«ãã¢ã¹ã¯ã¯ãã±ã¡ããŽã©ãããã³ãã ã¹ã¯èªäœã«éçã«ãŒããç»é²ããå¿ èŠããããŸãã ã¹ããŒã«ãŒã䜿çšãããšãã¯ãæ°ããã«ãŒã¿ãŒãæ§æããã ãã§ã...ããã ãã§ãã
ãã©ã³ãããã³Point-to-Pointãªã³ã¯ã®ãµããããã®IPãã©ã³ããã§ã«æºåããŠããŸããããã¹ãŠã®ããŒãã§ãã¹ãŠã®åæèšå®ãå®äºããŠãããšããŸãã
-ãã¹ãå
-ã»ãã¥ãªãã£èšå®ïŒtelnetãsshã®ãã¹ã¯ãŒãïŒ
-ãªã³ã¯ã€ã³ã¿ãŒãã§ã€ã¹ã®IPã¢ãã¬ã¹
-LANãµããããã®IPã¢ãã¬ã¹
-ã«ãŒãããã¯ã€ã³ã¿ãŒãã§ã€ã¹ã®IPã¢ãã¬ã¹ã
Loopbackã€ã³ã¿ãŒãã§ãŒã¹ã®æ°ããã³ã³ã»ãããå°å ¥ããŠããŸãã åã«ãŒã¿ãŒã§æ§æãããŸãã ãã®ããã«ãç¹å¥ãªãµãããã172.16.255.0/24ãå²ãåœãŠãããŸãã çŸåšãOSPFã«å¿ èŠã§ãããå°æ¥çã«ã¯BGPãMPLSã«å¿ èŠã«ãªãå¯èœæ§ããããŸãã
é·ãéããããã®ã€ã³ã¿ãŒãã§ãŒã¹ã®æå³ãç解ããŠããŸããã§ããã äžè¬çã«ãããã¯ä»®æ³ã€ã³ã¿ãŒãã§ã€ã¹ã§ãããç©çã€ã³ã¿ãŒãã§ã€ã¹ã®ç¶æ ã«é¢ä¿ãªãããã®ç¶æ ã¯åžžã«UPã§ãïŒã·ã£ããããŠã³èªäœãå®è¡ãããŠããªãéãïŒã 圌ã®åœ¹å²ã®1ã€ã説æããŠã¿ãŸãããã
ããã§ã¯ãããšãã°ãNagiosç£èŠãµãŒããŒããããŸãã R1 FE0/0 â 10.1.0.1.
â . , .
, , FE0/1. Nagios' , , . , IP- .
Nagios' Loopback-, , .
IP- Loopback- /32, 11111111.11111111.11111111.1111111 â â .
ãã¹ãŠã®æºåãæ¢ã«å®äºããŠãããããéåžžã«ç°¡åãªã¿ã¹ã¯ããããŸãããã¹ãŠã®ã«ãŒã¿ãŒãééããŠãOSPFããã»ã¹ãã¢ã¯ãã£ãã«ããããšã§ãã
1ïŒæåã«è¡ãå¿ èŠãããã®ã¯ãã«ãŒã¿ãŒã®OSPFããã»ã¹ãéå§ããããšã§ãã
msk-arbat-gw1ïŒconfigïŒïŒã«ãŒã¿ãŒOSPF 1
æåã®èšèã§ã¯ãåçã«ãŒãã£ã³ã°ãããã³ã«ãèµ·åããŠããããšã瀺ããæåŸã«ããã»ã¹çªå·ã瀺ããŸãïŒçè«çã«ã¯ãåãã«ãŒã¿ãŒäžã«è€æ°ååšããå¯èœæ§ããããŸãïŒã
ãã®çŽåŸã«ãã«ãŒã¿ãŒIDãèªåçã«å²ãåœãŠãããŸããããã©ã«ãã§ã¯ãããã¯ã«ãŒãããã¯ã€ã³ã¿ãŒãã§ã€ã¹ã®æ倧ã¢ãã¬ã¹ã§ãã
2ïŒãã®ããšãå¶ç¶ã«ä»»ããªãã§ãã ãããäžè¬èŠåïŒã«ãŒã¿ãŒIDã¯äžæã§ãªããã°ãªããŸããããããããã¡ããããããåãã«ããããšãã§ããŸããããã®å Žåã¯å¥åŠã«ãªãå§ããŸãã
ç§ã®ã¢ããªã±ãŒã·ã§ã³ã®1ã€ã¯ããã§ããïŒLDPã¿ã°ã¯æ©åšã§çµãããŸãã8å人ã®ãã¡ã1人ã ãã空ããŠããŸãããæ°ããVPNã¯äœæãŸãã¯æ©èœããŠããŸããããããæŽçããŠæŽçããæçµçã«ã¯OSPFããã»ã¹ãã«ãŒãã£ã³ã°ããŒãã«ã§æ¯åæ°åã®ã¬ã³ãŒããäœæããã³åé€ããããšã確èªããŸãããããããžãŒã¯çµ¶ããåæ§ç¯ãããæ°ããLDPã©ãã«ã¯ãã®ãããªåæ§ç¯ããšã«å²ãåœãŠããããã®åŸã¯è§£æŸãããŸããããããŠãããã¯ãã¹ãŠåãã«ãŒã¿ãŒIDãã©ã³ãã ã«æ§æããããšã§ãã
ååãšããŠãå¿ èŠã«å¿ããŠèšå®ã§ããŸããèšå®ããå¿ èŠãããããŸãããã«ãŒã¿ãŒãèªåçã«å²ãåœãŠãŸãããé åºã®ããã«ç§ãã¡ã¯ãããè¡ããŸã-å°æ¥çã«ã¯ä¿å®ã容æã«ãªããŸããã«ãŒãããã¯ã€ã³ã¿ãŒãã§ã€ã¹ã®ã¢ãã¬ã¹ã«åŸã£ãŠå²ãåœãŠãŸãã
msk-arbat-gw1ïŒconfig-routerïŒïŒrouter-id 172.16.255.1
3ïŒçŸåšãã©ã®ãããã¯ãŒã¯ãã¢ããŠã³ã¹ããããçºè¡šããŠããŸãïŒOSPFãã€ããŒã«éä¿¡ïŒããã®ã³ãã³ãã¯ãACLã®ããã«ã¯ã€ã«ãã«ãŒããã¹ã¯ã䜿çšããããšã«æ³šæããŠãã ããã
msk-arbat-gw1ïŒconfig-routerïŒ#network 172.16.0.0 0.0.255.255ãšãªã¢0
ããã§è©³ãã説æããŸããnetworkã³ãã³ãã䜿çšããŠãã«ãŒã¿ãŒããããŒããã£ã¹ãããééã£ããããã¯ãŒã¯ãæå®ããããã»ã¹ã«é¢ä¿ããã€ã³ã¿ãŒãã§ã€ã¹ã決å®ããŸãã
IPã¢ãã¬ã¹ãæ§æãããç¯å²172.16.0.0 0.0.255.255ïŒ172.16.0.0-172.16.255.255ïŒå ã«ãããã¹ãŠã®ã«ãŒã¿ãŒã€ã³ã¿ãŒãã§ã€ã¹ãããã»ã¹ã«å«ãŸããŸãã
ããã¯ã次ã®ããšãæå³ããŸã
ãaïŒãããã®ã€ã³ã¿ãŒãã§ã€ã¹ããHelloã¡ãã»ãŒãžãéä¿¡ãããããããä»ããŠè¿é£é¢ä¿ã確ç«ããããããã¯ãŒã¯ããããžã«é¢ããæŽæ°ãéä¿¡ãããŸãã
bïŒOSPFã¯ãããã®ã€ã³ã¿ãŒãã§ã€ã¹ã®ãµããããã調æ»ãããããã®ã¹ããŒã¿ã¹ãã¢ãã¹ããç£èŠããã®ã¯ãããã§ããã€ãŸããèšå®ãã172.16.0.0 0.0.255.255ã§ã¯ãªãããã®ç¯å²ãæºãããã®ã§ãããã®
å Žåãèšå®æ¹æ³ã¯é¢ä¿ãããŸããã
msk-arbat-gw1(config-router)#network 172.16.0.0 0.0.255.255 area 0
ãŸãã¯
msk-arbat-gw1(config-router)#network 172.16.0.0 0.0.15.255 area 0
ãŸãã¯
msk-arbat-gw1(config-router)#network 172.16.0.0 0.0.255.255 area 0
msk-arbat-gw1(config-router)#network 172.16.1.0 0.0.255.255 area 0
msk-arbat-gw1(config-router)#network 172.16.2.0 0.0.255.255 area 0
âŠâŠ
msk-arbat-gw1(config-router)#network 172.16.15.0 0.0.255.255 area 0
ãã®å Žåããããã®ã³ãã³ãã¯ãã¹ãŠåãããã«æ©èœããŸãã
ãããã¯ãŒã¯172.16.0.0/16ã®ã¢ãã¬ã¹ãæã€ãã¹ãŠã®ããŒã«ã«ãããã¯ãŒã¯ããããããæãäžè¬çãªãšã³ããªã䜿çšããŸããåæã«ããã¡ãããå€éšã€ã³ã¿ãŒãã§ã€ã¹FastEthernet0 / 1.6ã¯ã€ã³ã¿ãŒãããã«å°éããŸãããããã¯ããã®ã¢ãã¬ã¹ïŒ198.51.100.2ïŒããã®ç¯å²å€ã§ããããã§ãã
ãã®æ§æã§ã¯ã172.16.0.0ã172.16.255.255ã®ç¯å²ã®ã¢ãã¬ã¹ãæå®ããæ°ããã€ã³ã¿ãŒãã§ã€ã¹ã¯ãèªåçã«OSPFããã»ã¹ã®ã¡ã³ããŒã«ãªããŸããè¯ããæªãããããã¯ããªãã®æ¬²æ±ã«äŸåããŸãã
ãšãªã¢0ã¯ããããã®ãµããããããŸãŒã³çªå·0ã«å±ããŠããããšãæå³ããŸãïŒãã®äŸã§ã¯ãããã®ã¿ã«ãªããŸãïŒã
ãšãªã¢0ã¯åçŽãªãŸãŒã³ã§ã¯ãªããããããããã¯ããŒã³ãšãªã¢ã§ããããã¯ãä»ã®ãã¹ãŠã®ãŸãŒã³ãçµåããããšãæå³ããŸããéãŒããŸãŒã³ããéãŒããžã®ãã±ããã¯ãšãªã¢0ãééããå¿ èŠããããŸã
networkã³ãã³ããèšå®ãããšããã«ããŠã§ã«ã«ã ã¯ãŒããæ£ããã€ã³ã¿ãŒãã§ã€ã¹ããé£ã³åºããŸããããŸã çãã人ã¯ããŸãã-é£äººã¯ããŸããïŒ
msk-arbat-gw1ïŒsh ip OSPFãã€ããŒ
msk-arbat-gw1ïŒ
ããã§ãOSPFèšå®ãKemerovoã«æžã蟌ã¿ãŸãïŒã«ãŒã¿ãŒID =ã«ãŒãããã¯ã€ã³ã¿ãŒãã§ã€ã¹ã®IPã¢ãã¬ã¹ãIPãã©ã³ããååŸïŒïŒ
kmr-gorka-gw1ïŒconfigïŒ#router OSPF 1
kmr-gorka-gw1ïŒconfig-routerïŒïŒrouter-id 172.16.255.48
kmr-gorka-gw1ïŒconfig-routerïŒ#network 172.16.0.0 0.0.255.255 area 0
ãããŠãã®çŽåŸã«ã³ã³ãœãŒã«ã«ã¡ãã»ãŒãžã衚瀺ãããŸã
02ïŒ27ïŒ33ïŒïŒ OSPF-5-ADJCHGïŒããã»ã¹1ãFastEthernet0 / 0.5ã®Nbr 172.16.255.1ã®LOADINGããFULLãå®äº
ã¢ã¹ã¯ã¯ã®ã«ãŒã¿ãŒã«ãåãããšã瀺ãããŠããŸãã
02ïŒ27ïŒ33ïŒïŒ OSPF-5-ADJCHGïŒããã»ã¹1ãFastEthernet0 / 1.5ã®Nbr 172.16.255.48ããLOADINGããFULLãå®äºããŸããã
ããã§ã¯ãé£æ¥é¢ä¿ãæ£åžžã«ç¢ºç«ãããLSA亀æãçºçããããšãããããŸããåã«ãŒã¿ãŒã¯ç¬èªã®LSDBãæ§ç¯ããŠããŸãã
è¿é£ã®è©³çŽ°æ å ±ïŒ
msk-arbat-gw1#sh ip OSPF neighbor detail
Neighbor 172.16.255.48 , interface address 172.16.2.18
In the area 0 via interface FastEthernet0/1.5
Neighbor priority is 1, State is FULL , 4 state changes
DR is 172.16.2.17 BDR is 172.16.2.18
Options is 0x00
Dead timer due in 00:00:38
Neighbor is up for 00:02:51
Index 1/1, retransmission queue length 0, number of retransmission 0
First 0x0(0)/0x0(0) Next 0x0(0)/0x0(0)
Last retransmission scan length is 0, maximum is 0
Last retransmission scan time is 0 msec, maximum is 0 msec
è¿é£ã®ç¶æ ã«é¢ãããã¹ãŠã®éèŠãªæ å ±ã¯æ¬¡ã®ãšããã§ãã
ãã®ã«ãŒã¿ãŒIDïŒ172.16.255.48ïŒãã«ãŒãããã¯ãè¿é£ã確ç«ããããªã¢ãŒãåŽã€ã³ã¿ãŒãã§ã€ã¹ã®ã¢ãã¬ã¹ïŒ172.16.2.18ïŒãç©çã€ã³ã¿ãŒãã§ã€ã¹ã®ã¿ã€ããšçªå·ïŒFastEthernet0 / 1.5ïŒãçŸåšã®ã¹ããŒã¿ã¹ïŒFULLïŒããã³ãããã¿ã€ããŒãåŸè ã¯ã芳å¯ããŠããŒãã«ã¯ãªããŸããããã®å€ã¯æžå°ããæžå°ãããããŠOpïŒ 10ç§ããšã«ã«ãŒã¿ãhelloã¡ãã»ãŒãžãåä¿¡ããŠãããããš40ã®äžã«ããããã
ã³ãã³ãã䜿çšãããšãã«ãŒãã£ã³ã°ããŒãã«ãã©ã®ããã«å€æŽããããã確èªã§ããŸãã
msk-arbat-gw1#show ip route
Codes: C â connected, S â static, I â IGRP, R â RIP, M â mobile, B â BGP
D â EIGRP, EX â EIGRP external, O â OSPF, IA â OSPF inter area
N1 â OSPF NSSA external type 1, N2 â OSPF NSSA external type 2
E1 â OSPF external type 1, E2 â OSPF external type 2, E â EGP
i â IS-IS, L1 â IS-IS level-1, L2 â IS-IS level-2, ia â IS-IS inter area
* â candidate default, U â per-user static route, o â ODR
P â periodic downloaded static route
Gateway of last resort is 198.51.100.1 to network 0.0.0.0
172.16.0.0/16 is variably subnetted, 17 subnets, 5 masks
C 172.16.0.0/24 is directly connected, FastEthernet0/0.3
C 172.16.1.0/24 is directly connected, FastEthernet0/0.2
C 172.16.2.0/30 is directly connected, FastEthernet0/1.4
S 172.16.2.4/30 [1/0] via 172.16.2.2
C 172.16.2.16/30 is directly connected, FastEthernet0/1.5
C 172.16.2.32/30 is directly connected, FastEthernet0/1.7
C 172.16.2.128/30 is directly connected, FastEthernet0/1.8
C 172.16.2.196/30 is directly connected, FastEthernet1/0.911
C 172.16.3.0/24 is directly connected, FastEthernet0/0.101
C 172.16.4.0/24 is directly connected, FastEthernet0/0.102
C 172.16.5.0/24 is directly connected, FastEthernet0/0.103
C 172.16.6.0/24 is directly connected, FastEthernet0/0.104
S 172.16.16.0/21 [1/0] via 172.16.2.2
S 172.16.24.0/22 [1/0] via 172.16.2.18
O 172.16.24.0/24 [110/2] via 172.16.2.18, 00:13:03, FastEthernet0/1.5
C 172.16.255.1/32 is directly connected, Loopback0
O 172.16.255.48/32 [110/2] via 172.16.2.18, 00:13:03, FastEthernet0/1.5
198.51.100.0/28 is subnetted, 1 subnets
C 198.51.100.0 is directly connected, FastEthernet0/1.6
S* 0.0.0.0/0 [1/0] via 198.51.100.1
æ¢ç¥ã®ãããã¯ãŒã¯ïŒC-çŽæ¥æ¥ç¶ããã³S-éçïŒã«å ããŠãOïŒOSPFïŒãšããŒã¯ããã2ã€ã®æ°ããã«ãŒãããããŸããããã§ã¯ãã¹ãŠãæ確ã«ãªã£ãŠããã¯ãã§ããã泚ææ·±ãèªè ã¯å°ããŸãããã«ãŒãã£ã³ã°ããŒãã«ã«172.16.24.0ãããã¯ãŒã¯ãžã®2ã€ã®ã«ãŒããããã®ã¯ãªãã§ããããªãããæãŸããéçãªãã®ãæ®ããªãã®ã§ããããïŒãäžè¬çã«ããããã¯ãŒã¯ãžã®æé©ãªã«ãŒãã®ã¿ãã«ãŒãã£ã³ã°ããŒãã«ã«å ¥ããŸããããã©ã«ãã§ã¯1ã€ã§ãããã ããéçã«ãŒãã¯ãµãããã172.16.24.0/22ã«å°éããOSPFãã172.16.24.0/24ã«åä¿¡ãããŸãããããã¯ç°ãªããµããããã§ãããããã©ã¡ãã倪éœã®åã®å ŽæãèŠã€ããŸãããå®éã®ãšãããOSPFã¯ãããªããããã§äœãèšç»ããã©ã®ç¯å²ãå²ãåœãŠããããããªã-å®éã®ããŒã¿ãã€ãŸãIPã¢ãã¬ã¹ãšãã¹ã¯ã§åäœããŸãïŒ
ã€ã³ã¿ãŒãã§ã€ã¹FastEthernet0 / 0.2
IPã¢ãã¬ã¹172.16.24.1 255.255.255.0
ã±ã¡ããŽã©ã§èµ·ãã£ãŠããããšïŒ
kmr-gorka-gw1ïŒsh ip route
æçµæ段ã®ã²ãŒããŠã§ã€ã¯172.16.2.17ãããããã¯ãŒã¯0.0.0.0ãž
172.16.0.0/16ã¯å¯å€ãµããããåã14ãµããããã3ãã¹ã¯
O 172.16.0.0/24 [110/2]çµç±ã§172.16çµç±ã§ãã 2.17ã00ïŒ32ïŒ42ãFastEthernet0 / 0.5
O 172.16.1.0/24 [110/2]çµç±172.16.2.17ã00ïŒ32ïŒ42ãFastEthernet0 / 0.5
O 172.16.2.0/30 [110/2]çµç±172.16ã 2.17ã00ïŒ32ïŒ42ãFastEthernet0 / 0.5
C 172.16.2.16/30ã¯çŽæ¥æ¥ç¶ãããFastEthernet0 / 0.5
O 172.16.2.32/30 [110/2] 172.16.2.17ã00ïŒ32ïŒ42ãFastEthernet0 / 0.5
O çµç±172.16.2.17ãå€12æ32å42ç§ãFastEthernet0 / 0.5çµç±172.16.2.128/30 [2åã®110]
172.16.2.17ãå€12æ32å42ç§ãFastEthernet0 / 0.5çµç±O 172.16.2.196/30 [2åã®110]
O 172.16.3.0/24 [110/2] 172.16.2.17çµç±ã00ïŒ32ïŒ42ãFastEthernet0 / 0.5
O 172.16.4.0/24 [110/2] 172.16.2.17çµç±ã00ïŒ32ïŒ42ãFastEthernet0 / 0.5
O 172.16.5.0/24 [110/2] 172.16.2.17ã00ïŒ32ïŒ42çµç±ãFastEthernet0 / 0.5
O 172.16.6.0/24 [110/2]çµç±172.16.2.17ã00ïŒ32ïŒ42ãFastEthernet0 / 0.5
C 172.16.24.0/24ã¯çŽæ¥æ¥ç¶ãããFastEthernet0 / 0.2
O 172.16.255.1/32 [110/2]çµç±172.16.2.17ã00ïŒ32ïŒ42ãFastEthernet0 / 0.5
C 172.16.255.48/32ã¯çŽæ¥æ¥ç¶ãããLoopback0
S * 0.0.0.0/0 [1/0]ã¯172.16.2.17çµç±
ã芧ã®ãšããã以åã«æ§æãããããã©ã«ãã«ãŒãã«å ããŠãã¢ã¹ã¯ã¯ã®ãã¹ãŠã®ãµãããããããã«è¡šç€ºãããŸããã
è§æ¬åŒ§å ã®æ°åã«æ³šæããŠãã ããã
S * 0.0.0.0/0 [ 1/0 ]
O 172.16.6.0/24 [ 2åã®110 ]
æåã®æ¡ã¯ã¢ãããã¹ãã¬ãŒãã£ããã£ã¹ã¿ã³ã¹ã§ãããOSPFã¯ã¹ã¿ãã£ãã¯ãããã¯ããã«å€§ãããããåªå é äœã¯äœããªããŸãã
å®éããµãããã172.16.24.0/24ããåã§ã¯ããã©ãã£ãã¯ã¯ããã¹ã¯ãçãããïŒ24察22ïŒãOSPFãæäŸããã«ãŒãããã§ã«ééããŠããŸããã
ããããéçã«ãŒããåé€ããŠãäœãèµ·ãããèŠãŠã¿ãŸãããã
äºæ³éãããã¹ãŠãæ©èœããŸãïŒ
msk-arbat-gw1ïŒping 172.16.24.1
äžæ¢ããã«ã¯ãšã¹ã±ãŒãã·ãŒã±ã³ã¹ãå ¥åããŸãã
5ã100ãã€ãã®ICMPãšã³ãŒã172.16.24.1ã«éä¿¡ãããšãã¿ã€ã ã¢ãŠãã¯2ç§ã§ãã
!!!
æåçã¯100ããŒã»ã³ãïŒ5/5ïŒãæå°åŸåŸ©/å¹³å/æ倧= 8/10/15ããªç§
ããã¯çŽ æŽãããããšã§ãã
ãµã³ã¯ãããã«ãã«ã¯ã§OSPFãèšå®ããŸãããïŒ
spb-vsl-gw1ïŒconfigïŒ#router OSPF 1
spb-vsl-gw1ïŒconfig-routerïŒïŒrouter-id 172.16.255.32
spb-vsl-gw1ïŒconfig-routerïŒ#network 172.16.0.0 0.0.255.255 area 0
ã芧ã®ãšãããèšå®ã¯ã©ãã§ãéåžžã«ç°¡åã§ããåæã«ãç°ãªãã«ãŒã¿ãŒã®OSFPããã»ã¹çªå·ã¯åãã§ããå¿ èŠã¯ãããŸãããããã®å Žåã¯ããè¯ãããšã«æ³šæããŠãã ããã
msk-arbat-gw1ã«ã¯ã2ã€ã®è¿åããããŸã
msk-arbat-gw1ïŒsh ip OSPF neighbor
Neighbor ID Pri State Dead Time Address Address Interface
172.16.255.32 1 FULL / DROTHER 00:00:39 172.16.2.2 FastEthernet0 / 1.4
172.16.255.48 1 FULL / DROTHER 00:00:31 172.16ã 2.18 FastEthernet0 / 1.5
ãããããµã³ã¯ãããã«ãã«ã¯ïŒããã³ã±ã¡ããŽã©ïŒã§ïŒ
spb-vsl-gw1ïŒsh ip OSPF neighbor
Neighbor ID Pri State Dead Time Address Address Interface
172.16.255.1 1 FULL / DR 00:00:34 172.16.2.1 FastEthernet1 / 0.4
å®éã«ã¯ãé£æ¥é¢ä¿ã¯çŽæ¥æ¥ç¶ãããããã€ã¹éã§ã®ã¿ç¢ºç«ãããspb-vsl-gw1ã¯msk-arbat-gw1ãä»ããŠkmr-gorka-gw1ãšéä¿¡ãããããäºãã®é£æ¥é¢ä¿ã«ã¯ãããŸããã
ä¿å®äž»çŸ©ã®æåŸã®ç Š-spb-ozerki-gw1ã¯ã3ã€ã®ã·ããªã¢ãªã³ã°ã«ãŒã¿ãŒã®ããã«ãåé¡ãªãããªãã«éäŒããŸãããã¹ãŠã¯é¡æšã«ãã£ãŠè¡ãããŸã-å®éã«ã¯ãã«ãŒã¿ãŒIDã®ã¿ãå€æŽãããŸãããŸããéçã«ãŒããåé€ããããšãå¿ããªãã§ãã ããã
ã¿ã¹ã¯No. 1
ãµã³ã¯ãããã«ãã«ã¯ã®ã«ãŒã¿ãŒéã§ã¯ãè¿é£ã®æ倱ãæ€åºããæéãççž®ããå¿ èŠããããŸããã«ãŒã¿ãŒã¯3ç§ããšã«Helloã¡ãã»ãŒãžãéä¿¡ããå¿ èŠãããã12ç§éè¿é£ããã®Helloã¡ãã»ãŒãžããªãã£ãå Žåã¯ãäºããå©çšã§ããªããšèŠãªããŸãã
çã
ãã¹ãŠã®ã¿ã¹ã¯ã«é¢ããäžè¬çãªã¢ããã€ã¹ïŒ
, :
â , ?
â ?
, , , , , , , .
- .
å®éã®ãããã¯ãŒã¯ã§ã¯ãçºè¡šããããµããããã®ç¯å²ãéžæãããšããèŠå¶ãšç·æ¥ã®ããŒãºã«å°ãããå¿ èŠããããŸãã
ããã¯ã¢ãããªã³ã¯ãšé床ã®ãã¹ãã«é²ãåã«ãå¥ã®äŸ¿å©ãªããšãè¡ããŸãã
ãµãŒããŒã«åãã£ãŠããFE0 / 0.2ã€ã³ã¿ãŒãã§ã€ã¹msk-arbat-gw1ã§ãã©ãã£ãã¯ããã£ããããæ©äŒããã£ãå Žåã10ç§ããšã«Helloã¡ãã»ãŒãžãæªç¥ã®ãã®ã«é£ãã§ããããšãããããŸããHelloã«çãã人ã¯ããŸãããé£æ¥é¢ä¿ã確ç«ãã人ãããªãã®ã§ãããããã¡ãã»ãŒãžãéä¿¡ããããšããŠãæå³ããããŸããã
ãªãã«ããã®ã¯éåžžã«ç°¡åã§ãã
msk-arbat-gw1ïŒconfigïŒ#router OSPF 1
msk-arbat-gw1ïŒconfig-routerïŒïŒpassive-interface fastEthernet 0 / 0.2
ãã®ã³ãã³ãã¯ãOSPFãã€ããŒã確å®ã«ååšããªãïŒã€ã³ã¿ãŒããããžã®æ¥ç¶ãå«ãïŒãã¹ãŠã®ã€ã³ã¿ãŒãã§ã€ã¹ã«å¯ŸããŠæå®ããå¿ èŠããããŸãã
ãã®çµæãåçã¯æ¬¡ã®ããã«ãªããŸãã
*ãŸã æ··ä¹±ããŠããªãããšã¯æ³åã§ããŸããã*
ããã«ããã®ã³ãã³ãã¯ã»ãã¥ãªãã£ã匷åããŸãããã®ãããã¯ãŒã¯ã®èª°ãã«ãŒã¿ãŒã®ãµãããããç§ãã¡ãå®å šã«ç Žå£ããããšããŸããã
ããã§ã¯ã楜ããéšåããã¹ãã«åãæãããŸãããã
ã·ããªã¢ã®ãªã³ã°å ã®ãã¹ãŠã®ã«ãŒã¿ãŒã§OSPFãã»ããã¢ããããã®ã«è€éãªããšã¯ãããŸãã-èªåã§è¡ããŸãã
ãã®åŸãç»åã¯æ¬¡ã®ããã«ãªããŸãã
msk-arbat-gw1ïŒsh ip OSPF neighbor
Neighbor ID Pri State Dead Time Address Address Interface
172.16.255.32 1 FULL / DR 00:00:31 172.16.2.2 FastEthernet0 / 1.4
172.16.255.48 1 FULL / DR 00:00:31 172.16ã 2.18 FastEthernet0 / 1.5
172.16.255.80 1 FULL / BDR 00:00:36 172.16.2.130 FastEthernet0 / 1.8
172.16.255.112 1 FULL / BDR 00:00:37 172.16.2.197 FastEthernet1 / 0.911
ããŒã¿ãŒãã±ã¡ããŽã©ãã¯ã©ã¹ãã€ã«ã¹ã¯ããŠã©ãžãªã¹ãã¯ã¯çŽçµããŠããŸãã
msk-arbat-gw1#sh ip route
Gateway of last resort is 198.51.100.1 to network 0.0.0.0
172.16.0.0/16 is variably subnetted, 25 subnets, 6 masks
C 172.16.0.0/24 is directly connected, FastEthernet0/0.3
C 172.16.1.0/24 is directly connected, FastEthernet0/0.2
C 172.16.2.0/30 is directly connected, FastEthernet0/1.4
S 172.16.2.4/30 [1/0] via 172.16.2.2
C 172.16.2.16/30 is directly connected, FastEthernet0/1.5
C 172.16.2.32/30 is directly connected, FastEthernet0/1.7
C 172.16.2.128/30 is directly connected, FastEthernet0/1.8
O 172.16.2.160/30 [110/2] via 172.16.2.130, 00:05:53, FastEthernet0/1.8
O 172.16.2.192/30 [110/2] via 172.16.2.197, 00:04:18, FastEthernet1/0.911
C 172.16.2.196/30 is directly connected, FastEthernet1/0.911
C 172.16.3.0/24 is directly connected, FastEthernet0/0.101
C 172.16.4.0/24 is directly connected, FastEthernet0/0.102
C 172.16.5.0/24 is directly connected, FastEthernet0/0.103
C 172.16.6.0/24 is directly connected, FastEthernet0/0.104
S 172.16.16.0/21 [1/0] via 172.16.2.2
S 172.16.24.0/22 [1/0] via 172.16.2.18
O 172.16.24.0/24 [110/2] via 172.16.2.18, 00:24:03, FastEthernet0/1.5
O 172.16.128.0/24 [110/2] via 172.16.2.130, 00:07:18, FastEthernet0/1.8
O 172.16.129.0/26 [110/2] via 172.16.2.130, 00:07:18, FastEthernet0/1.8
C 172.16.255.1/32 is directly connected, Loopback0
O 172.16.255.32/32 [110/2] 172.16.2.2ã00ïŒ24ïŒ03ãFastEthernet0 / 1.4
çµç±O 172.16.255.48/32 [110/2] 172.16.2.18ã00ïŒ24ïŒ03ãFastEthernet0 / 1.5çµç±
O 172.16.255.80/32 [110/2] 172.16.2.130çµç±ã00ïŒ07ïŒ18ãFastEthernet0 / 1.8
O 172.16.255.96/32 [110/3] 172.16.2.130çµç±ã00ïŒ04ïŒ18ãFastEthernet0 / 1.8
[110/3] 172.16.2.197çµç±ã00ïŒ04ïŒ18ãFastEthernet1 / 0.911
O 172.16.255.112/32 [110/2] 172.16.2.197çµç±ã00ïŒ04ïŒ28ãFastEthernet1 / 0.911
198.51.100.0/28ã¯ãµããããåã1ã€ã®ãµãããã
C 198.51.100.0ãçŽæ¥æ¥ç¶ãããFastEthernet0 / 1.6
S * 0.0.0.0/0 [1/0]çµç±ã§198.51.100.1
誰ãããã¹ãŠã®ããšãç¥ã£ãŠããŸãã
ã¢ã¹ã¯ã¯ããã¯ã©ã¹ãã€ã«ã¹ã¯ãŸã§ã®äº€éã¯ã©ã®ãããªã«ãŒãã§ããïŒãã®è¡šã¯ãkrs-stolbi-gw1ãçŽæ¥æ¥ç¶ãããŠããããšã瀺ããŠããããã¬ãŒã¹ãããåãããšãããããŸãã
msk-arbat-gw1ïŒtraceroute 172.16.128.1
äžæ¢ããã«ã¯ãšã¹ã±ãŒãã·ãŒã±ã³ã¹ãå ¥åããŸãã
172.16.128.1
1 172.16.2.130 ãžã®ã«ãŒãã®ãã¬ãŒã¹35ããªç§8ããªç§5ããªç§
ããã§ãã¢ã¹ã¯ã¯ãšã¯ã©ã¹ãã€ã«ã¹ã¯éã®ã€ã³ã¿ãŒãã§ãŒã¹ãåæãã埩å ããããªã³ã¯ã®æ°ã確èªããŸãã
5ç§æªæºã§ããã¹ãŠã®ã«ãŒã¿ãŒãã€ã³ã·ãã³ãã«ã€ããŠåŠç¿ããã«ãŒãã£ã³ã°ããŒãã«ãåã«ãŠã³ãããŸããã
msk-arbat-gw1(config-subif)#do sh ip ro 172.16.128.0
Routing entry for 172.16.128.0/24
Known via «OSPF 1», distance 110, metric 4, type intra area
Last update from 172.16.2.197 on FastEthernet1/0.911, 00:00:53 ago
Routing Descriptor Blocks:
* 172.16.2.197, from 172.16.255.80, 00:00:53 ago, via FastEthernet1/0.911
Route metric is 4, traffic share count is 1
vld-gw1#sh ip route 172.16.128.0
Routing entry for 172.16.128.0/24
Known via «OSPF 1», distance 110, metric 3, type intra area
Last update from 172.16.2.193 on FastEthernet1/0, 00:01:57 ago
Routing Descriptor Blocks:
* 172.16.2.193, from 172.16.255.80, 00:01:57 ago, via FastEthernet1/0
Route metric is 3, traffic share count is 1
msk-arbat-gw1#traceroute 172.16.128.1
äžæ¢ããã«ã¯ãšã¹ã±ãŒãã·ãŒã±ã³ã¹ãå ¥åããŸãã
Tracing the route to 172.16.128.1
1 172.16.2.197 4 msec 10 msec 10 msec
2 172.16.2.193 8 msec 11 msec 15 msec
3 172.16.2.161 15 msec 13 msec 6 msec
ã€ãŸããã¯ã©ã¹ãã€ã«ã¹ã¯ã®ãã©ãã£ãã¯ã¯æ¬¡ã®ããã«ãªããŸãã
ãªã³ã¯ãäžãããšããã«ãã«ãŒã¿ã¯åã³æ¥è§ŠããããŒã¹ã亀æããæçãã¹ãåèšç®ããŠã«ãŒãã£ã³ã°ããŒãã«ã«å ¥åããŸãã
ãããªã§ã¯ãããã¯ãã¹ãŠæçœã§ãã æ £ããããšããå§ãããŸãã
ã¿ã¹ã¯çªå·2
ã·ããªã¢ã®ãªã³ã°å ã®ã«ãŒã¿ãŒã§OSPFãã»ããã¢ããããåŸãã¢ã¹ã¯ã¯ã®äžå€®ãªãã£ã¹ïŒmsk-arbat-gw1ïŒã®ã«ãŒã¿ãŒã®èåŸã«ãããã¹ãŠã®ãããã¯ãŒã¯ã¯ã2ã€ã®ã«ãŒãïŒã¯ã©ã¹ãã€ã«ã¹ã¯ãšãŠã©ãžãªã¹ãã¯çµç±ïŒã§ããããã¹ã¯ã«å©çšã§ããŸãã ãã ããã¯ã©ã¹ãã€ã«ã¹ã¯ãä»ãããã£ãã«ã®æ¹ãåªããŠãããããããããã¹ã¯ãå©çšå¯èœãªå Žåã¯ã¯ã©ã¹ãã€ã«ã¹ã¯ãä»ãããã£ãã«ã䜿çšããããã«ãããã©ã«ãèšå®ãå€æŽããå¿ èŠããããŸãã ãããŠã圌ã¯ã¯ã©ã¹ãã€ã«ã¹ã¯ã®ãã£ã³ãã«ã«äœããèµ·ãã£ãå Žåã«ã®ã¿ãŠã©ãžãªã¹ãã¯ã«åãæ¿ããŸããã
çã
åªãããããã³ã«ãšåæ§ã«ãOSPFã¯èªèšŒããµããŒãããŸãã2ã€ã®è¿é£ã¯ãè¿é£é¢ä¿ã確ç«ããåã«ãåä¿¡ããOSPFã¡ãã»ãŒãžã®ä¿¡é Œæ§ãæ€èšŒã§ããŸãã ç§ãã¡ã¯ç¬ç«ããç 究ã®ããã«åºçºããŸã-éåžžã«ç°¡åã§ãã
ã¿ã¹ã¯çªå·3
Filkin Certificateãããã€ããŒã§äžæå¿«ãªè©±ããããŸããã VPNèšå®ã®ãšã©ãŒã«ãããããããå¥ã®ã¯ã©ã€ã¢ã³ããŸãã¯ãããã€ããŒã®å éšãããã¯ãŒã¯èªäœããããŠã©ãžãªã¹ãã¯ã®ã«ãŒã¿ãŒã«ããã€ãã®å¥åŠãªã«ãŒããå±ãå§ããŸããã äžéšã®ãããã¯ãŒã¯ã¯ããŒã«ã«ãããã¯ãŒã¯ãšäº€å·®ãããããã¯ãŒã¯ã®äžéšãšã®éä¿¡ã倱ãããŸããã ãã®äºä»¶ã®åŸããã®ãããªç¶æ³ããå°æ¥ãå®ãããšã決å®ãããŸããã
äžè¬çã«èšãã°ããã®ç¶æ³ã¯å€§ããã§ã¯ãªããããããããªãããšã§ãããããã¯ã¿ã¹ã¯ãšããŠå®è¡ãããŸãã
ã¢ã¹ã¯ã¯ãšãŠã©ãžãªã¹ãã¯ã®éã®ã»ã¯ã·ã§ã³ã§ã¯ãè¿é£é¢ä¿ã確ç«ãããšãã«ãèšå®ããããã¹ã¯ãŒãããã§ãã¯ããããã«ã«ãŒã¿ãŒãæ§æããå¿ èŠããããŸãã ãã¹ã¯ãŒãã¯MskVladPassã§ãããã·ã¥md5ïŒããŒçªå·1ïŒã®åœ¢åŒã§éä¿¡ããå¿ èŠããããŸãã
çã
EIGRP
次ã«ããã1ã€ã®éåžžã«éèŠãªãããã³ã«ãåãäžããŸãã
ããã§ã¯ãEIGRPã¯äœã«é©ããŠããŸããïŒ
-èšå®ãç°¡å
- äºåã«èšç®ãããäºåã«ãŒããžã®é«éåãæ¿ã
-å¿ èŠãªã«ãŒã¿ãŒãªãœãŒã¹ãå°ãªãïŒOSPFãšæ¯èŒïŒ
-ä»»æã®ã«ãŒã¿ãŒã§ã«ãŒããåèšããïŒOSPFã§ABR \ ASBRã®ã¿ïŒ
-çãããªãã«ãŒãã§ã®ãã©ãã£ãã¯ã®ãã©ã³ã¹èª¿æŽïŒOSPFã¯åçã®ã«ãŒãã§ã®ã¿ïŒ
Ivan Pepelnyakã®ããã°ãšã³ããªã® 1ã€ã翻蚳ããããšã«ããŸãããEIGRPã«é¢ããå€ãã®äžè¬çãªç¥è©±ãç解ããŠããŸãã
ãEIGRPã¯ãã€ããªããã«ãŒãã£ã³ã°ãããã³ã«ã§ããã ç§ã®èšæ¶ãæ£ãããã°ãäœå¹Žãåã®æåã®EIGRPãã¬ãŒã³ããŒã·ã§ã³ããå§ãŸããéåžžãEIGRPã¯ãªã³ã¯ç¶æ ããã³è·é¢ãã¯ãã«ãããã³ã«ããæé«ã®ãã®ãååŸããããšç解ãããŠããŸãã ããã¯å®å šã«ééã£ãŠããŸãã EIGRPã«ã¯ããªã³ã¯ç¶æ ã®ç¹åŸŽçãªæ©èœã¯ãããŸããã ãEIGRPã¯é«åºŠãªè·é¢ãã¯ãã«ã«ãŒãã£ã³ã°ãããã³ã«ã§ãããšæ£ãã衚瀺ãããŸãã
-ãEIGRPã¯è·é¢ãã¯ãã«ãããã³ã«ã§ããã æªãã¯ãªãããå®å šã«çå®ã§ããªãã EIGRPã¯ã倱ãããã«ãŒãïŒãŸãã¯ã¡ããªãã¯ãå¢å ããã«ãŒãïŒãåŠçããæ¹æ³ãä»ã®DVãšç°ãªããŸãã ä»ã®ãã¹ãŠã®ãããã³ã«ã¯ããã€ããŒããã®æ å ±ã®æŽæ°ãååçã«åŸ æ©ãïŒããšãã°ãRIPãªã©ãã«ãŒãã£ã³ã°ã«ãŒããé²ãããã«ã«ãŒãããããã¯ããããšããããŸãïŒãEIGRPã¯ããç©æ¥µçã«åäœããæ å ±èªäœãèŠæ±ããŸãã
ãEIGRPã®å®è£ ãšä¿å®ã¯å°é£ã§ããã éããŸãã ãã€ãŠãäœéãªã³ã¯ãåãã倧èŠæš¡ãããã¯ãŒã¯ã®EIGRPã¯ãã¹ã¿ãã«ãŒã¿ãŒãå°å ¥ããããŸã§æ£ç¢ºã«å®è£ ããããšã¯å°é£ã§ããã ãããïŒããã³DUALã¢ã«ãŽãªãºã ã®ããã€ãã®ä¿®æ£ïŒã䜿çšãããšãOSPFã»ã©æªããããŸããã
ãLSãããã³ã«ãšåæ§ã«ãEIGRPã¯äº€æããã«ãŒãã®ããããžã®ããŒãã«ãç¶æããŸããã ãããããã«ééã£ãŠãããã¯é©ãã°ããã§ãã EIGRPã¯ãæè¿é£ã®é£ã«äœãããã®ãââããããŸããããLSãããã³ã«ã¯ãæ¥ç¶å ã®ãšãªã¢å šäœã®ããããžãæ£ç¢ºã«ææ¡ããŠããŸãã
-ãEIGRPã¯LSã®ããã«æ©èœããDVãããã³ã«ã§ããã æªãè©Šã¿ã§ã¯ãããŸããããããã§ãå®å šã«ééã£ãŠããŸãã LSãããã³ã«ã¯ã次ã®æé ãå®è¡ããŠã«ãŒãã£ã³ã°ããŒãã«ãäœæããŸãã
-åã«ãŒã¿ãŒã¯ãLSAïŒOSPFå ïŒãŸãã¯LSPïŒIS-ISïŒãšåŒã°ãããã±ããïŒãŸãã¯è€æ°ïŒãä»ããŠãããŒã«ã«ã§å©çšå¯èœãªæ å ±ïŒãªã³ã¯ãé 眮ãããŠãããµãããããé£æ¥ããŒãïŒã«åºã¥ããŠãããã¯ãŒã¯ãèšè¿°ããŸã
-LSAã¯ãããã¯ãŒã¯ãä»ããŠé åžãããŸãã åã«ãŒã¿ãŒã¯ããããã¯ãŒã¯ã§äœæãããåLSAãåä¿¡ããå¿ èŠããããŸãã LSAããååŸããæ å ±ã¯ãããããžããŒãã«ã«å ¥åãããŸãã
-åã«ãŒã¿ãŒãç¬èªã«ããããžããŒãã«ãåæããSPFã¢ã«ãŽãªãºã ãå®è¡ããŠãä»ã®åã«ãŒã¿ãŒãžã®æé©ãªã«ãŒããèšç®ããŸã
EIGRPã®åäœã¯ãããã®æé ã«ãã䌌ãŠããªãããããªããLSã®ããã«åäœãããã®ãã¯äžæã§ãã
EIGRPãè¡ãããšã¯ããã€ããŒããåä¿¡ããæ å ±ãä¿åããããšã ãã§ãïŒRIPã¯ãçŸåšäœ¿çšã§ããªããã®ãããã«å¿ããŸãïŒã ãã®æå³ã§ã¯ãBGPã«äŒŒãŠãããBGPããŒãã«ã«ããã¹ãŠãä¿åããããããæé©ãªã«ãŒããéžæããŸãã ããããžããŒãã«ïŒãã€ããŒããåä¿¡ãããã¹ãŠã®æ å ±ãå«ãïŒã¯ãEIGRPã«RIPãããæå©ã§ããã¹ãã¢ïŒçŸåšäœ¿çšãããŠããªãïŒã«ãŒãã«é¢ããæ å ±ãå«ããããšãã§ããŸãã
ä»äºã®çè«ã«å°ãè¿ã¥ããïŒ
åEIGRPããã»ã¹ã¯3ã€ã®ããŒãã«ãæäŸããŸãã
-è¿é£ã®ããŒãã«ïŒè¿é£ããŒãã«ïŒãããã«ã¯ãè¿é£ãã«é¢ããæ å ±ãå«ãŸããŸãã çŸåšã«çŽæ¥æ¥ç¶ãããã«ãŒãã®äº€æã«åå ããŠããä»ã®ã«ãŒã¿ãŒã show ip eigrp neighborsã³ãã³ãã䜿çšããŠè¡šç€ºã§ããŸã
-è¿é£ããåä¿¡ããã«ãŒãæ å ±ãå«ããããã¯ãŒã¯ããããžããŒãã«ã show ip eigrp topologyã³ãã³ããèŠã
-ã«ãŒãã£ã³ã°ããŒãã«ãããã«åºã¥ããŠãã«ãŒã¿ãŒã¯ãã±ãã転éã«é¢ãã決å®ãè¡ããŸãã show ip routeã衚瀺
ã¡ããªãã¯ã
ç¹å®ã®ã«ãŒãã®å質ãè©äŸ¡ããããã«ãããŸããŸãªç¹æ§ãŸãã¯äžé£ã®ç¹æ§ïŒã¡ããªãã¯ïŒãåæ ããŠãã«ãŒãã£ã³ã°ãããã³ã«ã§ç¹å®ã®çªå·ã䜿çšãããŸãã èæ ®ãããç¹æ§ã¯ãç¹å®ã®ã«ãŒãäžã®ã«ãŒã¿ãŒã®æ°ããå§ãŸããã«ãŒãã«æ²¿ã£ãŠãã¹ãŠã®ã€ã³ã¿ãŒãã§ã€ã¹ãããŒãããç®è¡å¹³åã§çµãããç°ãªãå ŽåããããŸãã EIGRPã¡ããªãã¯ã«ã€ããŠã¯ããžã§ã¬ããŒã·ãªã¢ã©ãåŒçšããŸãããããEIGRPã®äœæè ã¯ãäœæãæ¹å€çã«èŠãŠããã¹ãŠãããŸãã«ãç°¡åãã€ããŸãæ©èœããŠãããšå€æãããšããå°è±¡ãåããŸããã ãããŠã圌ãã¯èª°ããèšããããªããŠãã£ããããã¯æ¬åœã«è€éã§ãããã§ãã·ã§ãã«ã«èŠãããã¡ããªãã¯åŒãæãã€ããã EIGRPã¡ããªãã¯ãèšç®ããããã®å®å šãªåŒãåç §ããŠãã ããïŒïŒK1 * bw +ïŒK2 * bwïŒ/ïŒ256-è² è·ïŒ+ K3 *é 延ïŒ*ïŒK5 /ïŒä¿¡é Œæ§+ K4ïŒïŒãããã§ïŒ
-bwã¯åãªã垯åå¹ ã§ã¯ãªããïŒ10,000,000 /ã«ãŒãã®ã«ãŒãã®æå°åž¯åå¹ ïŒãããããïŒïŒ* 256
-é 延ã¯åãªãé 延ã§ã¯ãªãã æ°åãã€ã¯ãç§ * 256ã®ãã¹ãŠã®éè·¯é 延ã®åèšïŒshow interfaceãshow ip eigrp topologyããã³ãã®ä»ã®ã³ãã³ãã®é 延ã¯ãã€ã¯ãç§ã§è¡šç€ºãããŸãïŒïŒ
-K1ãK5ã¯ãåŒã«1ã€ãŸãã¯å¥ã®ãã©ã¡ãŒã¿ãŒããå«ãããã®ã«åœ¹ç«ã€ä¿æ°ã§ãã
æã ããããã¹ãŠæžãããŠãããšããã«æ©èœããå Žåã§ãã å®éãåŒã®4ã€ã®å¯èœãªãã¹ãŠã®é ã®ãã¡ãããã©ã«ãã§ã¯2ã€ã®ã¿ã䜿çšãããŸãïŒbwãšdelayïŒä¿æ°K1ãšK3 = 1ãæ®ãã¯ãŒãïŒãããã«ããå€§å¹ ã«ç°¡çŽ åãããŸã-ããã2ã€ã®æ°åãè¿œå ããã ãã§ããŸã åŒã§èæ ®ãããŠããŸãïŒã 次ã®ããšãèŠããŠããããšãéèŠã§ããã¡ããªãã¯ã¯ãã«ãŒãã®å šé·ã«æ²¿ã£ãã¹ã«ãŒãããã®ææªã®ææšãšèŠãªãããŸãã
MTUã§èå³æ·±ãããšãèµ·ãããŸãããMTUãEIGRPã¡ããªãã¯ã«é¢é£ããŠãããšããæ å ±ãé »ç¹ã«èŠã€ããããšãã§ããŸãã å®éãã«ãŒãã亀æãããšãã«MTUå€ãéä¿¡ãããŸãã ãã ããå®å šãªåŒãããããããã«ãMTUã«ã€ããŠã¯èšåãããŠããŸããã å®éã«ã¯ããã®ã€ã³ãžã±ãŒã¿ã¯ããªãç¹å®ã®å Žåã«èæ ®ãããŸããããšãã°ãã«ãŒã¿ãŒãä»ã®ç¹æ§ãšåçã®ã«ãŒãã®1ã€ãããããããå¿ èŠãããå ŽåãMTUã®äœãã«ãŒããéžæããŸãã ãã ãã ãã¹ãŠãããã»ã©åçŽã§ã¯ãããŸãã ïŒã³ã¡ã³ããåç §ïŒã
EIGRPå ã§äœ¿çšãããçšèªãå®çŸ©ããŸãããã EIGRPã®åã«ãŒãã¯ãå®è¡å¯èœè·é¢ãšã¢ããã¿ã€ãºãããè·é¢ã®2ã€ã®æ°å€ã«ãã£ãŠç¹åŸŽä»ããããŸãïŒã¢ããã¿ã€ãºãããè·é¢ã®ä»£ããã«ã¬ããŒããããè·é¢ãèŠã€ããããšããããŸãããããã¯åãããšã§ãïŒã ãããã®åæ°å€ã¯ãç°ãªã枬å®ãã€ã³ãããã®ç¹å®ã®ã«ãŒãã®ã¡ããªãã¯ããŸãã¯ã³ã¹ãïŒå€§ãããæªãïŒãè¡šããŸããFDã¯ãç§ããç®çå°ãŸã§ããAD-ããã®ã«ãŒãã«ã€ããŠæããŠãããé£äººããç®çå°ãã ãé£äººããã®è²»çšãæ¢ã«FDã«å«ãŸããŠããã®ã«ããªãç§ãã¡ã¯é£äººããã®è²»çšãç¥ãå¿ èŠãããã®ãââããšããè«ççãªè³ªåãžã®åçã¯å°ãäœãã§ãïŒä»ã®ãšãããããªãã¯èªåã®é ãæ¢ããŠãèªåã®é ãç²ç ããããšãã§ããŸãïŒã
EIGRPãèªèããŠããåãµããããã«ã€ããŠãåã«ãŒã¿ãŒã«ã¯ããããã³ã«ã«åŸã£ãŠããã®ãµãããããžã®æé©ãªïŒã¡ããªãã¯ã®å°ãªãïŒã«ãŒããééããè¿é£ã«ãŒã¿ãŒã®äžããåŸç¶ã«ãŒã¿ãŒããããŸãã ãŸãããµããããã«ã¯1ã€ä»¥äžã®ä»£æ¿ã«ãŒããå«ãŸããå ŽåããããŸãïŒãã®ã«ãŒããééããè¿é£ã«ãŒã¿ãŒã¯ããã£ãŒãžãã«ãµã¯ã»ãµãšåŒã°ããŸãïŒã EIGRPã¯ãäºåã«ãŒããèšæ¶ããå¯äžã®ã«ãŒãã£ã³ã°ãããã³ã«ã§ãïŒOSPFã§ã¯ããããã¯ããããžããŒãã«ã«çã®åœ¢ã§å«ãŸããŠããŸããã€ãŸããSPFã¢ã«ãŽãªãºã ã§åŠçããå¿ èŠããããŸãïŒããããã³ã«ã決å®ãããšããã«é床ãåäžããŸããã¡ã€ã³ã«ãŒãïŒåŸç¶è çµç±ïŒãå©çšã§ããªãå Žåãããã«ããã¯ã¢ããã«ãŒãã«åãæ¿ãããŸãã ã«ãŒã¿ãŒãã«ãŒãã®ãã£ãŒãžãã«ãµã¯ã»ãµã«ãªãããã«ã¯ããã®ADããã®ã«ãŒãã®FDãµã¯ã»ãµãããå°ãããªããã°ãªããŸããïŒãã®ããADãç¥ãå¿ èŠããããŸãïŒã ãã®ã«ãŒã«ã¯ãã«ãŒãã£ã³ã°ãªã³ã°ãåé¿ããããã«é©çšãããŸãã
åã®æ®µèœã¯è³ãå¹ãé£ã°ããŸãããïŒ çŽ æã¯é£ããã®ã§ãããäžåºŠäŸãæããŸãã ãã®ãããªãããã¯ãŒã¯ããããŸãïŒ
R1ããèŠããšãR2ã¯192.168.2.0/24ãµããããã®åŸç¶ã§ãã ãã®ãµããããã®FSã«ãªãã«ã¯ãR4ã§ADããã®ã«ãŒãã®FDããå°ããå¿ èŠããããŸãã FDïŒïŒ10000000/1544ïŒ* 256ïŒ+ïŒ2100 * 256ïŒ= 2195456ãADã¯R4ïŒåœŒã®èŠ³ç¹ããã¯FDãã€ãŸããã®ãããã¯ãŒã¯ã«å°éããã®ã«ã©ããããã®è²»çšãããããŸããïŒ=ïŒïŒ10000000/100000 ïŒ* 256ïŒ+ïŒ100 * 256ïŒ= 51200ã ãã¹ãŠãåæããR4ã¯FDã«ãŒããããADãå°ãªããFSã«ãªããŸãã *ããã§è³ã¯ãã®ãããªãã®ã§ããéãããšèšã£ãŠããŸãã R3ãèŠãŠã¿ãŸããã-ãããã¯ãŒã¯192.168.1.0/24ããã€ããŒR1ã«ã¢ããŠã³ã¹ãã次ã«ãã€ããŒR2ãšR4ã«éç¥ããŸãã R4ã¯ãR2ããã®ãµãããããèªèããŠããããšãèªèãããéç¥ããããšã«ããŸããã R2ã¯ãR4ãä»ããŠãµãããã192.168.1.0/24ã«ã¢ã¯ã»ã¹ã§ãããšããæ å ±ãR1ã§éä¿¡ããŸãã R1ã¯ãR2ãèªãã«ãŒããšADã®FDãå³å¯ã«èª¿ã¹ãŸãïŒå³ããç°¡åã«ãããããã«ãFDãå«ãŸããŠãããããæããã«FDããã倧ãããªããŸãïŒãããããçš®é¡ã®ãã³ã»ã³ã¹ãæ··ä¹±ãããªãããã«ããŸãã ãã®ç¶æ³ã¯ããªãããããã«ãããŸããããç¹å®ã®ç¶æ³äžã§çºçããå¯èœæ§ããããŸããããšãã°ããã¹ããªãããã©ã€ãºã³ãã¡ã«ããºã ãç¡å¹ã«ãªã£ãŠããå Žåã§ãã ãããŠä»ãããå¯èœæ§ã®é«ãç¶æ³ã®ããã«ïŒR4ãFastEthernetã§ã¯ãªã56kã¢ãã ïŒãã€ã€ã«ã¢ããã®é 延ã¯20,000 usecïŒãä»ããŠ192.168.2.0/24ãããã¯ãŒã¯ã«æ¥ç¶ãããŠããã®ã§ãååŸãã䟡å€ããããšèããŠã¿ãŸãããïŒïŒ10000000/56ïŒ* 256 ïŒ+ïŒ2000 * 256ïŒ=46226176ãããã¯ãã®ã«ãŒãã®FDããã倧ãããããR4ã¯ãã£ãŒãžãã«ãµã¯ã»ãµã«ãªããŸããã ãã ããããã¯EIGRPããã®ã«ãŒãããŸã£ãã䜿çšããªããšããæå³ã§ã¯ãããŸããã åãæ¿ããã ãã§æéãããããŸãïŒããã«ã€ããŠã¯åŸã§è©³ãã説æããŸãïŒã
è¿æ
ã«ãŒã¿ãŒã¯ãã«ãŒãã«ã€ããŠã ããšã話ããªã-æ å ±ã亀æããåã«ãè¿é£é¢ä¿ã確ç«ããå¿ èŠããããŸãã router eigrpã³ãã³ãã«ãã£ãŠèªåŸã·ã¹ãã ã®çªå·ã䜿çšããŠããã»ã¹ããªã³ã«ãªã£ãåŸãnetworkã³ãã³ãã¯ãã©ã®ã€ã³ã¿ãŒãã§ã€ã¹ãåå ããããåæã«ã©ã®ãããã¯ãŒã¯ãé åžãããã«ã€ããŠã®æ å ±ãäŒããŸãã ããã«ãhelloãã±ããã¯ãããã®ã€ã³ã¿ãŒãã§ã€ã¹ãä»ããŠãã«ããã£ã¹ãã¢ãã¬ã¹224.0.0.10ã«éä¿¡ãããŸãïŒããã©ã«ãã§ã¯ãã€ãŒãµãããã§ã¯5ç§ããšïŒã EIGRPãæå¹ã«ãªã£ãŠãããã¹ãŠã®ã«ãŒã¿ãŒããããã®ãã±ãããåä¿¡ãããšãåå®å ã«ãŒã¿ãŒã¯æ¬¡ã®ããšãè¡ããŸãã
-helloãã±ããã®éä¿¡è ã¢ãã¬ã¹ãããã±ããã®åä¿¡å ã®ã€ã³ã¿ãŒãã§ãŒã¹ã®ã¢ãã¬ã¹ã§æ€èšŒããããããåããµããããããã®ãã®ã§ããããšã確èªããŸã
-Kä¿æ°ã®ããã±ãŒãžããååŸãããå€ïŒã€ãŸããã¡ããªãã¯ã®èšç®ã«äœ¿çšãããå€æ°ïŒãããèªäœã®å€ãšæ¯èŒããŸãã ããããç°ãªãå Žåãã«ãŒãã®ã¡ããªãã¯ã¯ç°ãªãã«ãŒã«ã«åŸã£ãŠèæ ®ãããããšã¯æããã§ãããããã¯åãå ¥ããããŸãã
-èªåŸã·ã¹ãã çªå·ã確èªããŸã
-ãªãã·ã§ã³ïŒèªèšŒãæ§æãããŠããå Žåããã®ã¿ã€ããšããŒãäžèŽãããã©ããã確èªããŸãã
åä¿¡è ããã¹ãŠã«æºè¶³ããããéä¿¡è ãé£äººã®ãªã¹ãã«è¿œå ããæ¢ç¥ã®ãã¹ãŠã®ã«ãŒãã®ãªã¹ããå«ãæŽæ°ãã±ããïŒå¥åãå®å šæŽæ°ïŒãéä¿¡ããŸãïŒæ¢ã«ãŠããã£ã¹ãïŒã ãã®ãããªãã±ãããåä¿¡ããéä¿¡è ã¯ãåæ§ã«åãããšãè¡ããŸãã ã«ãŒãã亀æããããã«ãEIGRPã¯Reliable Transport ProtocolïŒRTPãIPãã¬ãã©ããŒã§äœ¿çšãããReal-time Transport Protocolãšæ··åããªãïŒã䜿çšããŸããããã¯é ä¿¡ã®ç¢ºèªãæå³ãããããæŽæ°ãã±ãããåä¿¡ããåã«ãŒã¿ãŒã¯ackãã±ããïŒçã確èª-確èªããïŒã ããã§ãè¿é£é¢ä¿ã確ç«ãããã«ãŒã¿ãŒã¯ãäºãããã«ãŒãã«é¢ããå æ¬çãªæ å ±ãåŠç¿ããŸããã次ã«äœãããŸããïŒ ãã®åŸã圌ãã¯æ¥è§ŠããŠããããšã確èªããŠãã«ããã£ã¹ãhelloãã±ãããéä¿¡ãç¶ããããããžãå€æŽãããå Žåãå€æŽã«é¢ããæ å ±ã®ã¿ãå«ããã±ãããæŽæ°ããŸãïŒéšåæŽæ°ïŒã
ããŠãåã®ã¢ãã åç·ã«æ»ããŸãã
äœããã®çç±ã§R2ã192.168.2.0/24ãšã®æ¥ç¶ã倱ããŸããã ãã®ãµããããã®åã¯ã代æ¿ã«ãŒãã¯ãããŸããïŒã€ãŸããFSã¯ãããŸããïŒã EIGRPãåãã責任ããã«ãŒã¿ãŒãšåæ§ã«ã圌ã¯åæ¥ç¶ãæãã§ããŸãã ãããè¡ãããã«ã圌ã¯ãã¹ãŠã®é£äººã«ç¹å¥ãªã¡ãã»ãŒãžïŒã¯ãšãªãã±ããïŒãéä¿¡ãå§ããé£äººã¯èªåèªèº«ã®æ£ããã«ãŒããèŠã€ããããããã¹ãŠã®é£äººã«è³ªåããŸãã ãªã¯ãšã¹ãã®æ³¢ãR4ã«éãããšã圌ã¯ãã¡ãã£ãšåŸ ã£ãŠããã®ãµãããããžã®ã«ãŒãããããŸãïŒ æªãããå°ãªããšãäœãã 誰ãã圌ã®ããšãå¿ããŠããŸããããç§ã¯èŠããŠããŸããã 圌ã¯ããããã¹ãŠè¿ä¿¡ãã±ããã«ãŸãšããã¯ãšãªïŒã¯ãšãªïŒãåä¿¡ãããã€ããŒã«éä¿¡ããŸãã ãã¡ãããããã¯ãã¹ãŠãã£ãŒãžãã«ãµã¯ã»ãµã«åãæ¿ãããããæéãããããŸãããæçµçã«ã¯ãµããããã«æ¥ç¶ã§ããŸãã
ãããŠä»ãå±éºãªç¬éã§ããããããããã®ãã¡ã³ã®ã¡ãŒã«ã«ã€ããŠã®ç¬éãèªãã§æ°ã¥ããŠããŠãèŠæããŠãããããããŸããã 1ã€ã®ã€ã³ã¿ãŒãã§ã€ã¹ãèœã¡ããšããããã¯ãŒã¯äžã®ãããŒããã£ã¹ãã¹ããŒã ã«äŒŒããã®ãçºçãïŒãã¡ããããã®ãããªèŠæš¡ã§ã¯ãããŸãããïŒãã«ãŒã¿ãŒãå€ãã»ã©ãããããã¹ãŠã®èŠæ±/å¿çã¡ãã»ãŒãžã«ããå€ãã®ãªãœãŒã¹ãè²»ããããŸãã ããããããã¯ãŸã åé¡ã®ååã§ãã ç¶æ³ã¯ããã«æªåããŠããŸããåçã«ç€ºãããŠããã«ãŒã¿ãŒã¯ã倧èŠæš¡ã§åæ£ããããããã¯ãŒã¯ã®äžéšã«ãããªãããšãæ³åããŠãã ããã ããã€ãã¯ãR2ããäœåãããé¢ããã貧匱ãªãã£ãã«ãªã©ã«ãããŸãã ãã®ãããåé¡ã¯ãè¿é£ã«ã¯ãšãªãéä¿¡ããããšã«ãããã«ãŒã¿ãŒãè¿é£ããã®å¿çãåŸ ããªããã°ãªããªãããšã§ãã çããäœã§ããã圌ã¯æ¥ãªããã°ãªããŸããã ãã®å Žåã®ããã«ãã«ãŒã¿ãŒãæ¢ã«è¯å®çãªåçãåãåã£ãŠãããšããŠãããã¹ãŠã®èŠæ±ã«å¯ŸããåçãåãåããŸã§ããã®ã«ãŒããéçšããããšã¯ã§ããŸããã ãããŠããããããã¢ã©ã¹ã«ã®ã©ããä»ã®å Žæãæ¢æ€ããŸãã ã«ãŒãã®ãã®ç¶æ ã¯ãã¹ã¿ãã¯ã€ã³ã¢ã¯ãã£ããšåŒã°ããŸãã ããã§ãEIGRPã®ã«ãŒãã®ç¶æ ãåæ ããçšèªïŒã¢ã¯ãã£ã\ããã·ãã«ãŒãïŒãç解ããå¿ èŠããããŸãã éåžžã圌ãã¯èª€è§£ãæããŸãã åžžèã§ã¯ãã¢ã¯ãã£ããšã¯ãã«ãŒãããã¢ã¯ãã£ãããæå¹ãå®è¡äžã§ããããšãæå³ããŸãã ãã ããå察ã¯çå®ã§ããããã·ãã¯ã倧äžå€«ãã§ãããã¢ã¯ãã£ãç¶æ ã¯ãµãããããå©çšã§ããªãããšãæå³ããã«ãŒã¿ãŒã¯å¥ã®ã«ãŒããã¢ã¯ãã£ãã«æ€çŽ¢ããã¯ãšãªãéä¿¡ããŠå¿çãåŸ æ©ããŠããŸãã ãã®ãããã¹ã¿ãã¯ç¶æ ïŒã¢ã¯ãã£ãç¶æ ã®ãŸãŸïŒã¯æ倧3åéæç¶ããŸãïŒ ãã®æéã®çµããã«ãã«ãŒã¿ã¯ãå¿çãåŸ æ©ã§ããªããã€ããŒãšã®è¿é£é¢ä¿ã解é€ããR4ãä»ããæ°ããã«ãŒãã䜿çšã§ããŸãã åé¡ã®è©³çŽ°
ãããã¯ãŒã¯ãšã³ãžãã¢ãå·ããç©èªã 3åã®ããŠã³ã¿ã€ã ã¯åè«ã§ã¯ãããŸããã ãã®ç¶æ³ã§
äžè¬çã«èšãã°ãå¥ã®æ¹æ³ããããã«ãŒããã£ã«ã¿ãªã³ã°ãšåŒã°ããŸãã ããããããã¯éåžžã«èšå€§ãªãããã¯ã§ãããããå¥ã®èšäºãäœæããŸãããä»åã¯ãã§ã«æ¬ã®ååããããŸãã ãããã£ãŠãããªãã®è£éã§ã
ãã§ã«èª¬æããããã«ãEIGRPã§ã¯ãã«ãŒãã®éçŽã¯ã©ã®ã«ãŒã¿ãŒã§ãå®è¡ã§ããŸãã 説æã®ããã«ã192.168.0.0 / 24ãã192.168.7.0/24ã®ãµããããããéåžžã«äŸ¿å©ãª192.168.0.0/21ã«èŠçŽãããŠããR2ã«æ¥ç¶ãããŠãããšä»®å®ããŸãïŒãã€ããªæ°åŠãæãåºããŠãã ããïŒã ã«ãŒã¿ãŒã¯ãã®ãµããªãŒã«ãŒããã¢ããŠã³ã¹ããä»ã®ãã¹ãŠã®äººã¯ç¥ã£ãŠããŸããå®å ã¢ãã¬ã¹ã192.168.0-7ã§å§ãŸãå Žåããããããã§ãã ãµããããã®1ã€ãæ¶ãããšã©ããªããŸããïŒ ã«ãŒã¿ãŒã¯ãã®ãããã¯ãŒã¯ã®ã¢ãã¬ã¹ïŒå ·äœçã«ã¯ãããšãã°192.168.5.0/24ïŒã§ã¯ãšãªãã±ãããéä¿¡ããŸãããé£äººã¯èªåã«ä»£ãã£ãŠæªè³ªãªã¡ãŒã«ãéä¿¡ãç¶ãã代ããã«ããããããªãã®ãµããããã§ãããšèšã£ãŠãããã«å·éãªå¿çãéä¿¡ããŸããããªããšç解ã
2çªç®ã®ãªãã·ã§ã³ã¯ã¹ã¿ãæ§æã§ãã æ¯Figçã«èšãã°ãã¹ã¿ãã¯EIGRPã®ããã¹ã®çµãããããè¡ãæ¢ãŸãããæå³ããŸããã€ãŸãããã®ãããªã«ãŒã¿ãŒã«çŽæ¥æ¥ç¶ãããŠããªããµããããã«å ¥ãã«ã¯ãæ»ãå¿ èŠããããŸãã ã¹ã¿ããšããŠèšå®ãããã«ãŒã¿ãŒã¯ãEIGRPããåŠç¿ãããµããããéã§ãã©ãã£ãã¯ã転éããŸããïŒã€ãŸããshow ip routeã§æåDã§ããŒã¯ãããŠããŸãïŒã ããã«ã圌ã®é£äººã¯åœŒã«ã¯ãšãªãã±ãããéä¿¡ããŸããã æãäžè¬çãªãŠãŒã¹ã±ãŒã¹ã¯ãç¹ã«åé·ãªã³ã¯ã䜿çšããããã¢ã³ãã¹ããŒã¯ããããžã§ãã 次ã®ãããã¯ãŒã¯ã䜿çšããŸããå·ŠåŽ-ãã©ã³ããå³åŽ-ã¡ã€ã³ãµã€ããã¡ã€ã³ãªãã£ã¹ãªã©ã ãã©ãŒã«ããã¬ã©ã³ã¹ã®åé·ãªã³ã¯çšã ããã©ã«ãèšå®ã®EIGRPãèµ·åãããŸããã
ãããŠä»ãã泚æã質åãïŒR1ãR4ãšã®æ¥ç¶ã倱ããR5ãLANã倱ã£ãå Žåã¯ã©ããªããŸããïŒ R1ãµããããããæ¬ç€Ÿãªãã£ã¹ãµãããããžã®ãã©ãã£ãã¯ã¯ãR1-> R5-> R2ïŒãŸãã¯R3ïŒ-> R4ã®ã«ãŒããéããŸãã ããã¯å¹æçã§ããïŒ ãããã©ãã£ãã¯éã®å¢å ãšãã®çµæã«ãããR1ã®ãµããããã ãã§ãªããR2ïŒãŸãã¯R3ïŒã®ãµããããã圱é¿ãåããŸããããã§ã¯ããã®ãããªç¶æ³ã®ã¹ã¿ããèããããŸãããã©ã³ãå ã®ã«ãŒã¿ãŒã®èåŸã«ã¯ãä»ã®ãµããããã«ã€ãªããä»ã®ã«ãŒã¿ãŒã¯ãããŸãã;ããããéã®çµãããã§ããããã®åŸã®ã¿ã§ãããã®ããã軜ãããŒãã§ããããã¹ã¿ããšããŠæ§æã§ããŸããããã«ãããæåã«äžèšã®ãæ²ç·ã«ãŒããã®åé¡ãåé¿ããã次ã«ã«ãŒãã倱ãããå Žåã®ã¯ãšãªãã±ããã®ãã©ãããåé¿ãããŸãã
ã¹ã¿ãã«ãŒã¿ã«ã¯ããŸããŸãªåäœã¢ãŒãããããeigrp stubã³ãã³ãã«ãã£ãŠèšå®ãããŸãã
R1(config)#router eigrp 1
R1(config-router)#eigrp stub?
connected Do advertise connected routes
leak-map Allow dynamic prefixes based on the leak-map
receive-only Set IP-EIGRP as receive only neighbor
redistributed Do advertise redistributed routes
static Do advertise static routes
summary Do advertise summary routes
ããã©ã«ãã§ã¯ãeigrp stubã³ãã³ããçºè¡ããã ãã§ãæ¥ç¶ã¢ãŒããšèŠçŽã¢ãŒããæå¹ã«ãªããŸããèå³æ·±ãã®ã¯ãåä¿¡å°çšã¢ãŒãã§ãããã®ã¢ãŒãã§ã¯ãã«ãŒã¿ãŒã¯ãããã¯ãŒã¯ãã¢ããŠã³ã¹ãããè¿é£ã®çºèšã®ã¿ããªãã¹ã³ããŸãïŒRIPã«ã¯åãããšãè¡ãããã·ãã€ã³ã¿ãŒãã§ã€ã¹ã³ãã³ãããããŸãããEIGRPã§ã¯ãéžæããã€ã³ã¿ãŒãã§ã€ã¹ã®ãããã³ã«ãå®å šã«ç¡å¹ã«ããŸããè¿æã確ç«ããŸãïŒã
èšäºã«è©²åœããªãã£ãEIGRPçè«ã®éèŠãªç¹ïŒ
- EIGRPã§ãã€ããŒèªèšŒãèšå®ã§ããŸã
- æ£åžžãªã·ã£ããããŠã³ã®æŠå¿µ
- è² è·åæ£
EIGRPãã©ã¯ãã£ã¹
ããšã¬ããŒã¿ãŒmi Upãã¯ã«ãªãŒãã³ã°ã©ãŒãã«å·¥å Žãè³Œå ¥ããŸããããããã¯ããšã¬ããŒã¿ã®é è³ãçã¿åºããŸãïŒè¶ å°ååè·¯ããœãããŠã§ã¢ãå·¥å Žã¯éåžžã«å€§ãããåžå ã®3ã€ã®ãã€ã³ãã«ããã3ã€ã®ã«ãŒã¿ãŒããªã³ã°ã§æ¥ç¶ãããŠããŸãã
ããããåé¡ã¯ããããããã§ã«EIGRPãåçã«ãŒãã£ã³ã°ãããã³ã«ãšããŠèµ·åããŠããããšã§ããããã«ãå®å šã«ç°ãªããµããããããã®ãšã³ãããŒãã®ã¢ãã¬ã¹æå®ã¯10.0.0.0/8ã§ããä»ã®ãã¹ãŠã®ãã©ã¡ãŒã¿ãŒïŒãªã³ã¯ã¢ãã¬ã¹ãã«ãŒãããã¯ã€ã³ã¿ãŒãã§ã€ã¹ã®ã¢ãã¬ã¹ïŒãå€æŽããŸãããããµãŒããŒãããªã³ã¿ãŒãã¢ã¯ã»ã¹ãã€ã³ããå«ãããŒã«ã«ãããã¯ãŒã¯ã®æ°åã®ã¢ãã¬ã¹ïŒæ°æéåäœããŸããã§ããïŒã¯åŸã§å»¶æãããKaliningradãµãããã172ã®å°æ¥ã®ããã«äºçŽããIPãã©ã³ã§.32.0 / 20ã
çŸåšã
ãã®ãããªãããã¯ãŒã¯ã䜿çšããŠããŸãããã®å¥è·¡ã¯ã©ã®ããã«æ§æãããŠããŸããïŒäžèŠè€éã§ãªãïŒ
router eigrp 1
network 172.16.0.0 0.0.255.255
network 10.0.0.0
EIGRP , , , (16 B â 172.16.0.0 8 8 â 10.0.0.0)
. router eigrp, â1. ( OSPF).
EIGRP : ( IOS 15).
:
10.0.0.1/24 klgr-center-gw1 :
klgr-center-gw1ïŒ
10.0.0.0/8ã¯ããŸããŸã«ãµããããåããã2ã€ã®ãµããããã2ã€ã®ãã¹ã¯
D 10.0.0.0/8ã¯èŠçŽã00ïŒ35ïŒ23ãNull0
C 10.0.0.0/24ã¯çŽæ¥æ¥ç¶ãããFastEthernet1 / 0
ãããã圌ã¯10.0.1.0/24ãš10.0.2.0/24/
klgr-balt-gw1ã2ã€ã®ãããã¯ãŒã¯10.0.1.0/24ãš10.0.2.0/24ã«ã€ããŠç¥ã£ãŠããããã§ã¯ãããŸããããããã§ã¯ã©ãã10.0.0.0/24ã§ããããé ããã
10.0.0.0/8ã¯
ããŸããŸã«ãµããããåããã3ã€ã®ãµããããã2ã€ã®ãã¹ã¯D 10.0.0.0/8ã¯èŠçŽã00ïŒ42ïŒ05ãNull0
C 10.0.1.0/24ã¯çŽæ¥æ¥ç¶ãããFastEthernet1 / 1.2
C 10.0.2.0/24çŽæ¥æ¥ç¶ãããŠãããFastEthernet1 / 1.3
ã©ã¡ãããã¢ãã¬ã¹next hop Null0ã§ã«ãŒã10.0.0.0/8ãäœæããŸããã
ãã ããklgr-center-gw2ã¯ã10.0.0.0 / 8ãµãããããäž¡æ¹ã®WANã€ã³ã¿ãŒãã§ã€ã¹ã®èåŸã«ããããšãèªèããŠããŸãã
D 10.0.0.0/8 [90/30720] 172.16.2.41çµç±ã00ïŒ42ïŒ49ãFastEthernet0 / 1
[90/30720] 172.16.2.45çµç±ã00ïŒ38ïŒ05ãFastEthernet0 / 0
éåžžã«å¥åŠãªããšãèµ·ãã£ãŠããŸãã
ãã ãããã®ã«ãŒã¿ãŒã®æ§æã確èªãããšããããã次ã®ããšã«æ°ä»ãã§ãããã
ã«ãŒã¿ãŒeigrp 1
ãããã¯ãŒã¯172.16.0.0
ãããã¯ãŒã¯10.0.0.0
èªåèŠçŽ
èªåéèšãåå ã§ããããã¯EIGRPã®æ倧ã®æªã§ããäœãèµ·ãã£ãŠããã®ããããã«è©³ããèããŠã¿ãŸãããã klgr-center-gw1ããã³klgr-balt-gw1ã«ã¯10.0.0.0/8ã®ãµããããããããè¿é£ã«æž¡ããããšããã©ã«ãã§ããããèŠçŽããŸãã
ã€ãŸããããšãã°ãmsk-balt-gw1ã¯2ã€ã®ãããã¯ãŒã¯10.0.1.0/24ãš10.0.2.0/24ãéä¿¡ããã1ã€ã®äžè¬åããããããã¯ãŒã¯10.0.0.0/8ãéä¿¡ããŸããã€ãŸãã圌ã®é£äººã¯ããã®ãããã¯ãŒã¯ãmsk-balt-gw1ã®èåŸã«ãããšèããŸãã
ããããã¢ãã¬ã¹10.0.50.243ã®ãã±ãããçªç¶balt-gw1ã«å°éãããšã圌ã¯äœãç¥ããŸããããã®å Žåããããããã©ãã¯ããŒã«ã«ãŒããäœæãããŸã
ã10.0.0.0/ 8ãèŠçŽã00 ïŒ42 ïŒ05ãNull0
åä¿¡ãããã±ããã¯ãã®ãã©ãã¯ããŒã«ã«ã¹ããŒãããŸããããã¯ãã«ãŒãã£ã³ã°ã«ãŒããåé¿ããããã§ãã
ãããã£ãŠããããã®ã«ãŒã¿ãŒã¯äž¡æ¹ãšããã©ãã¯ããŒã«ã«ãŒããäœæããä»ã®äººã®ã¢ããŠã³ã¹ãç¡èŠããŸããå®éã«ã¯ããã®ãããªãããã¯ãŒã¯ã§ã¯ãããã3ã€ã®ããã€ã¹ã¯ãèªåèŠçŽããªãã«ãããŸã§...çžäºã«pingãå®è¡ã§ããŸããã
EIGRPãèšå®ãããšãã«æåã«è¡ãã¹ãããšïŒ
ã«ãŒã¿ãŒEIGRP 1
èªåèŠçŽãªã
ãã¹ãŠã®ããã€ã¹ããããŠãã¿ããªå€§äžå€«ã§ãïŒ
klgr-center-gw1ïŒ
10.0.0.0/24ã¯ãµããããåããã3ã€ã®ãµãããã
C 10.0.0.0ã¯çŽæ¥æ¥ç¶ãããFastEthernet1 / 0
D 10.0.1.0 [90/30720]ã¯172.16.2.37ã00ïŒ03ïŒ11ãFastEthernet0 / 0
D 10.0.2.0 [90 / 30720] 172.16.2.37çµç±ã00ïŒ03ïŒ11ãFastEthernet0 / 0
klgr-balt-gw1
10.0.0.0/24ã¯ãµããããåããã3ã€ã®ãµãããã
D 10.0.0.0 [90/30720]ã¯172.16.2.38ãä»ããŠã00ïŒ08ïŒ16ãFastEthernet0 / 1
C 10.0.1.0ã¯çŽæ¥æ¥ç¶ãããFastEthernet1 / 1.2
C 10.0.2.0ã¯çŽæ¥æ¥ç¶æžã¿ãFastEthernet1 / 1.3
klgr-center-gw2ïŒ
10.0.0.0/24ã¯ãµããããåããã3ã€ã®ãµãããã
D 10.0.0.0 [90/30720]ã¯172.16.2.45ãä»ããŠã00ïŒ11ïŒ50ãFastEthernet0 / 0
D 10.0.1.0 [90/30720]ã¯172.16.2.41ãä»ããŠã00ïŒ11 ïŒ48ãFastEthernet0 / 1
D 10.0.2.0 [90/30720] via 172.16.2.41ã00 ïŒ11ïŒ48ãFastEthernet0 / 1
ã¿ã¹ã¯No. 4
Kaliningradã«ãŒã¿ãŒã®ããŸããŸãªQoSã¡ã«ããºã ã®èšå®ã«ãããã€ã³ã¿ãŒãã§ã€ã¹ã®åž¯åå¹ ã®å€ãå€æŽãããŸãããããããã®å€ã¯æ£ãããããŸããããããã£ãŠãé 延ã®ã¿ãèæ ®ãããã€ã³ã¿ãŒãã§ã€ã¹ã®åž¯åå¹ ãèæ ®ãããªãããã«ãã«ãªãŒãã³ã°ã©ãŒãã«ãŒã¿ã®EIGRPã¡ããªãã¯ã®èšç®ãå€æŽããå¿ èŠãããããšã決å®ãããŸããã
çã
ç°ãªããããã³ã«éã®ã«ãŒã転éã®æ§æ
ç§ãã¡ã®ã¿ã¹ã¯ã¯ããããã®ãããã³ã«éã§ã®ã«ãŒãã®è»¢éãç·šæããããšã§ããOSPFããEIGRPãžããŸãã¯ãã®éã«ããã¹ãŠã®ãµãããããžã®ã«ãŒããå šå¡ãææ¡ã§ããããã«ããŸãã
ããã¯ã«ãŒãåé åžãšåŒã°ããŸãã
ãã®å®è£ ã«ã¯ã2ã€ã®ãããã³ã«ãåæã«èµ·åãããå°ãªããšã1ã€ã®ãžã£ã³ã¯ã·ã§ã³ãã€ã³ããå¿ èŠã§ããmsk-arbat-gw1ãŸãã¯klgr-balt-gw1ã«ããããšãã§ããŸãã2çªç®ã®ãã®ãéžæããŸãã
EIGRPããOSPFãžïŒ
klgr-gw1ïŒconfigïŒ#router ospf 1
klgr-gw1ïŒconfig-routerïŒ#redistribute eigrp 1ãµãããã
msk-arbat-gw1ã®ã«ãŒãã確èªããŸãã
msk-arbat-gw1#sh ip route
Codes: C â connected, S â static, I â IGRP, R â RIP, M â mobile, B â BGP
D â EIGRP, EX â EIGRP external, O â OSPF, IA â OSPF inter area
N1 â OSPF NSSA external type 1, N2 â OSPF NSSA external type 2
E1 â OSPF external type 1, E2 â OSPF external type 2, E â EGP
i â IS-IS, L1 â IS-IS level-1, L2 â IS-IS level-2, ia â IS-IS inter area
* â candidate default, U â per-user static route, o â ODR
P â periodic downloaded static route
Gateway of last resort is 198.51.100.1 to network 0.0.0.0
10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
O E2 10.0.0.0/8 [110/20] via 172.16.2.34, 00:25:11, FastEthernet0/1.7
O E2 10.0.1.0/24 [110/20] via 172.16.2.34, 00:25:11, FastEthernet0/1.7
O E2 10.0.2.0/24 [110/20] via 172.16.2.34, 00:24:50, FastEthernet0/1.7
172.16.0.0/16 is variably subnetted, 30 subnets, 5 masks
O E2 172.16.0.0/16 [110/20] via 172.16.2.34, 00:25:11, FastEthernet0/1.7
C 172.16.0.0/24 is directly connected, FastEthernet0/0.3
C 172.16.1.0/24 is directly connected, FastEthernet0/0.2
C 172.16.2.0/30 is directly connected, FastEthernet0/1.4
C 172.16.2.16/30 is directly connected, FastEthernet0/1.5
C 172.16.2.32/30 is directly connected, FastEthernet0/1.7
O E2 172.16.2.36/30 [110/20] via 172.16.2.34, 01:00:55, FastEthernet0/1.7
O E2 172.16.2.40/30 [110/20] via 172.16.2.34, 01:00:55, FastEthernet0/1.7
O E2 172.16.2.44/30 [110/20] via 172.16.2.34, 01:00:55, FastEthernet0/1.7
C 172.16.2.128/30 is directly connected, FastEthernet0/1.8
O 172.16.2.160/30 [110/2] via 172.16.2.130, 01:00:55, FastEthernet0/1.8
O 172.16.2.192/30 [110/2] via 172.16.2.197, 00:13:21, FastEthernet1/0.911
C 172.16.2.196/30 is directly connected, FastEthernet1/0.911
C 172.16.3.0/24 is directly connected, FastEthernet0/0.101
C 172.16.4.0/24 is directly connected, FastEthernet0/0.102
C 172.16.5.0/24 is directly connected, FastEthernet0/0.103
C 172.16.6.0/24 is directly connected, FastEthernet0/0.104
O 172.16.24.0/24 [110/2] via 172.16.2.18, 01:00:55, FastEthernet0/1.5
O 172.16.128.0/24 [110/2] via 172.16.2.130, 01:00:55, FastEthernet0/1.8
O 172.16.129.0/26 [110/2] via 172.16.2.130, 01:00:55, FastEthernet0/1.8
O 172.16.144.0/24 [110/3] via 172.16.2.130, 00:13:21, FastEthernet0/1.8
[110/3] via 172.16.2.197, 00:13:21, FastEthernet1/0.911
O 172.16.160.0/24 [110/2] via 172.16.2.197, 00:13:31, FastEthernet1/0.911
C 172.16.255.1/32 is directly connected, Loopback0
O 172.16.255.48/32 [110/2] via 172.16.2.18, 01:00:55, FastEthernet0/1.5
O E2 172.16.255.64/32 [110/20] via 172.16.2.34, 01:00:55, FastEthernet0/1.7
O E2 172.16.255.65/32 [110/20] via 172.16.2.34, 01:00:55, FastEthernet0/1.7
O E2 172.16.255.66/32 [110/20] 172.16.2.34çµç±ã01ïŒ00ïŒ55ãFastEthernet0 / 1.7
O 172.16.255.80/32 [110/2] 172.16.2.130ã01ïŒ00ïŒ55 çµç±ãFastEthernet0 / 1.8
O 172.16.255.96/32 [110/3] 172.16.2.130çµç±ã00ïŒ13ïŒ21ãFastEthernet0 / 1.8
[110/3] 172.16.2.197çµç±ã00ïŒ13ïŒ21ãFastEthernet1 / 0.911
O 172.16.255.112/ 32 [110/2] 172.16.2.197çµç±ã00ïŒ13ïŒ31ãFastEthernet1 / 0.911
198.51.100.0/28ã¯ãµããããåããã1ã€ã®ãµãããã
C 198.51.100.0ã¯çŽæ¥æ¥ç¶ãããFastEthernet0 / 1.6
S * 0.0.0.0/0 [1 / 0] 198.51.100.1çµç±
E2ãšããã©ãã«ã®ä»ãããã®ããããŸã-æ°ããã€ã³ããŒããããã«ãŒã E2-ãããã2çªç®ã®ã¿ã€ãã®å€éšã«ãŒãïŒExternalïŒã§ããããšãæå³ããŸããã€ãŸã
ãOSPFããEIGRPãžã®å€éšNowããOSPF ããã»ã¹ã«å°å ¥ãããããšãæå³ããŸããããã¯å°ãè€éã§ãã
klgr-gw1ïŒconfigïŒ#router eigrp 1
klgr-gw1ïŒconfig-routerïŒ#redistribute ospf 1 metric 100000 20 255 1 1500
ã¡ããªãã¯ïŒãã®é·ãæ°åã®ã»ããïŒãæå®ããªããšãã³ãã³ãã¯å®è¡ãããŸãããåé åžã¯è¡ãããŸããã
ã€ã³ããŒããããã«ãŒãã¯ãã«ãŒãã£ã³ã°ããŒãã«ã®EXããŒã¯ãšãå éšã«ãŒãã®90ã§ã¯ãªã170ã®ã¢ãããã¹ãã¬ãŒãã£ããã£ã¹ã¿ã³ã¹ãåãåããŸãã
klgr-gw2#sh ip route
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 30 subnets, 4 masks
D EX 172.16.0.0/24 [ 170 /33280] via 172.16.2.37, 00:00:07, FastEthernet0/0
D EX 172.16.1.0/24 [170/33280] via 172.16.2.37, 00:00:07, FastEthernet0/0
D EX 172.16.2.0/30 [170/33280] via 172.16.2.37, 00:00:07, FastEthernet0/0
D EX 172.16.2.4/30 [170/33280] via 172.16.2.37, 00:00:07, FastEthernet0/0
D EX 172.16.2.16/30 [170/33280] via 172.16.2.37, 00:00:07, FastEthernet0/0
D 172.16.2.32/30 [ 90 /30720] via 172.16.2.37, 00:38:59, FastEthernet0/0
C 172.16.2.36/30 is directly connected, FastEthernet0/0
D 172.16.2.40/30 [90/30720] via 172.16.2.37, 00:38:59, FastEthernet0/0
[90/30720] via 172.16.2.46, 00:38:59, FastEthernet0/1
âŠ.
ãããã£ãŠããããè¡ãã®ã¯ç°¡åã«æããŸãããåçŽãã¯è¡šé¢çã§ãã2ã€ã®ç°ãªããã¡ã€ã³éã«å°ãªããšã1ã€ã®åé·ãªã³ã¯ãè¿œå ããããšãåé åžã«ã¯åŸ®åŠã§äžå¿«ãªç¬éãå€ããªããŸãã
æ®éçãªãã³ã-å¯èœã§ããã°åé åžãé¿ããããã«ããŠãã ãããããã§ã¯ãäž»èŠãªã©ã€ãã«ãŒã«ãæ©èœããŸã-ã·ã³ãã«ãªã»ã©è¯ãã§ãã
åé¡çªå·5ïŒRTã§ã¯äžå¯èœïŒ
ã¢ã¹ã¯ã¯ã®ã«ãŒã¿ãŒã¯ããããã¯ãŒã¯äžã®ä»ã®ãã¹ãŠã®ã«ãŒã¿ãŒã®ããã©ã«ãã«ãŒããã¢ããŠã³ã¹ããŸãããã ãã1ã«çããåãã¡ããªãã¯ãæã€ä»ã®ãã¹ãŠã®ã«ãŒã¿ãŒã«å°éããã«ãŒãäŒéã«ãŒãã«æ²¿ã£ãŠã¡ããªãã¯ãå¢å ããããšã¯ãããŸããã
䟿å®äžãããã©ã«ãèšå®ãå€æŽããŠãããã©ã«ãã§åæã«ãŒãã¡ããªãã¯ã30ã«ãªããéäžã§ããã©ã«ãã«ãŒãããããã¯ãŒã¯çµç±ã§è»¢éããããšããã¹ã®ã³ã¹ããåæã¡ããªãã¯ã«è¿œå ãããããã«ãªããŸãããããã«ãå°æ¥ãã¢ã¹ã¯ã¯ã«ããã¯ã¢ããã«ãŒã¿ãŒãè¿œå ããããããå¥ã®ããã©ã«ãã«ãŒãããããã€ããŒãæãããã«ããããšãå¯èœã§ããããã¯ã¢ããã«ãŒã¿ãŒã¯ããã©ã€ããªãæ¶å€±ããå Žåã«ã®ã¿äœ¿çšããããããã¢ããã¿ã€ãºããããã©ã«ãã«ãŒãã¯ç°ãªãã¡ããªãã¯ã§ããå¿ èŠããããŸãã
çã
ããã©ã«ãã«ãŒã
ä»ããããªãã®ã€ã³ã¿ãŒãããã¢ã¯ã»ã¹ããã§ãã¯ããæã§ããã¢ã¹ã¯ã¯ããã¯ããèªäœã§ããŸãæ©èœããŸãããããšãã°ãµã³ã¯ãããã«ãã«ã¯ãããã§ãã¯ãããšïŒãã¹ãŠã®éçã«ãŒããåé€ããããšã«æ³šæããŠãã ããïŒïŒ
PC> ping linkmeup.ru
32ãã€ãã®ããŒã¿ã䜿çšãã192.0.2.2ã®ping ïŒ
172.16.2.5ããã®è¿ä¿¡ïŒå®å ãã¹ãã«å°éã§ããŸããã
172.16.2.5ããã®è¿ä¿¡ïŒå®å ãã¹ãã«å°éã§ããŸããã
172.16.2.5ããã®è¿ä¿¡ïŒå®å ãã¹ãã«å°éã§ããŸããã
172.16.2.5ããã®è¿ä¿¡ïŒå®å ãã¹ãã«å°éã§ããŸããã
192.0.2.2ã®pingçµ±èšïŒ
ãã±ããïŒéä¿¡æžã¿= 4ãåä¿¡æžã¿= 0ãæ倱= 4ïŒ100ïŒ æ倱ïŒã
ããã¯ãspb-ozerki-gw1ãspb-vsl-gw1ãããã³ãããã¯ãŒã¯äžã®èª°ããéçã«æ§æãããŠããmsk-arbat-gw1ãé€ããããã©ã«ãã«ãŒããèªèããŠããªãããã§ãã
ãã®ç¶æ³ãä¿®æ£ããã«ã¯ãã¢ã¹ã¯ã¯ã§1ã€ã®ã³ãã³ããå®è¡ããã ãã§ååã§ãã
msk-arbat-gw1ïŒconfigïŒ#router ospf 1
msk-arbat-gw1ïŒconfig-routerïŒïŒããã©ã«ãæ å ±çºä¿¡
ãã®åŸãæåŸã®åžæã®ã²ãŒããŠã§ã€ãã©ãã«ãããã«ã€ããŠã®æ å ±ããããã¯ãŒã¯ãä»ããŠããµããŠããŸãã
ã€ã³ã¿ãŒããããå©çšå¯èœã«ãªããŸããïŒ
PC> tracert linkmeup.ru
æ倧30ãããã§192.0.2.2ãžã®ãã¬ãŒã¹ã«ãŒãïŒ
1 3 ms 3 ms 3 ms 172.16.17.1
2 4 ms 5 ms 12 ms 172.16.2.5
3 14 ms 20 ms 9 ms 172.16.2.1
4 17 ms 17 ms 19 ms 198.51.100.1
5 22 ms 23 ms 19 ms 192.0.2.2
ãã¬ãŒã¹å®äºã
ã¿ã¹ã¯No. 6ïŒRTã§ã¯å®è¡
äžå¯ïŒ klgr-balt-gw1ã«ãŒã¿ãŒã§ãOSPFã®EIGRPã«ãŒãã®åé åžãèšå®ãããŸããããã«ãããã¯ãŒã¯ã«æ²¿ã£ãŠãã«ãŒãã¯å€éšãšããŠéä¿¡ãããŸããã¡ããªãã¯ã¯20ã§ãã«ãŒãéä¿¡ã«ãŒãã«æ²¿ã£ãŠå¢å ããããšã¯ãããŸããããããã¯ãŒã¯äžã®å€éšã«ãŒãã転éãããã¹ã«æ²¿ã£ãŠããã¹ã®ã³ã¹ããå€éšã«ãŒãã®ã¡ããªãã¯ã«è¿œå ãããããã«ãèšå®ãå€æŽããå¿ èŠããããŸãã
çã
䟿å©ãªãã©ãã«ã·ã¥ãŒãã£ã³ã°ã³ãã³ã
1ïŒãã€ããŒã®ãªã¹ããšããããšã®éä¿¡ç¶æ ã¯ãshow ip ospf neighborã³ãã³ãã«ãã£ãŠåŒã³åºãããŸã
msk-arbat-gw1ïŒ
ãã€ããŒIDããªã¹ããŒããããã¿ã€ã ã¢ãã¬ã¹ã¢ãã¬ã¹ã€ã³ã¿ãŒãã§ã€ã¹
172.16.255.32 1 FULL / DROTHER 00:00:33 172.16.2.2 FastEthernet0 / 1.4
172.16.255.48 1 FULL / DR 00:00:34 172.16.2.18 FastEthernet0 / 1.5
172.16.255.64 1 FULL / DR 00:00:33 172.16.2.34 FastEthernet0 / 1.7
172.16.255.80 1 FULL / DR 00:00:33 172.16.2.130 FastEthernet0 / 1.8
172.16.255.112 1 FULL / DR 00:00:33 172.16ã 2.197 FastEthernet1 / 0.911
2ïŒãŸãã¯EIGRPã®å ŽåïŒshow ip eigrp neighbors
ããã»ã¹1ã®IP-EIGRPãã€ããŒ
ã¢ãã¬ã¹ã€ã³ã¿ãŒãã§ã€ã¹ããŒã«ãã¢ããã¿ã€ã SRTT RTO Q Seq
ïŒsecïŒïŒmsïŒCnt Num
0 172.16.2.38 Fa0 / 1 12 00:04:51 40 1000 0 54
1 172.16.2.42 Fa0 / 0 13 00 ïŒ04ïŒ51 40 1000 0 58
3ïŒshow ip protocolsã³ãã³ãã䜿çšãããšãåçã«ãŒãã£ã³ã°ãããã³ã«ã®å®è¡ãšãããã®é¢ä¿ã«é¢ããæ å ±ã衚瀺ã§ããŸãã
klgr-balt-gw1ïŒ
Routing Protocol is «EIGRP 1 »
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Default networks flagged in outgoing updates
Default networks accepted from incoming updates
EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
EIGRP maximum hopcount 100
EIGRP maximum metric variance 1
Redistributing: EIGRP 1, OSPF 1
Automatic network summarization is in effect
Automatic address summarization:
Maximum path: 4
Routing for Networks:
172.16.0.0
Routing Information Sources:
Gateway Distance Last Update
172.16.2.42 90 4
172.16.2.38 90 4
Distance: internal 90 external 170
Routing Protocol is «OSPF 1»
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 172.16.255.64
It is an autonomous system boundary router
Redistributing External Routes from,
EIGRP 1
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:
172.16.2.32 0.0.0.3 area 0
Routing Information Sources:
Gateway Distance Last Update
172.16.255.64 110 00:00:23
Distance: (default is 110)
4ïŒãããã³ã«ã®åäœããããã°ããŠç解ããã«ã¯ã次ã®ã³ãã³ãã䜿çšãããšäŸ¿å©ã§ã
ãdebug ip OSPF events
debug ip OSPF adj
debug EIGRP packets
ããŸããŸãªã€ã³ã¿ãŒãã§ã€ã¹ã埮調æŽããŠããããã°ã§äœãèµ·ããããã©ã®ã¡ãã»ãŒãžãé£ãã§ãããã確èªããŸãã
åé¡çªå·7
æåŸã«ãè€éãªã¿ã¹ã¯ã
Lift mi Upã®æåŸã®äŒè°ã§ãKaliningradãããã¯ãŒã¯ãOSPFã«è»¢éããããšã決å®ãããŸããã
移è¡ã¯åæããã«å®äºããå¿ èŠããããŸãã 3ã€ã®ã«ãªãŒãã³ã°ã©ãŒãã«ãŒã¿ãŒã§OSPFãEIGRPãšäžŠè¡ããŠäžããããšãæåã®éžæè¢ã§ãããã«ãªãŒãã³ã°ã©ãŒãã«ãŒãã«é¢ãããã¹ãŠã®æ å ±ããããã¯ãŒã¯ã®æ®ãã®éšåã«åºãã£ãŠããããšã確èªããåŸãéã«EIGRPãç¡å¹ã«ããããšã決å®ãããŸããã
ããããã«ãªãŒãã³ã°ã©ãŒããããã¯ãŒã¯ã¯éåžžã«å€§ãããå€æ°ã®ãããã¯ãŒã¯ããããããã«ãªãŒãã³ã°ã©ãŒããããã¯ãŒã¯ã®å€æŽãä»ã®ãããã¯ãŒã¯ã«ãŒã¿ãŒã§ã®SPFã¢ã«ãŽãªãºã ã®èµ·åã«ã€ãªãããªãããã«ãä»ã®ãããã¯ãŒã¯ããåé¢ããå¿ èŠããããšå€æãããŸããã
çãã
ãªãªãŒã¹è³æ
æ°ããIPèšç»ãåãã€ã³ãããã³èŠå¶ã®åãæ¿ãèšç»ã
å®éš è£ çœ®ã®æ§æãå«ãRTãã¡ã€ã«
䟿å©ãªãªã³ã¯
ç§ãã¡ã®çŽ æŽãããã¢ã·ã¹ã¿ã³ãXGU.ru
Cisco
OSPFã®OSPF
ããã«ã®åå
ãã¡ã€ã³éã«ãŒãã£ã³ã°ã«ãŒã
OSPFã®å€éšã¿ã€ã1ããã³å€éšã¿ã€ã2ã«ãŒãã®æ©èœã ããŒã1
OSPFã®å€éšã¿ã€ã1ããã³å€éšã¿ã€ã2ã«ãŒãã®äœæ¥ã®æ©èœã ããŒã2
ãã®ä»
ã·ã¹ã³
ãŠã£ãããã£ã¢ æå°ã®èªå·±å®£äŒãããã¯ãŒã¯ã®
ãã·ã¢
ãããã㧠åãããš
ã¯ãç¬èªã®ãŠã§ããµã€ã-linkmeup.ruãæã£ãŠããŸããããã§ãLJã ãã§ãªãããã®ãµã€ã¯ã«ã®å人ããã°ã§ãã³ã¡ã³ããèªãã§ãæ®ãããšãã§ããŸãã
å ±èè ã§ããããã·ã ã®theGluckã«æè¬ã®æãè¡šããããšæããŸããç·šéãšè²Žéãªã³ã¡ã³ãã«ã€ããŠã¯Dmitry JDimaãæäŸãããã¿ã¹ã¯ã«ã€ããŠã¯Natasha Samoilenkoã«ã¯ããŸããªããããã°çšã®ãµã€ããããã°ã©ãã³ã°ããŠããã Anton AntuanããããŠããµã€ãã®ããŽã®æ å ã®ååããŒããæã€å°å¥³ã
PS
ä»åŸã®LinkMiapããããã£ã¹ãã«ã¯ããžã³ã°ã«ãšããã¯ã°ã©ãŠã³ããã¥ãŒãžãã¯ãå¿ èŠã§ããç§ãã¡ã¯åãã§ãæäŒãããäœæ²å®¶ã®ååã¯äœäžçŽã«ãããã£ãŠç§°è³ãããŸãã
PPS
Packet Tracerã®æ©èœã¯ãã§ã«äžè¶³ããŠããŸãã次ã®ã¹ãããã¯ãããæ·±å»ãªãã®ãžã®ç§»è¡ã§ããææ¡ã¯ãããŸããïŒIOU vs GNSã®ãããã¯ã«é¢ããã³ã¡ã³ãã«ããªããŒãé 眮ããããšãææ¡ããŸãã