{"id":2378,"date":"2014-09-27T00:53:13","date_gmt":"2014-09-26T15:53:13","guid":{"rendered":"http:\/\/uraneko.tcorps.info\/?p=2378"},"modified":"2014-09-27T03:02:02","modified_gmt":"2014-09-26T18:02:02","slug":"rd%e3%81%a8rt","status":"publish","type":"post","link":"http:\/\/uraneko.tcorps.info\/?p=2378","title":{"rendered":"RD\u3068RT"},"content":{"rendered":"<p>MPLS\u3068\u304bMP-BGP\u306a\u3093\u3066\u3057\u3070\u3089\u304f\u3084\u3063\u3066\u306a\u3044\u304b\u3089\u30c0\u30c0\u5fd8\u308c\u3072\u3069\u3044\u3002<\/p>\n<p><strong><span style=\"color: #ffffff;\">RD<\/span>\u3000<\/strong>Route-Distinguisher\u3000IP\u30a2\u30c9\u30ec\u30b9\u306b\u304f\u3063\u3064\u3051\u3066\u3001NLRI\u3092\u4e00\u610f\u306b\u8b58\u5225\u3059\u308b\u305f\u3081\u306e\u3082\u306e\u3002vrf\u306e\u672b\u7aef\u3067\u306f\u540c\u3058\u7d4c\u8def\u3092\u6271\u3046\u53ef\u80fd\u6027\u304c\u3042\u308b\u305f\u3081RD\u3092\u4ed8\u52a0\u3059\u308b\u306e\u3067\u3042\u3063\u3066\u3001vrf\u306e\u8b58\u5225\u306b\u306f\u7528\u3044\u3089\u308c\u306a\u3044\u305f\u3081\u3001\u5b9f\u306fPE\u9593\u3067\u540c\u3058\u3058\u3083\u306a\u304f\u3066\u3082\u826f\u3044\uff08\u3084\u3084\u3053\u3057\u3044\uff09<\/p>\n<p><strong><span style=\"color: #ffffff;\">RT<\/span> \u00a0<\/strong>Route-Target\u3000vpnv4 BGP\u3000\u306b\u304a\u3044\u3066\u3001vrf\u3078\u306e\u30eb\u30fc\u30c8\u60c5\u5831\u306e\u30a4\u30f3\u30dd\u30fc\u30c8\/\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3092\u6c7a\u5b9a\u3059\u308b\u30bf\u30b0\u307f\u305f\u3044\u306a\u3082\u306e\u3002\u3088\u3063\u3066\u3053\u3053\u306fPE\u9593\u3067\u540c\u3058(\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u305f\u3044RT\u3092\u9069\u5207\u306b\u8a2d\u5b9a)\u306b\u3057\u306a\u3044\u3068\u3060\u3081\u3002extended community attribute\u3002vpnv4 BGP\u3067\u5b66\u7fd2\u3057\u305f\u305d\u306eRT\u306e\u7d4c\u8def\u3092\u5bfe\u8c61\u306evrf\u306b\u7a81\u3063\u8fbc\u3080\u3002\u3088\u3063\u3066\u3001\u3059\u3067\u306bvrf\u304c\u5224\u660e\u3057\u3066\u3044\u308b\u306e\u3067\u3001RD\u306f\u3044\u3089\u306a\u3044\u5b50\uff08\u305f\u3060\u3057RD\u304c\u7570\u306a\u308b\u305f\u3081\u3001vpnv4 BGP\u5185\u3067\u306f\u7570\u306a\u308b\u7d4c\u8def\u3068\u3057\u3066\u6271\u308f\u308c\u308b\uff09\uff08\u3061\u3087\u3063\u3068\u6c17\u306b\u306a\u308b\u306e\u3067\u3042\u3068\u3067\u8a66\u3059\uff09<\/p>\n<p>&nbsp;<\/p>\n<p>\u7c21\u6f54\u3067\u308f\u304b\u308a\u3084\u3059\u3044\u8aac\u660e\u3002<br \/>\nhttp:\/\/ccieblog.co.uk\/mpls\/difference-between-the-rd-and-rt<\/p>\n<p>\u305d\u306e\u4ed6CCO<br \/>\nhttp:\/\/www.cisco.com\/c\/en\/us\/td\/docs\/ios\/12_2sr\/12_2srb\/feature\/guide\/tbgp_c\/tbrbover.html<br \/>\nhttp:\/\/www.cisco.com\/c\/en\/us\/td\/docs\/switches\/lan\/catalyst4500\/12-2\/31sg\/configuration\/guide\/conf\/vrf.pdf<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>(\u8ffd\u8a18)\u8a66\u3057\u305f\u3002\u00a0 maximum-paths ibgp 2 \u3092PE\u306eBGP\u306e address-family ipv4 vrf TEST \u306b\u3044\u308c\u305f\u7d50\u679c\u3002<\/p>\n<blockquote>\n<pre>R8#sh bgp vpnv4 unicast all\r\nBGP table version is 17, local router ID is 10.1.8.8\r\nStatus codes: s suppressed, d damped, h history, * valid, &gt; best, i - internal,\r\n              r RIB-failure, S Stale, <span style=\"color: #ffffff;\">m multipath<\/span>, b backup-path, f RT-Filter,\r\n              x best-external, a additional-path, c RIB-compressed,\r\nOrigin codes: i - IGP, e - EGP, ? - incomplete\r\nRPKI validation codes: V valid, I invalid, N Not found\r\n\r\n     Network          Next Hop            Metric LocPrf Weight Path\r\n<span style=\"color: #ffcc99;\">Route Distinguisher: 1:1 <\/span>(default for vrf TEST)\r\n<span style=\"color: #ffff99;\"><span style=\"color: #ffcc99;\"> *&gt;i 9.9.9.9\/32       10.1.0.7                0    100      0 65001 i\r\n<span style=\"color: #ffff99;\"> *mi                  <span style=\"text-decoration: underline;\">10.1.3.3<\/span> <\/span>               0    100      0 65001 i<\/span>\r\n<\/span>!-- omit\r\n<span style=\"color: #ffff99;\">Route Distinguisher: 2:2\r\n *&gt;i 9.9.9.9\/32       <span style=\"text-decoration: underline;\">10.1.3.3<\/span>                0    100      0 65001 i\r\n<\/span><span style=\"color: #ffffff;\">! RD\u304c\u9055\u3046(2:2)\u306e\u306bRD1:1\u306b\u30a4\u30f3\u30dd\u30fc\u30c8\u3055\u308c\u3066\u308b(RT\u540c\u3058\u306b\u3057\u305f\u304b\u3089)\r\n! \u305d\u3057\u3066multipath\u3068\u3057\u3066\u8a8d\u8b58\u3055\u308c\u305f\u305f\u3081\u3001<\/span>\r\nR8#\r\nR8#sh ip route vrf TEST\r\n\r\nRouting Table: TEST\r\nCodes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP\r\n       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area\r\n       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2\r\n       E1 - OSPF external type 1, E2 - OSPF external type 2\r\n       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2\r\n       ia - IS-IS inter area, * - candidate default, U - per-user static route\r\n       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP\r\n       a - application route\r\n       + - replicated route, % - next hop override\r\n\r\nGateway of last resort is not set\r\n\r\n      9.0.0.0\/32 is subnetted, 1 subnets\r\nB        <span style=\"color: #ffff99;\">9.9.9.9<\/span> [200\/0] via <span style=\"color: #ffff99;\">10.1.3.3<\/span>, 00:00:27\r\n                 [200\/0] via <span style=\"color: #ffcc99;\">10.1.0.7<\/span>, 00:00:27\r\n!--  omit\r\n<span style=\"color: #ffffff;\">! 10.1.3.3\u3082\u30de\u30eb\u30c1\u30d1\u30b9\u3067\u8f09\u308b\u3002\r\n\r\n<\/span><\/pre>\n<\/blockquote>\n<p>RT\u304c\u540c\u3058\u306a\u3089\u3001RD\u9055\u3063\u3066\u3082\u95a2\u4fc2\u306a\u304fVRF\u30c6\u30fc\u30d6\u30eb\u306b\u306f\u30a4\u30f3\u30dd\u30fc\u30c8\u3055\u308c\u3066\u8f09\u308b\u3068\u3002\u3075\u3080\u3002\u306a\u304a\u3001multipath\u306ebest\u3092\u5909\u3048\u305f\u308a\u3059\u308b\u306e\u306b\u304b\u306a\u308a\u82e6\u6226\u3057\u305f(bgp router-id)\u3002\u3046\u30fc\u3093<span style=\"line-height: 1.6;\">\u3042\u304b\u3093\u306a\u30fc\u3002<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>MPLS\u3068\u304bMP-BGP\u306a\u3093\u3066\u3057\u3070\u3089\u304f\u3084\u3063\u3066\u306a\u3044\u304b\u3089\u30c0\u30c0\u5fd8\u308c\u3072\u3069\u3044\u3002 RD\u3000Route-Distin [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,6],"tags":[],"class_list":["post-2378","post","type-post","status-publish","format-standard","hentry","category-ccie","category-6"],"_links":{"self":[{"href":"http:\/\/uraneko.tcorps.info\/index.php?rest_route=\/wp\/v2\/posts\/2378","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/uraneko.tcorps.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/uraneko.tcorps.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/uraneko.tcorps.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/uraneko.tcorps.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2378"}],"version-history":[{"count":7,"href":"http:\/\/uraneko.tcorps.info\/index.php?rest_route=\/wp\/v2\/posts\/2378\/revisions"}],"predecessor-version":[{"id":2385,"href":"http:\/\/uraneko.tcorps.info\/index.php?rest_route=\/wp\/v2\/posts\/2378\/revisions\/2385"}],"wp:attachment":[{"href":"http:\/\/uraneko.tcorps.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2378"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/uraneko.tcorps.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2378"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/uraneko.tcorps.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}