{"id":869,"date":"2024-12-19T03:33:02","date_gmt":"2024-12-19T00:33:02","guid":{"rendered":"https:\/\/itgen.itbumper.com\/?page_id=869"},"modified":"2024-12-19T03:33:03","modified_gmt":"2024-12-19T00:33:03","slug":"0061_cisco-ipv6_addresses","status":"publish","type":"page","link":"https:\/\/itgen.itbumper.com\/?page_id=869","title":{"rendered":"0061:_Cisco: IPv6_addresses"},"content":{"rendered":"<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nenable\n\tconfigure terminal\n\t\tinterface g0\/0\n\t\t\tipv6 address 2001:DB8::\/64 EUI-64\t#to generate an IPv6 address on the g0\/0 interface\n\t\n\tshow interface g0\/0\t\t\t\t\t\t\t#to show MAC address\n\tshow ipv6 interface brief\t\t\t\t\t#the second line will show a new generated MAC address\n\t\n\n##IPv6 address types:\n#\t-Global Unicast\n#\t-Unique Local\n#\t-Link lLcal\n#\t-Multicast\n#\t-others\n\n#===================Global Unicast IPv6 address====================================\n#\tGlobal Unicast IPv6 address - using for the Internet\n#Originally defined as the 2000::3\/3 block\n#From 2000:: to 3FFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF\n#\t\t\t\t  1\t   2    3    4    5   6     7    8\n\n#\t\t\t| 48 bit - Global Routing prefix\t|\n# 128 bit\t| 16 bit - Subnet Identifier\t\t|\t\/64\n#\t\t\t| 64 bit - Interface Identifier\t\t|\n#==================================================================================\n\n#===================Unique Local IPv6 address======================================\n#\tUnique Local IPv6 address - using for the Privet \/ Local networks\n#All Unique Local address must begin with FD, because updated the 8-th bit\n#From FD00:: to FDFF:3FFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF\n#   ______________   ____ \n#  |FD45:93AC:8A8F|:|0001|:0000:0000:0000:0001\/64\n#   --------------   ---- \n#\t |            \\       \\\n#\t |             \\       16bit subnet identifier used by the enterprise to make various subnets\n#\t |\t\t\t\t40 bit &quot;Global ID&quot; which should randomly generated\n#\tFD - indicates a Unique Local address\n#==================================================================================\n\n\n#===========================Link Local IPv6 address================================\n#Automatically generated on IPv6 interfaces\nenable\n\tconfigure terminal\n\t\tinterface g0\/0\n\t\t\tipv6 enable\n#Uses the address block FE80::\/10\n#From FE80:: to FEBF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF\n#However, the standart states then the 54 bits after FE80\/10 should be all 0,so you won`t see link local addresses\n#beginning with FE9, FEA or FEB. Only FE8.\n\n#The interface ID generated using EUI-64 rules.\n#Link Local means that these addresses are used for communication within a single link (subnet).\n#Routers won`t route packets with link local destination IPv6 addresses.\n\n#Common uses of link-local addresses\n#\t-routing protocols peering OSPF v3 using link-local addresses for neighbor adjacencies\n#\t-next-hop addresses for static routes\n#\t-Neighbor Discovery Protocol (NDPm, IPv6 replacement for ARP uses link-local addresses to function\n#==================================================================================\n\n#=======================IPv6 Multicast Addresses===================================\n#\tUnicast\t\t - One to One\n#\tBroadcast\t - One to Many (within subnet)\n#\tMulticast\t - One to Many (joined to the specific multicast group)\n\n#IPv6 uses range FF::\/8 for multicast\n#From FF00:: to FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF\n#\n#IPv6 doesn`t use broadcast (there is no broadcast addresses in IPv6)\n\n#----------------------------------------------------------------------------------\n# Purpose\t\t\t\t\t\t\t\t|\t  IPv6 address\t\t|\tIPv4 address  |\n#----------------------------------------------------------------------------------\n#All nodes\/hosts functions ie broadcast |       FF02::1\t\t\t|\t224.0.0.1\t  |\n#----------------------------------------------------------------------------------\n#All routers\t\t\t\t\t\t\t|\t\tFF02::2\t\t\t|\t224.0.0.2\t  |\n#----------------------------------------------------------------------------------\n#All OSPF routers\t\t\t\t\t\t|\t\tFF02::5\t\t\t|\t224.0.0.5\t  |\n#----------------------------------------------------------------------------------\n#All OSPF DRs\/BDRs routers\t\t\t\t|\t\tFF02::6\t\t\t|\t224.0.0.6\t  |\n#----------------------------------------------------------------------------------\n#All RIP routers\t\t\t\t\t\t|\t\tFF02::9\t\t\t|\t224.0.0..9\t  |\n#----------------------------------------------------------------------------------\n#All EIGRP routers\t\t\t\t\t\t|\t\tFF02:A\t\t\t|\t224.0.0.10\t  |\n#----------------------------------------------------------------------------------\n\n#\n#=============================Multicast address scopes=============================\n#IPv6 defines multiple multicast scopes which indocate how far the packet should be forwarded\n#\n#\t-Interface-Local (FF01). The packet doesn`t leave the local device. Can be used to send\n#\t traffic to a service within the local device\n#\n#\t-Link-Local (FF02). The packet remains in the local subnet. Routers won`t route the packet\n#\t between subnets.\n#\n#\t-Site-Local (FF05). The packet can be forwarded by routers. Should be limited to a single\n#\t physical location (not for forwarding over the WAN)\n#\n#\t-Organosation-Local (FF08). Wider in scope that Site-Local (an entire company\/organization)\n#\n#\t-Global (FF0E). No boundaries. Possible to be route over the Internet\n#\n#\tGlobal-Scope\n\t\t-Organosation-Local Scope (Branches through the WAN)\n\t\t\t-Site-Local Scope (All local networks behind the WAN)\n\t\t\t\t-Link-Local Scope (Inside a subnet)\n#==================================================================================\n\n#==================================IPv6 Anycast====================================\n#Anycast is One-to-One-of-Many\nenable\n\tconfigure terminal\n\t\tinterface g0\/0\n\t\t\tipv6 address 2001:DB8:1:1:99\/128 anycast\n#==================================================================================\n\n#====================================IPv6 Others===================================\n#\t:: = the unspecified IPv6 address\n#\t\t- Can be used when a device doesn`t yet know it`s IPv6 address\n#\t\t- IPv6 default routes are configured to ::\/0 (IPv4 equivalent 0.0.0.0)\n#\t::1 = the loopback interface (IPv4 equivalent 127.0.0.0\/8 address range)\n\n#==================================================================================\nenable\n\tconfigure terminal\n\t\tinterface g0\/0\n\t\t\tipv6 address 2001:DB8:\/64 EUI-64 \t#It is a subnet, using this the IPv6 address will generated\n\n#==================================================================================\n\n\n\t\t\t\t\t\t\t\t\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=\/wp\/v2\/pages\/869"}],"collection":[{"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=869"}],"version-history":[{"count":1,"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=\/wp\/v2\/pages\/869\/revisions"}],"predecessor-version":[{"id":870,"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=\/wp\/v2\/pages\/869\/revisions\/870"}],"wp:attachment":[{"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=869"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=869"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itgen.itbumper.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=869"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}