{"id":381,"date":"2020-04-06T08:34:20","date_gmt":"2020-04-06T06:34:20","guid":{"rendered":"http:\/\/tech.sosthe.sk\/?p=381"},"modified":"2020-04-06T22:48:05","modified_gmt":"2020-04-06T20:48:05","slug":"5-5-preklad-z-ipv6-adries-na-mac-adresy-neighbor-discovery-protocol","status":"publish","type":"post","link":"http:\/\/tech.sosthe.sk\/index.php\/2020\/04\/06\/5-5-preklad-z-ipv6-adries-na-mac-adresy-neighbor-discovery-protocol\/","title":{"rendered":"5.5.\u2002Preklad z IPv6 adries na MAC adresy: Neighbor discovery protocol"},"content":{"rendered":"<p>Protokol IPv6 nepou\u017e\u00edva protokol ARP, ale protokol NDP (neighbor discovery protocol), ktor\u00fd je \u010das\u0165ou ICMPv6. V\u00fdhodou tohto rie\u0161enia je vyu\u017eitie multicastov\u00e9ho roz\u0161\u00edrenia Ethernetu (multicastov\u00e9 adresy Ethernetu maj\u00fa tvar 33:33:hoci\u010do), pri ktorom sa \u017eiadosti o preklad nedostan\u00fa ku v\u0161etk\u00fdm uzlom, ale len t\u00fdm, ktor\u00fdch IPv6 adresa kon\u010d\u00ed rovnako ako cie\u013eov\u00e1 Ethernetov\u00e1 multicastov\u00e1 adresa. Napr\u00edklad ak chceme preklad z IPv6 adresy 2001:111::1:<strong>2345:6789<\/strong>, po\u0161leme ICMPv6 neighbor solicitation paket s cie\u013eovou multicastovou Ethernetovou adresou 33:33:<strong>23:45:67:89<\/strong>. T\u00fato multicastov\u00fa adresu je povinn\u00fd uzol s touto IPv6 adresou po\u010d\u00fava\u0165, podobne ako v\u0161etky uzly ktor\u00fdch IPv6 adresa kon\u010d\u00ed na 2345:6789.<\/p>\n<p>Podobne ako ARP protokol pln\u00ed ARP tabu\u013eku, NDP pln\u00ed NDP tabu\u013eku. D\u00e1 sa vyp\u00edsa\u0165 pr\u00edkazmi:\u00a0<strong>Windows:<\/strong>\u00a0netsh interface ipv6 show neighbors,\u00a0<strong>Linux:<\/strong> ip -6 neighbor show).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Protokol IPv6 nepou\u017e\u00edva protokol ARP, ale protokol NDP (neighbor discovery protocol), ktor\u00fd je \u010das\u0165ou ICMPv6. V\u00fdhodou tohto rie\u0161enia je vyu\u017eitie multicastov\u00e9ho roz\u0161\u00edrenia Ethernetu (multicastov\u00e9 adresy&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"_links":{"self":[{"href":"http:\/\/tech.sosthe.sk\/index.php\/wp-json\/wp\/v2\/posts\/381"}],"collection":[{"href":"http:\/\/tech.sosthe.sk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/tech.sosthe.sk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/tech.sosthe.sk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/tech.sosthe.sk\/index.php\/wp-json\/wp\/v2\/comments?post=381"}],"version-history":[{"count":2,"href":"http:\/\/tech.sosthe.sk\/index.php\/wp-json\/wp\/v2\/posts\/381\/revisions"}],"predecessor-version":[{"id":542,"href":"http:\/\/tech.sosthe.sk\/index.php\/wp-json\/wp\/v2\/posts\/381\/revisions\/542"}],"wp:attachment":[{"href":"http:\/\/tech.sosthe.sk\/index.php\/wp-json\/wp\/v2\/media?parent=381"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/tech.sosthe.sk\/index.php\/wp-json\/wp\/v2\/categories?post=381"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/tech.sosthe.sk\/index.php\/wp-json\/wp\/v2\/tags?post=381"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}