VRF¤Ç¥Í¥Ã¥È¥ï¡¼¥¯¹½ÃÛ
- ¥«¥Æ¥´¥ê
- ¥Í¥Ã¥È¥ï¡¼¥¯
¤Ï¤¸¤á¤Þ¤·¤Æ¡£¥Í¥Ã¥È¥ï¡¼¥¯»ö¶ÈÉô¤Îoku¤Ç¤¹¡£
¡Ö²¾ÁÛ²½¡×¤È¤¤¤¦¥¡¼¥ï¡¼¥É¤«¤éÏ¢ÁÛ¤¹¤ëʪ¤ËVMware¤äXen¤Ê¤É¤¢¤ë¤È»×¤¤¤Þ¤¹¤¬¡¢º£²ó¤Ï¾¯¤·¥ì¥¤¥ä¤ò²¼¤²¤Æ¡¢¥Í¥Ã¥È¥ï¡¼¥¯¤Î²¾ÁÛ²½¤Ë¤Ä¤¤¤Æ½ñ¤¤¿¤¤¤È»×¤¤¤Þ¤¹¡£¤³¤ì¤ÏVLAN¡ÊVirtual LAN¡Ë¤À¤±¤Ç¤Ï¤Ê¤¯¡¢VRF¡ÊVirtual Routing and Forwarding¡Ë¤â»È¤Ã¤Æ¼ÒÆâ¥Í¥Ã¥È¥ï¡¼¥¯¤òÏÀÍýŪ¤Ëʬ¤±¤¿»þ¤Î¤ªÏäǤ¹¡£
¤â¤È¤â¤Èlivedoor¤Î¥ª¥Õ¥£¥¹µòÅÀ¤ÏÅÔÆâ2²Õ½ê¤ËÊ̤ì¤Æ¤¤¤Þ¤·¤¿¡£
¥Ç¡¼¥¿¥»¥ó¥¿¡¼¤òÃæ¿´¤È¤·¤¿³èÆ°¤ò¹Ô¤¦»ö¶ÈµòÅÀ¤È¡¢¼ç¤Ë¥Ý¡¼¥¿¥ë¥µ¥¤¥È¤Î¥³¥ó¥Æ¥ó¥Ä³«È¯¤ò¹Ô¤¦»ö¶ÈµòÅÀ¤Ç¤¹¡£¤â¤Á¤í¤ó¡¢¤³¤Î2µòÅÀ¤ÏÀìÍÑÀþ¤ÇÀܳ¤·¡¢¸ß¤¤¤Ë¥¤¥ó¥È¥éÄÌ¿®¤ò²Äǽ¤È¤·¤Æ¤¤¤Þ¤·¤¿¤¬¡¢¶È̳ÆÃÀ¤Î°ã¤¤¤¬¤¢¤ë¤¿¤á¡¢±¿Íѥݥꥷ¡¼¤òÊ̤Ȥ·¡¢ÊªÍýŪ¤Ë¤Ïʬ¤±¤¿¥Í¥Ã¥È¥ï¡¼¥¯¤ò¹½ÃÛ¤·¤Æ¤¤¤Þ¤·¤¿¡£
¡Ê¥Ç¡¼¥¿¥»¥ó¥¿¡¼µòÅÀ¤ò´Þ¤ó¤Ç¤¤¤Þ¤»¤ó¤¬¡¢¤³¤³¤Ç¤Ï³ä°¦¤·¤Þ¤¹¡Ë
¤·¤«¤·¥Ó¥Ç¥ª²ñµÄ¥·¥¹¥Æ¥à¤òƳÆþ¤¹¤ëÄø¤ÎµòÅÀ¿ô¤Èµ÷Î¥¤Ç¤Ï¤Ê¤¯¡¢²ñµÄ¤ÎÅ٤˰ÜÆ°¤·¤Æ¤¤¤¿°Î¤¤¿Íã¤ÏÌÌÅݤˤʤ俤ΤǤ·¤ç¤¦¤«¡Ê¤¤¤ä¡¢¤â¤Á¤í¤ó°ã¤¦Íýͳ¤À¤È»×¤¤¤Þ¤¹¤¬¡Ë¡¢2009ǯ½©¤Ë¡¢¤³¤Î2µòÅÀ¤¬½¸Ì󤵤ì¤ë»ö¤Ë¤Ê¤ê¤Þ¤·¤¿¡£
¤½¤³¤Ç¡¢¿·¥ª¥Õ¥£¥¹¤Î¥¤¥ó¥È¥é¹½À®¤ò¹Í¤¨¤Æ¤¤¤¿»þ¤Ë¤¢¤¬¤Ã¤¿µÄÂ꤬¡¢¥Ç¥Õ¥©¥ë¥È¥²¡¼¥È¥¦¥§¥¤¤ÎÌäÂê¤Ç¤¹¡£
"¹½À®¿Þ-1"¤ÎÄ̤ꡢ°ÊÁ°¤ÏµòÅÀ¤´¤È¤Ë¥²¡¼¥È¥¦¥§¥¤ÁõÃÖ¤òÀßÃÖ¤·¤Æ¤¤¤¿°Ù¡¢¥ª¥Õ¥£¥¹¤ÎüËö¤«¤é¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤Ë½Ð¤Æ¤¤¤¯ºÝ¤Î¥½¡¼¥¹IP¥¢¥É¥ì¥¹¤Ï¡¢µòÅÀ¤´¤È¤Ç°Û¤Ê¤ê¤Þ¤·¤¿¡£
°ìÈÌ´ë¶È¤Î¾ì¹ç¡¢¥½¡¼¥¹IP¥¢¥É¥ì¥¹¤¬²¿¤Ç¤¢¤í¤¦¤È¡¢¤µ¤Û¤ÉÌäÂê¤Ë¤Ï¤Ê¤é¤Ê¤¤¤«¤È»×¤¤¤Þ¤¹¡£¤·¤«¤·livedoor¤Î¾ì¹ç¡¢¥½¡¼¥¹IP¥¢¥É¥ì¥¹¤¬Êѹ¹¤Ë¤Ê¤ë¤È¡¢Ê£¿ô²Õ½ê¤ÇÀßÄêÊѹ¹¤¬É¬Íפˤʤë»ö¤¬Í½¤áʬ¤«¤Ã¤Æ¤¤¤Þ¤·¤¿¡£¥¤¥ó¥¿¡¼¥Í¥Ã¥È¾å¤Î´ÉÍý¥µ¡¼¥Ð¤Ë¡¢¥½¡¼¥¹IP¥¢¥É¥ì¥¹¤Ç¤Î¥¢¥¯¥»¥¹À©¸Â¤òŬÍѤ·¤Æ¤¤¤ë¤«¤é¤Ç¤¹¡£
²ò·èºö¤È¤·¤Æ¼¡¤Î°Æ¤ò¸¡Æ¤¤·¤Þ¤·¤¿¡£
o ÀßÄêÊѹ¹¤Î¼ê´Ö¤Ï¤¢¤¤é¤á¤Æ¡¢¥²¡¼¥È¥¦¥§¥¤ÁõÃÖ¤ò½¸Ìó¡©
¤ä¤Ï¤ê¼ê´Ö¤¬¤«¤«¤ë¤Î¤Ç¡¢¤Ç¤¤ì¤ÐÊ̤ÎÊýË¡¤Ç¡Ä
o ¥²¡¼¥È¥¦¥§¥¤ÁõÃ֤Ͻ¸Ì󤷤ơ¢´ÉÍý¥µ¡¼¥Ð¤Ë¥¢¥¯¥»¥¹¤·¤¿¤¤¾ì¹ç¤ÏVPN¡©
¶È̳¤ÎÅ٤ˡ¢VPN·Ðͳ¤Ç¥¢¥¯¥»¥¹¤¹¤ë¤Î¤âÌÌÅÝ¡Ä
o ¿·¥ª¥Õ¥£¥¹Æâ¤Ç¤âʪÍýŪ¤Ëʬ¤±¤¿¥Í¥Ã¥È¥ï¡¼¥¯¤ò¹½ÃÛ¤¹¤ë¡©
ʪÍýµ¡´ï¤¬Áý¤¨²á¤®¤ë¤Î¤â¡Ä
¥Ï¡¼¥É¥¦¥§¥¢¤ÎÊݼéÈñÍѤâ¤Ð¤«¤Ë¤Ê¤ê¤Þ¤»¤ó¤·¡Ä
o VRF¡©
¥½¡¼¥¹IP¥¢¥É¥ì¥¹¤¬°Ý»ý¤Ç¤¤ë Good!!
¥µ¡¼¥Ð¦¤ÎÀßÄêÊѹ¹¤¬¤¤¤é¤Ê¤¤ Good!!
ʪÍýŪ¤Ë¤ÏºÇ¾¯¹½À®¤Ç¹½ÃۤǤ¤ë Good!!
¤·¤«¤·¡¢VRF¼ÒÆâ¤Ç¤Î±¿ÍѼÂÀӤϤʤ¤¤¿¤á¿¾¯¤ÎÉ԰¡ʵ¡Ç½¤È¤·¤Æ¤ÎÉ԰¤ǤϤʤ¯¡¢º£¸å±¿ÍѤ·¤Æ¤¤¤±¤ë¤«¤É¤¦¤«¤È¤¤¤¦É԰¡ˤ¬¤¢¤ê¤Þ¤·¤¿¤¬¡¢¸½»þÅÀ¤Ç¤ÎÌäÂêÅÀ¤òÁ´¤Æ²ò·è¤·¤Æ¤¯¤ì¤ëVRF¤ò»È¤Ã¤Æ¹½ÃÛ¤¹¤ë»ö¤Ë¤·¤Þ¤·¤¿¡£
¡úVRF¡ÊVirtual Routing and Forwarding¡Ë ¤Ë¤Ä¤¤¤Æ
VRF¤Îµ»½Ñ³µÍפˤĤ¤¤Æ¤Ï¡¢Google¤älivedoorÅù¤Ç¸¡º÷¤·¤Æ失¤ì¤Ð¤È»×¤¤¤Þ¤¹¤¬¡¢1Âæ¤ÎʪÍýÁõÃÖÆâ¤Ë¡¢ÏÀÍýŪ¤ËʬΥ¤µ¤ì¤¿Ê£¿ô¤Î¥ë¡¼¥Æ¥£¥ó¥°¥Æ¡¼¥Ö¥ë¤òÊÝ»ý¤·¡¢³Æ¥ë¡¼¥Æ¥£¥ó¥°¥Æ¡¼¥Ö¥ë¤Ë½¾¤Ã¤Æ¥Ñ¥±¥Ã¥ÈžÁ÷¤¬¹Ô¤ï¤ì¤ëµ¡Ç½¤À¤ÈÍý²ò¤·¤Æ¤¤¤Þ¤¹¡£
VRF¼«ÂΤϤâ¤È¤â¤È¡¢ISP¤ÎMPLSÌ֤ʤɤÇÍøÍѤµ¤ì¤Æ¤¤¤ëµ¡Ç½¤Ç¤¢¤ê¡¢¿·¤·¤¤µ»½Ñ¤Ç¤Ï¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢¤¤¤¯¤é´ë¶ÈÆâ¥Í¥Ã¥È¥ï¡¼¥¯¤Ë»ÈÍѤ·¤¿¤¤¤È¹Í¤¨¤Æ¤â¡¢VRF¡Ê¤â¤È¤¤MPLS¡Ë¤ò¼ÂÁõ¤¹¤ë¥ë¡¼¥¿¤ÏÈó¾ï¤Ë¹â²Á¡Ê²È¤¬Ç㤨¤ë¤¯¤é¤¤¡Ä¡Ë¤Ç¡¢¥¤¥ó¥È¥é¥Í¥Ã¥È¤Î°Ù¤Ë¹ØÆþ¤Ç¤¤ë¶â³Û¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£¤·¤«¤·¡¢¸½ºß¤Ï¥á¡¼¥«¡¼Ìä¤ï¤ºÈæ³ÓŪ°Â²Á¤ÊL3¥¹¥¤¥Ã¥Á¤Ç¤âVRF¤¬»È¤¨¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤Æ¤¤¤ë¤Î¤Ç¡¢º£²ó¤Î¤è¤¦¤Ê¡¢
o ¥¯¥é¥¤¥¢¥ó¥È¤Ë¤è¤Ã¤Æ¥Ç¥Õ¥©¥ë¥È¥²¡¼¥È¥¦¥§¥¤¤òʬ¤±¤¿¤¤
(¥¯¥é¥¤¥¢¥ó¥È¤Ë¤è¤Ã¤Æ»²¾È¤¹¤ë¥ë¡¼¥Æ¥£¥ó¥°¥Æ¡¼¥Ö¥ë¤òʬ¤±¤¿¤¤)
o ʪÍý¹½À®¤ÏºÇ¾¯¤Ë¤·¤¿¤¤
¤È¤¤¤Ã¤¿Í×·ï¤ò¼Â¸½¤¹¤ë¾ì¹ç¤Ë¤Ï¡¢Èó¾ï¤ËÊØÍø¤Êµ¡Ç½¤Ç¤¹:)
³µÍ×¹½À®¤ÈConfigurationÆâÍƤǤ¹¡£
º£²ó¤Ï¡¢Router-A¤ÈRouter-B¤Ë¤ÆVRF¤òÆ°¤«¤·¤Æ¤ß¤Þ¤·¤¿¡£
µ¡¼ï¤Ï¡¢Cisco Catalyst 3650¥·¥ê¡¼¥º¤Ç¤¹¡£
* ÊäÂ
Native ¤Ï Router-A¡¢VRF Buser ¤ÏRouter-C¤Ë¤Æ¥Ç¥Õ¥©¥ë¥È¥ë¡¼¥È¤òÀ¸À®¤·¡¢OSPF¤ÇºÆÇÛ¿®¤·¤Æ¤¤¤Þ¤¹¡£
¡ÚRouter-A¤ÎÀßÄêÆâÍÆ¡Û(È´¿è)
¡ÚRouter-B¤ÎÀßÄêÆâÍÆ¡Û(È´¿è)
Router-B¤Î¥ë¡¼¥Æ¥£¥ó¥°¥Æ¡¼¥Ö¥ë¤ò³Îǧ
¡ÚNative¦¡Û
¡ÚVRF¦¡Û
¾åµ¤ÎÄ̤ꡢƱ¤¸·ÐÏ©¸þ¤±¤Î°¸À襢¥É¥ì¥¹¤â¡¢¤½¤ì¤¾¤ì°Û¤Ê¤ë¥¢¥É¥ì¥¹¤ò³Ø½¬¤·¤Æ¤¤¤Þ¤¹¡£
¥¤¥ó¥¿¡¼¥Í¥Ã¥È¸þ¤±¤Î traceroute ¤ò³Îǧ
¤½¤ì¤¾¤ìÊ̤ηÐÏ©¤Ç¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤Ë¤Ç¤Æ¤¤¤ë»ö¤¬³Îǧ¤Ç¤¤Þ¤·¤¿¡£
VRF¼«ÂΤÎÀßÄê¤Ï·ë¹½´Êñ¤Ë¤Ç¤¤Þ¤¹¤¬¡¢¤³¤È±¿ÍÑÌ̤˴ؤ·¤Æ¤Ï¡¢VRF¤È¤¤¤¦°Í¸´Ø·¸¤¬²Ã¤ï¤ë»ö¤Ë¤è¤Ã¤Æ¥Í¥Ã¥È¥ï¡¼¥¯¤¬Ê£»¨²½¤¹¤ë¤¿¤á¡¢¾ã³²»þ¤Î»ö¤ò¹Í¤¨¤ë¤È¡¢¤½¤ì¤Ï¤½¤ì¤ÇǺ¤Þ¤·¤«¤Ã¤¿¤ê¤·¤Þ¤¹¡£
¤·¤«¤·Ë¿Å¸¼¨²ñ¥Í¥Ã¥È¡¼¥ï¡¼¥¯¥â¥Ç¥ë¤Î¤è¤¦¤Ë¡¢VRF¤ò»È¤¦¤È¡¢Æ±¤¸ÊªÍýÌÖ¤ò»È¤Ã¤ÆÍÑÅÓÊ̤ˡ¢Íưפˡ¢¥Í¥Ã¥È¥ï¡¼¥¯¤ò¹½ÃÛ¤¹¤ë»ö¤¬¤Ç¤¤ë¤Î¤Ç¡¢º£¸å¤Ï¡ÊÍ×˾¤¬¤¢¤ì¤Ð¡Ë¡¢¸¡¾ÚÍÑ¡¢IPv6ÍÑ¡¢¿Í»öÍѤʤɡ¢VRF¤ÎÄɲäò¤ª¤³¤Ê¤Ã¤Æ¡¢±¿ÍѥΥ¦¥Ï¥¦¤ò¤¿¤á¤Æ¤¤¤¤¿¤¤¤È»×¤¤¤Þ¤¹¡£VRF¡¢¤ª¤¹¤¹¤á¤Ç¤¹:)
¡Ö²¾ÁÛ²½¡×¤È¤¤¤¦¥¡¼¥ï¡¼¥É¤«¤éÏ¢ÁÛ¤¹¤ëʪ¤ËVMware¤äXen¤Ê¤É¤¢¤ë¤È»×¤¤¤Þ¤¹¤¬¡¢º£²ó¤Ï¾¯¤·¥ì¥¤¥ä¤ò²¼¤²¤Æ¡¢¥Í¥Ã¥È¥ï¡¼¥¯¤Î²¾ÁÛ²½¤Ë¤Ä¤¤¤Æ½ñ¤¤¿¤¤¤È»×¤¤¤Þ¤¹¡£¤³¤ì¤ÏVLAN¡ÊVirtual LAN¡Ë¤À¤±¤Ç¤Ï¤Ê¤¯¡¢VRF¡ÊVirtual Routing and Forwarding¡Ë¤â»È¤Ã¤Æ¼ÒÆâ¥Í¥Ã¥È¥ï¡¼¥¯¤òÏÀÍýŪ¤Ëʬ¤±¤¿»þ¤Î¤ªÏäǤ¹¡£
¢£ÇØ·Ê
¤â¤È¤â¤Èlivedoor¤Î¥ª¥Õ¥£¥¹µòÅÀ¤ÏÅÔÆâ2²Õ½ê¤ËÊ̤ì¤Æ¤¤¤Þ¤·¤¿¡£
¥Ç¡¼¥¿¥»¥ó¥¿¡¼¤òÃæ¿´¤È¤·¤¿³èÆ°¤ò¹Ô¤¦»ö¶ÈµòÅÀ¤È¡¢¼ç¤Ë¥Ý¡¼¥¿¥ë¥µ¥¤¥È¤Î¥³¥ó¥Æ¥ó¥Ä³«È¯¤ò¹Ô¤¦»ö¶ÈµòÅÀ¤Ç¤¹¡£¤â¤Á¤í¤ó¡¢¤³¤Î2µòÅÀ¤ÏÀìÍÑÀþ¤ÇÀܳ¤·¡¢¸ß¤¤¤Ë¥¤¥ó¥È¥éÄÌ¿®¤ò²Äǽ¤È¤·¤Æ¤¤¤Þ¤·¤¿¤¬¡¢¶È̳ÆÃÀ¤Î°ã¤¤¤¬¤¢¤ë¤¿¤á¡¢±¿Íѥݥꥷ¡¼¤òÊ̤Ȥ·¡¢ÊªÍýŪ¤Ë¤Ïʬ¤±¤¿¥Í¥Ã¥È¥ï¡¼¥¯¤ò¹½ÃÛ¤·¤Æ¤¤¤Þ¤·¤¿¡£
¡Ê¥Ç¡¼¥¿¥»¥ó¥¿¡¼µòÅÀ¤ò´Þ¤ó¤Ç¤¤¤Þ¤»¤ó¤¬¡¢¤³¤³¤Ç¤Ï³ä°¦¤·¤Þ¤¹¡Ë
¹½À®¿Þ - 1 |
¤·¤«¤·¥Ó¥Ç¥ª²ñµÄ¥·¥¹¥Æ¥à¤òƳÆþ¤¹¤ëÄø¤ÎµòÅÀ¿ô¤Èµ÷Î¥¤Ç¤Ï¤Ê¤¯¡¢²ñµÄ¤ÎÅ٤˰ÜÆ°¤·¤Æ¤¤¤¿°Î¤¤¿Íã¤ÏÌÌÅݤˤʤ俤ΤǤ·¤ç¤¦¤«¡Ê¤¤¤ä¡¢¤â¤Á¤í¤ó°ã¤¦Íýͳ¤À¤È»×¤¤¤Þ¤¹¤¬¡Ë¡¢2009ǯ½©¤Ë¡¢¤³¤Î2µòÅÀ¤¬½¸Ì󤵤ì¤ë»ö¤Ë¤Ê¤ê¤Þ¤·¤¿¡£
¤½¤³¤Ç¡¢¿·¥ª¥Õ¥£¥¹¤Î¥¤¥ó¥È¥é¹½À®¤ò¹Í¤¨¤Æ¤¤¤¿»þ¤Ë¤¢¤¬¤Ã¤¿µÄÂ꤬¡¢¥Ç¥Õ¥©¥ë¥È¥²¡¼¥È¥¦¥§¥¤¤ÎÌäÂê¤Ç¤¹¡£
¢£¸¡Æ¤
"¹½À®¿Þ-1"¤ÎÄ̤ꡢ°ÊÁ°¤ÏµòÅÀ¤´¤È¤Ë¥²¡¼¥È¥¦¥§¥¤ÁõÃÖ¤òÀßÃÖ¤·¤Æ¤¤¤¿°Ù¡¢¥ª¥Õ¥£¥¹¤ÎüËö¤«¤é¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤Ë½Ð¤Æ¤¤¤¯ºÝ¤Î¥½¡¼¥¹IP¥¢¥É¥ì¥¹¤Ï¡¢µòÅÀ¤´¤È¤Ç°Û¤Ê¤ê¤Þ¤·¤¿¡£
°ìÈÌ´ë¶È¤Î¾ì¹ç¡¢¥½¡¼¥¹IP¥¢¥É¥ì¥¹¤¬²¿¤Ç¤¢¤í¤¦¤È¡¢¤µ¤Û¤ÉÌäÂê¤Ë¤Ï¤Ê¤é¤Ê¤¤¤«¤È»×¤¤¤Þ¤¹¡£¤·¤«¤·livedoor¤Î¾ì¹ç¡¢¥½¡¼¥¹IP¥¢¥É¥ì¥¹¤¬Êѹ¹¤Ë¤Ê¤ë¤È¡¢Ê£¿ô²Õ½ê¤ÇÀßÄêÊѹ¹¤¬É¬Íפˤʤë»ö¤¬Í½¤áʬ¤«¤Ã¤Æ¤¤¤Þ¤·¤¿¡£¥¤¥ó¥¿¡¼¥Í¥Ã¥È¾å¤Î´ÉÍý¥µ¡¼¥Ð¤Ë¡¢¥½¡¼¥¹IP¥¢¥É¥ì¥¹¤Ç¤Î¥¢¥¯¥»¥¹À©¸Â¤òŬÍѤ·¤Æ¤¤¤ë¤«¤é¤Ç¤¹¡£
²ò·èºö¤È¤·¤Æ¼¡¤Î°Æ¤ò¸¡Æ¤¤·¤Þ¤·¤¿¡£
o ÀßÄêÊѹ¹¤Î¼ê´Ö¤Ï¤¢¤¤é¤á¤Æ¡¢¥²¡¼¥È¥¦¥§¥¤ÁõÃÖ¤ò½¸Ìó¡©
¤ä¤Ï¤ê¼ê´Ö¤¬¤«¤«¤ë¤Î¤Ç¡¢¤Ç¤¤ì¤ÐÊ̤ÎÊýË¡¤Ç¡Ä
o ¥²¡¼¥È¥¦¥§¥¤ÁõÃ֤Ͻ¸Ì󤷤ơ¢´ÉÍý¥µ¡¼¥Ð¤Ë¥¢¥¯¥»¥¹¤·¤¿¤¤¾ì¹ç¤ÏVPN¡©
¶È̳¤ÎÅ٤ˡ¢VPN·Ðͳ¤Ç¥¢¥¯¥»¥¹¤¹¤ë¤Î¤âÌÌÅÝ¡Ä
o ¿·¥ª¥Õ¥£¥¹Æâ¤Ç¤âʪÍýŪ¤Ëʬ¤±¤¿¥Í¥Ã¥È¥ï¡¼¥¯¤ò¹½ÃÛ¤¹¤ë¡©
ʪÍýµ¡´ï¤¬Áý¤¨²á¤®¤ë¤Î¤â¡Ä
¥Ï¡¼¥É¥¦¥§¥¢¤ÎÊݼéÈñÍѤâ¤Ð¤«¤Ë¤Ê¤ê¤Þ¤»¤ó¤·¡Ä
o VRF¡©
¥½¡¼¥¹IP¥¢¥É¥ì¥¹¤¬°Ý»ý¤Ç¤¤ë Good!!
¥µ¡¼¥Ð¦¤ÎÀßÄêÊѹ¹¤¬¤¤¤é¤Ê¤¤ Good!!
ʪÍýŪ¤Ë¤ÏºÇ¾¯¹½À®¤Ç¹½ÃۤǤ¤ë Good!!
¤·¤«¤·¡¢VRF¼ÒÆâ¤Ç¤Î±¿ÍѼÂÀӤϤʤ¤¤¿¤á¿¾¯¤ÎÉ԰¡ʵ¡Ç½¤È¤·¤Æ¤ÎÉ԰¤ǤϤʤ¯¡¢º£¸å±¿ÍѤ·¤Æ¤¤¤±¤ë¤«¤É¤¦¤«¤È¤¤¤¦É԰¡ˤ¬¤¢¤ê¤Þ¤·¤¿¤¬¡¢¸½»þÅÀ¤Ç¤ÎÌäÂêÅÀ¤òÁ´¤Æ²ò·è¤·¤Æ¤¯¤ì¤ëVRF¤ò»È¤Ã¤Æ¹½ÃÛ¤¹¤ë»ö¤Ë¤·¤Þ¤·¤¿¡£
¡úVRF¡ÊVirtual Routing and Forwarding¡Ë ¤Ë¤Ä¤¤¤Æ
VRF¤Îµ»½Ñ³µÍפˤĤ¤¤Æ¤Ï¡¢Google¤älivedoorÅù¤Ç¸¡º÷¤·¤Æ失¤ì¤Ð¤È»×¤¤¤Þ¤¹¤¬¡¢1Âæ¤ÎʪÍýÁõÃÖÆâ¤Ë¡¢ÏÀÍýŪ¤ËʬΥ¤µ¤ì¤¿Ê£¿ô¤Î¥ë¡¼¥Æ¥£¥ó¥°¥Æ¡¼¥Ö¥ë¤òÊÝ»ý¤·¡¢³Æ¥ë¡¼¥Æ¥£¥ó¥°¥Æ¡¼¥Ö¥ë¤Ë½¾¤Ã¤Æ¥Ñ¥±¥Ã¥ÈžÁ÷¤¬¹Ô¤ï¤ì¤ëµ¡Ç½¤À¤ÈÍý²ò¤·¤Æ¤¤¤Þ¤¹¡£
VRF¼«ÂΤϤâ¤È¤â¤È¡¢ISP¤ÎMPLSÌ֤ʤɤÇÍøÍѤµ¤ì¤Æ¤¤¤ëµ¡Ç½¤Ç¤¢¤ê¡¢¿·¤·¤¤µ»½Ñ¤Ç¤Ï¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢¤¤¤¯¤é´ë¶ÈÆâ¥Í¥Ã¥È¥ï¡¼¥¯¤Ë»ÈÍѤ·¤¿¤¤¤È¹Í¤¨¤Æ¤â¡¢VRF¡Ê¤â¤È¤¤MPLS¡Ë¤ò¼ÂÁõ¤¹¤ë¥ë¡¼¥¿¤ÏÈó¾ï¤Ë¹â²Á¡Ê²È¤¬Ç㤨¤ë¤¯¤é¤¤¡Ä¡Ë¤Ç¡¢¥¤¥ó¥È¥é¥Í¥Ã¥È¤Î°Ù¤Ë¹ØÆþ¤Ç¤¤ë¶â³Û¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£¤·¤«¤·¡¢¸½ºß¤Ï¥á¡¼¥«¡¼Ìä¤ï¤ºÈæ³ÓŪ°Â²Á¤ÊL3¥¹¥¤¥Ã¥Á¤Ç¤âVRF¤¬»È¤¨¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤Æ¤¤¤ë¤Î¤Ç¡¢º£²ó¤Î¤è¤¦¤Ê¡¢
o ¥¯¥é¥¤¥¢¥ó¥È¤Ë¤è¤Ã¤Æ¥Ç¥Õ¥©¥ë¥È¥²¡¼¥È¥¦¥§¥¤¤òʬ¤±¤¿¤¤
(¥¯¥é¥¤¥¢¥ó¥È¤Ë¤è¤Ã¤Æ»²¾È¤¹¤ë¥ë¡¼¥Æ¥£¥ó¥°¥Æ¡¼¥Ö¥ë¤òʬ¤±¤¿¤¤)
o ʪÍý¹½À®¤ÏºÇ¾¯¤Ë¤·¤¿¤¤
¤È¤¤¤Ã¤¿Í×·ï¤ò¼Â¸½¤¹¤ë¾ì¹ç¤Ë¤Ï¡¢Èó¾ï¤ËÊØÍø¤Êµ¡Ç½¤Ç¤¹:)
¢£ ÀßÄê
³µÍ×¹½À®¤ÈConfigurationÆâÍƤǤ¹¡£
º£²ó¤Ï¡¢Router-A¤ÈRouter-B¤Ë¤ÆVRF¤òÆ°¤«¤·¤Æ¤ß¤Þ¤·¤¿¡£
µ¡¼ï¤Ï¡¢Cisco Catalyst 3650¥·¥ê¡¼¥º¤Ç¤¹¡£
¹½À®¿Þ - 2 |
* ÊäÂ
Native ¤Ï Router-A¡¢VRF Buser ¤ÏRouter-C¤Ë¤Æ¥Ç¥Õ¥©¥ë¥È¥ë¡¼¥È¤òÀ¸À®¤·¡¢OSPF¤ÇºÆÇÛ¿®¤·¤Æ¤¤¤Þ¤¹¡£
¡ÚRouter-A¤ÎÀßÄêÆâÍÆ¡Û(È´¿è)
¡ú VRF¤ÎÄêµÁ ¢¨º£²ó¤ÏµìBµòÅÀ¥Í¥Ã¥È¥ï¡¼¥¯¤òVRF¤Î¥¤¥ó¥¹¥¿¥ó¥¹¤È¤·¤ÆÄêµÁ
!
ip vrf Buser
!
¡ú loopback ¤Ï¡¢Native¤ÈVRF¡¢¤½¤ì¤¾¤ì¤ÇÀßÄê
!
interface Loopback0
ip address 10.0.0.1 255.255.255.255
!
interface Loopback1
ip vrf forwarding Buser
ip address 10.0.255.1 255.255.255.255
!
¡ú ¥²¡¼¥È¥¦¥§¥¤ÁõÃÖ¸þ¤±¤ÎʪÍý¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹
!
interface FastEthernet0/1
description "Gateway-A"
switchport access vlan 50
switchport mode access
!
¡ú Router-B ¸þ¤±¤ÎʪÍý¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹
!
interface GigabitEthernet0/1
description "Router-B"
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10,20
switchport mode trunk
!
¡ú Router-C ¸þ¤±¤ÎʪÍý¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹
!
interface GigabitEthernet0/2
description "Router-C"
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 30,40
switchport mode trunk
!
¡ú Router-A¡ÁRouter-B´Ö¤ÎÀܳÍÑ interface vlan¤ò¡¢Native¤ÈVRF¡¢¤½¤ì¤¾¤ì¤ÇÀßÄê
!
interface Vlan10
description "Router-B-Native"
ip address 10.0.10.253 255.255.255.252
!
interface Vlan20
description "Router-B-VRF-Buser"
ip vrf forwarding Buser
ip address 10.0.20.253 255.255.255.252
!
¡ú Router-A¡ÁRouter-C´Ö¤ÎÀܳÍÑ interface vlan¤ò¡¢Native¤ÈVRF¡¢¤½¤ì¤¾¤ì¤ÇÀßÄê
!
interface Vlan30
description "Router-C-Native"
ip address 10.0.30.253 255.255.255.252
!
interface Vlan40
description "Router-C-VRF-Buser"
ip vrf forwarding Buser
ip address 10.0.40.253 255.255.255.252
!
¡ú Router-A¡ÁGateway´Ö¤ÎÀܳÍÑ interface vlan¤òºîÀ®
!
interface Vlan50
description "Router-C-Native"
ip address 10.0.50.2 255.255.255.252
!
¡ú Native ¥µ¡¼¥Ð¼ýÍÆ interface vlan¤òºîÀ®
!
interface Vlan100
description "vlan100-Native"
ip address 10.0.100.1 255.255.255.0
!
¡ú Native¤ÈVRF¡¢¤½¤ì¤¾¤ì¤ÇOSPF¤òÆ°¤«¤¹
!
router ospf 1
router-id 10.0.0.1
log-adjacency-changes
default-information originate
passive-interface Vlan100
network 10.0.0.1 0.0.0.0 area 0
network 10.0.10.253 0.0.0.0 area 0
network 10.0.30.253 0.0.0.0 area 0
network 10.0.50.2 0.0.0.0 area 0
network 10.0.100.1 0.0.0.0 area 0
!
router ospf 2 vrf Buser
router-id 10.0.255.1
log-adjacency-changes
network 10.0.20.253 0.0.0.0 area 0
network 10.0.40.253 0.0.0.0 area 0
network 10.0.255.1 0.0.0.0 area 0
!
!
¡ú Native ÍѤΠdefault route ¤òÀßÄê
!
ip route 0.0.0.0 0.0.0.0 10.0.50.1
!
!
¡ÚRouter-B¤ÎÀßÄêÆâÍÆ¡Û(È´¿è)
¡ú VRF¤ÎÄêµÁ
!
ip vrf Buser
!
¡ú loopback ¤Ï¡¢Native¤ÈVRF¡¢¤½¤ì¤¾¤ì¤ÇÀßÄê
!
interface Loopback0
ip address 10.0.0.2 255.255.255.255
!
interface Loopback1
ip vrf forwarding Buser
ip address 10.0.255.2 255.255.255.255
!
¡ú Router-A ¸þ¤±¤ÎʪÍý¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹
!
interface GigabitEthernet0/1
description "Router-A"
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10,20
switchport mode trunk
!
¡ú Router-A¡ÁRouter-B´Ö¤ÎÀܳÍÑ interface vlan¤ò¡¢Native¤ÈVRF¡¢¤½¤ì¤¾¤ì¤ÇÀßÄê
!
interface Vlan10
description "Router-A-Native"
ip address 10.0.10.254 255.255.255.252
!
interface Vlan20
description "Router-A-VRF-Buser"
ip vrf forwarding Buser
ip address 10.0.20.254 255.255.255.252
!
¡ú Native ¥æ¡¼¥¶¼ýÍÆÍÑ interface vlan¤òºîÀ®
!
interface Vlan101
description "vlan101-Native"
ip address 10.0.101.1 255.255.255.0
!
interface Vlan102
description "vlan102-Native"
ip address 10.0.102.1 255.255.255.0
!
¡ú VRF ¥æ¡¼¥¶¼ýÍÆÍÑ interface vlan¤òºîÀ®
!
interface Vlan201
description "vlan201-VRF-Buser"
ip vrf forwarding Buser
ip address 10.0.201.1 255.255.255.0
!
interface Vlan202
description "vlan201-VRF-Buser"
ip vrf forwarding Buser
ip address 10.0.201.1 255.255.255.0
!
¡ú Native¤ÈVRF¡¢¤½¤ì¤¾¤ì¤ÇOSPF¤òÆ°¤«¤¹
!
router ospf 1
router-id 10.0.0.2
log-adjacency-changes
passive-interface Vlan101
passive-interface Vlan102
network 10.0.0.2 0.0.0.0 area 0
network 10.0.10.254 0.0.0.0 area 0
network 10.0.101.1 0.0.0.0 area 0
network 10.0.102.1 0.0.0.0 area 0
!
router ospf 2 vrf Buser
router-id 10.0.255.2
log-adjacency-changes
passive-interface Vlan201
passive-interface Vlan202
network 10.0.20.254 0.0.0.0 area 0
network 10.0.201.1 0.0.0.0 area 0
network 10.0.202.1 0.0.0.0 area 0
network 10.0.255.2 0.0.0.0 area 0
!
¢£ ·ë²Ì
Router-B¤Î¥ë¡¼¥Æ¥£¥ó¥°¥Æ¡¼¥Ö¥ë¤ò³Îǧ
¡ÚNative¦¡Û
Router-B#sh ip route
Gateway of last resort is 10.0.10.253 to network 0.0.0.0
10.0.0.0/8 is variably subnetted, 11 subnets, 3 masks
C 10.0.0.2/32 is directly connected, Loopback0
O 10.0.0.1/32 [110/2] via 10.0.10.253, 00:15:43, Vlan10
O 10.0.60.0/30 [110/7] via 10.0.10.253, 00:15:43, Vlan10
O 10.0.50.0/30 [110/2] via 10.0.10.253, 00:15:43, Vlan10
O 10.0.100.0/24 [110/2] via 10.0.10.253, 00:15:43, Vlan10
O 10.0.40.252/30 [110/7] via 10.0.10.253, 00:15:43, Vlan10
O 10.0.20.252/30 [110/8] via 10.0.10.253, 00:15:43, Vlan10
O 10.0.30.252/30 [110/2] via 10.0.10.253, 00:15:44, Vlan10
O 10.0.255.1/32 [110/8] via 10.0.10.253, 00:15:44, Vlan10
O 10.0.255.2/32 [110/9] via 10.0.10.253, 00:15:44, Vlan10
C 10.0.10.252/30 is directly connected, Vlan10
O*E1 0.0.0.0/0 [110/12] via 10.0.10.253, 00:15:44, Vlan10
¡ÚVRF¦¡Û
Router-B#sh ip route vrf Buser
Gateway of last resort is 10.0.20.253 to network 0.0.0.0
10.0.0.0/8 is variably subnetted, 11 subnets, 3 masks
O 10.0.0.2/32 [110/9] via 10.0.20.253, 00:16:11, Vlan20
O 10.0.0.1/32 [110/8] via 10.0.20.253, 00:16:11, Vlan20
O 10.0.60.0/30 [110/7] via 10.0.20.253, 00:16:11, Vlan20
O 10.0.50.0/30 [110/8] via 10.0.20.253, 00:16:11, Vlan20
O 10.0.100.0/24 [110/8] via 10.0.20.253, 00:16:11, Vlan20
O 10.0.40.252/30 [110/2] via 10.0.20.253, 00:16:11, Vlan20
C 10.0.20.252/30 is directly connected, Vlan20
O 10.0.30.252/30 [110/7] via 10.0.20.253, 00:16:12, Vlan20
O 10.0.255.1/32 [110/2] via 10.0.20.253, 00:16:12, Vlan20
C 10.0.255.2/32 is directly connected, Loopback1
O 10.0.10.252/30 [110/8] via 10.0.20.253, 00:16:13, Vlan20
O*E1 0.0.0.0/0 [110/12] via 10.0.20.253, 00:16:13, Vlan20
¾åµ¤ÎÄ̤ꡢƱ¤¸·ÐÏ©¸þ¤±¤Î°¸À襢¥É¥ì¥¹¤â¡¢¤½¤ì¤¾¤ì°Û¤Ê¤ë¥¢¥É¥ì¥¹¤ò³Ø½¬¤·¤Æ¤¤¤Þ¤¹¡£
¥¤¥ó¥¿¡¼¥Í¥Ã¥È¸þ¤±¤Î traceroute ¤ò³Îǧ
Router-B#traceroute 203.131.***.***
Type escape sequence to abort.
Tracing the route to 203.131.***.***
1 10.0.10.253 0 msec 0 msec 0 msec
2 10.0.50.1 0 msec 0 msec 0 msec
3 203.131.***.*** 0 msec 0 msec 9 msec
4 203.131.***.*** 0 msec 0 msec 8 msec
Router-B#traceroute vrf Buser ip 203.131.***.***
Type escape sequence to abort.
Tracing the route to 203.131.***.***
1 10.0.20.253 0 msec 0 msec 0 msec
2 10.0.40.253 0 msec 0 msec 0 msec
3 10.0.60.1 0 msec 0 msec 0 msec
4 203.174.***.*** 8 msec 9 msec 0 msec
5 203.131.***.*** 8 msec 0 msec 8 msec
¤½¤ì¤¾¤ìÊ̤ηÐÏ©¤Ç¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤Ë¤Ç¤Æ¤¤¤ë»ö¤¬³Îǧ¤Ç¤¤Þ¤·¤¿¡£
¢£ ½ª¤ê¤Ë
VRF¼«ÂΤÎÀßÄê¤Ï·ë¹½´Êñ¤Ë¤Ç¤¤Þ¤¹¤¬¡¢¤³¤È±¿ÍÑÌ̤˴ؤ·¤Æ¤Ï¡¢VRF¤È¤¤¤¦°Í¸´Ø·¸¤¬²Ã¤ï¤ë»ö¤Ë¤è¤Ã¤Æ¥Í¥Ã¥È¥ï¡¼¥¯¤¬Ê£»¨²½¤¹¤ë¤¿¤á¡¢¾ã³²»þ¤Î»ö¤ò¹Í¤¨¤ë¤È¡¢¤½¤ì¤Ï¤½¤ì¤ÇǺ¤Þ¤·¤«¤Ã¤¿¤ê¤·¤Þ¤¹¡£
¤·¤«¤·Ë¿Å¸¼¨²ñ¥Í¥Ã¥È¡¼¥ï¡¼¥¯¥â¥Ç¥ë¤Î¤è¤¦¤Ë¡¢VRF¤ò»È¤¦¤È¡¢Æ±¤¸ÊªÍýÌÖ¤ò»È¤Ã¤ÆÍÑÅÓÊ̤ˡ¢Íưפˡ¢¥Í¥Ã¥È¥ï¡¼¥¯¤ò¹½ÃÛ¤¹¤ë»ö¤¬¤Ç¤¤ë¤Î¤Ç¡¢º£¸å¤Ï¡ÊÍ×˾¤¬¤¢¤ì¤Ð¡Ë¡¢¸¡¾ÚÍÑ¡¢IPv6ÍÑ¡¢¿Í»öÍѤʤɡ¢VRF¤ÎÄɲäò¤ª¤³¤Ê¤Ã¤Æ¡¢±¿ÍѥΥ¦¥Ï¥¦¤ò¤¿¤á¤Æ¤¤¤¤¿¤¤¤È»×¤¤¤Þ¤¹¡£VRF¡¢¤ª¤¹¤¹¤á¤Ç¤¹:)