#IPV6 Address P289 & 580 Depuis la naissance d'internet, le protocole IPV4 été utilisé pour l'adressage IP une addresse ipv4 est codée sur 32 bits les diffirent classe en IPV4 CLASSE A "1-126"/8, Class B "128-191"/16, CLASS C "192-223"/24 LA CAUSE DE IPV6 EST LE BESOIN DE D'ADRESSES IP L'IPV6 a des adresses de 128 bits ![](https://i.imgur.com/7D22I1O.png) C'est a dire que de nombreux protocoles ont dû être mis a jour ou remplacés pour pouvoir fonctionner avec le IPV6 OSPF est passé de la version 2 a la version 3 ICMP s'appelle maintenant ICMP version 6 ![](https://i.imgur.com/Nr2B4sI.png) VERT=N'A PAS CHANGé, bleu= MODIFIER, ROUGE=SUPPRIMé, Violet= NOUVEAU le plus simple a retenir dans nous tête est que dans l'IPV6 les routeur ils auront beaucoup moiNs de travaille a faire * PROTOCOLE RIP -> RIPNG 'NG=NEW GENERATION' * OSPF PASSé LA VERSION3 " DANS IPV4 il est sous la ver 2" * BGP -> MPBGP 'Multi Protocol' * EIGRP -> EIGRP6 # FORMAT D'UNE @IPV6 erreur ipv6 est sur 128 bits. c est de l'hexadecimal donc 16 bits partie 16 * 8 = 128 ![](https://i.imgur.com/NoiIlOy.png) ![](https://i.imgur.com/TrEOvzd.png) on vois bien que il ya 8 partis de 4 chiffire hexadécimaux chacune Heuresement il est possible de recourcir les @ IPV6 PAR EXEMPLE Si'il ya plusieur 0 qui ce suivent on peut les supprimer et les remplacé par 2<::> Aussi on peut supprimer les 0 au début de chaque partie ![](https://i.imgur.com/YTBzJon.png) ![](https://i.imgur.com/Y2j9Egm.png) ![](https://i.imgur.com/FZAuFT4.png) THIZIRI LES 16 bits c'est en hexadecimal ###TYPE D'adresses IPV6 Une adresse IPV6 a 3type d'adresses: -Unicast -multicasr 'multicast assigned commence par FF00/8'les autres comme la solicted node FFO2, FF00/104' -Anycast ![](https://i.imgur.com/swW8TCC.png) ## **Multicast** Très intéressant https://www.ciscopress.com/articles/article.asp?p=2803866&seqNum=5 A multicast address identifies a set of interfaces that typically belong to different nodes. When a network device sends a packet to a multicast address, the device broadcasts the packet to all interfaces identified by that address. IPv6 does not support broadcast addresses, but instead uses multicast addresses in this role. Multicast addresses support 16 different types of address scope, including node, link, site, organization, and global scope. A 4-bit field in the prefix identifies the address scope. The following types of multicast addresses can be used in an IPv6 subscriber access network: Solicited-node multicast address—Neighbor Solicitation (NS) messages are sent to this address. All-nodes multicast address—Router Advertisement (RA) messages are sent to this address. All-routers multicast address—Router Solicitation (RS) messages are sent to this address. Multicast addresses use the prefix FF00::/8. ## **Solicited Node** ![](https://i.imgur.com/6CCEAOE.png) https://menandmice.com/blog/ipv6-reference-multicast ## **Unicast** **Global unicast address**—A unique IPv6 address assigned to a host interface. These addresses have a global scope and essentially the same purposes as **IPv4 public addresses**. Global unicast addresses are routable on the Internet. **Link-local** FE80::/10 -IPv6 address—An IPv6 address that allows communication between neighboring hosts that reside on the same link. Link-local addresses have a local scope, and cannot be used outside the link. They always have the prefix FE80::/10. CONNEXION UNIQUEMENT SUR LE MEME RX **Loopback** IPv6 address—An IPv6 address used on a loopback interfaces. The IPv6 loopback address is 0:0:0:0:0:0:0:1, which can be notated as ::1/128. **Unspecified address**—An IPv6 unspecified address is 0:0:0:0:0:0:0:0, which can be notated as ::/128. Assigned to a host when he no has IP yet **Unique Local**: FD00::/8 A unique local IPv6 address is constructed by appending a randomly generated 40-bit hexadecimal string to the FD00::/8 prefix. The subnet field and interface ID are created in the same way as with global IPv6 addresses. CONNEXION AVEC DES REX DIFFIRENT ![](https://i.imgur.com/orbVS36.png) **Default route **: ::/0 ## **AnyCast** An anycast address identifies a set of interfaces that typically belong to different nodes. Anycast addresses are similar to multicast addresses, except that packets are sent only to one interface, not to all interfaces. The routing protocol used in the network usually determines which interface is physically closest within the set of anycast addresses and routes the packet along the shortest path to its destination. There is no difference between anycast addresses and unicast addresses except for the subnet-router address. For an anycast subnet-router address, the low-order bits, typically 64 or more, are zero. Anycast addresses are taken from the unicast address space. For more information about anycast addresses, see RFC 2526, Reserved IPv6 Subnet Anycast Addresses. ### EUB-64 (Extended Unique Identifier) il utilise @ mac de notre équipement pour nous attribuer @IPV6 adeéquate VOICI LES ETAPES A SUIVRE "le bits 7" ![](https://i.imgur.com/jHXcgee.png) ![](https://i.imgur.com/VqkMxYR.png) # NDP SLAAC & DHCP v6 NDP = Neighbor DIscovery Protocol ![](https://i.imgur.com/eeYAA0X.png) les protocole utilisé pour ce connecter dans le même réseau ![](https://i.imgur.com/WVJ4Wny.png) une autre fonctionalité DU PROTOCOLE NDP: ![](https://i.imgur.com/8CLfA6n.png) #DNS EN IPV6 les devloppeur de @ipv6 ont oublié de cree un server DNS et c'est un ingrédient essentielle c'est pour ça on a besoin d'un DHCP DHCPV6 se presente en deux formes *stateful (dhcp standard) *Stateless -> nous fourni une seule information qui manque à la donction SLAAC = les @ IP des serveurs DNS ![](https://i.imgur.com/8vYB7qv.png) # OSPFv3 & EIGRPv6 & Route statique ## Route Statique ![](https://i.imgur.com/9PT4Mq8.png) On a donc 2 adresse unicast globale .1 & .2 -ipv6 unicast-routing -déclaration des interfaces ![](https://i.imgur.com/mdAYyYe.png) ## ROUTE PAR DEFAUT la route par défaut en IPV6 c'est 2 fois ":"/0 ![](https://i.imgur.com/NgYv1vk.png) ## OSPV3 ![](https://i.imgur.com/uH4dwAy.png) ## EIGRPV6 ![](https://i.imgur.com/y5279BV.png) ##TP Cisco Routers do not have IPv6 routing enabled by default. To configure IPv6 on a Cisco DUs you need to do two things ![](https://i.imgur.com/4jKwTsY.png)