Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 6

TP5 

: Configuration IPv6 avec eNSP

Etape 1 : Câblage du réseau

Connecter le réseau conformément au schéma de topologie indiqué.

Etape 2 : Configurations des routeurs et les équipements terminaux


Passerelle par
Périphérique Interface Adresse IPv6 défaut

2001:DB8:ACAD:A::1/64
R1 G0/0/2
FE80::1 link-local NA
2001:DB8:ACAD:12::1/64
G0/0/0
FE80::1 link-local NA
2001:DB8:ACAD:13::1/64
G0/0/1
FE80::1 link-local NA
2001:DB8:ACAD:B::2/64
R2 G0/0/2
FE80::2 link-local NA
2001:DB8:ACAD:23::2/64
G0/0/1
FE80::2 link-local NA
2001:DB8:ACAD:12::2/64
G0/0/0
FE80::2 link-local NA
2001:DB8:ACAD:C::3/64
R3 G0/0/2
FE80::3 link-local NA
2001:DB8:ACAD:23::3/64
G0/0/1
FE80::3 link-local NA
2001:DB8:ACAD:12::2/64
G0/0/0
FE80::3 link-local NA
PC-1 Carte réseau 2001:DB8:ACAD:A::A/64 FE80::1
PC-2 Carte réseau 2001:DB8:ACAD:B::B/64 FE80::2
PC-3 Carte réseau 2001:DB8:ACAD:C::C/64 FE80::3

<huawei>system-view

[huawei]sysname R1

[R1]ipv6

[R1]interface GigabitEthernet 0/0/2


[R1-GigabitEthernet0/0/2]ipv6 enable
[R1-GigabitEthernet0/0/2]ipv6 address 2001:DB8:ACAD:A::1 64
[R1-GigabitEthernet0/0/2]ipv6 address fe80::1 link-local
[R1-GigabitEthernet0/0/2]quit
[R1]interface GigabitEthernet 0/0/1
[R1-GigabitEthernet0/0/1]ipv6 enable
[R1-GigabitEthernet0/0/1]ipv6 address 2001:DB8:ACAD:13::1 64
[R1-GigabitEthernet0/0/1]ipv6 address fe80::1 link-local
[R1-GigabitEthernet0/0/1]quit
[R1]interface GigabitEthernet 0/0/0
[R1-GigabitEthernet0/0/0]ipv6 enable
[R1-GigabitEthernet0/0/0]ipv6 address 2001:DB8:ACAD:12::1 64
[R1-GigabitEthernet0/0/0]ipv6 address fe80::1 link-local
[R1-GigabitEthernet0/0/0]quit

<huawei>system-view

[huawei]sysname R2

[R2]ipv6
[R2]interface GigabitEthernet 0/0/2
[R2-GigabitEthernet0/0/2]ipv6 enable
[R2-GigabitEthernet0/0/2]ipv6 address 2001:DB8:ACAD:B::2 64
[R2-GigabitEthernet0/0/2]ipv6 address fe80::2 link-local
[R2-GigabitEthernet0/0/2]quit
[R2]interface GigabitEthernet 0/0/1
[R2-GigabitEthernet0/0/1]ipv6 enable
[R2-GigabitEthernet0/0/1]ipv6 address 2001:DB8:ACAD:23::2 64
[R2-GigabitEthernet0/0/1]ipv6 address fe80::2 link-local
[R2-GigabitEthernet0/0/1]quit
[R2]interface GigabitEthernet 0/0/0
[R2-GigabitEthernet0/0/0]ipv6 enable
[R2-GigabitEthernet0/0/0]ipv6 address 2001:DB8:ACAD:12::2 64
[R2-GigabitEthernet0/0/0]ipv6 address fe80::2 link-local
[R2-GigabitEthernet0/0/0]quit

<huawei>system-view

[huawei]sysname R3

[R3]ipv6

[R3]interface GigabitEthernet 0/0/2


[R3-GigabitEthernet0/0/2]ipv6 enable
[R3-GigabitEthernet0/0/2]ipv6 address 2001:DB8:ACAD:C::3 64
[R3-GigabitEthernet0/0/2]ipv6 address fe80::3 link-local
[R3-GigabitEthernet0/0/2]quit
[R3]interface GigabitEthernet 0/0/1
[R3-GigabitEthernet0/0/1]ipv6 enable
[R3-GigabitEthernet0/0/1]ipv6 address 2001:DB8:ACAD:23::3 64
[R3-GigabitEthernet0/0/1]ipv6 address fe80::3 link-local
[R3-GigabitEthernet0/0/1]quit
[R3]interface GigabitEthernet 0/0/0
[R3-GigabitEthernet0/0/0]ipv6 enable
[R3-GigabitEthernet0/0/0]ipv6 address 2001:DB8:ACAD:12::2 64
[R3-GigabitEthernet0/0/0]ipv6 address fe80::3 link-local
[R3-GigabitEthernet0/0/0]quit

Etape 3 : Vérification de la connectivité

Vérifier la connectivité du PC1 avec toutes les interfaces de R1. Faites de


même avec les 2 autres PCs et les routeurs auxquels ils sont reliés.
PC>ping 2001:DB8:ACAD:13::1

Ping 2001:db8:acad:13::1: 32 data bytes, Press Ctrl_C to break


From 2001:db8:acad:13::1: bytes=32 seq=1 hop limit=64 time=16 ms
From 2001:db8:acad:13::1: bytes=32 seq=2 hop limit=64 time=16 ms
From 2001:db8:acad:13::1: bytes=32 seq=3 hop limit=64 time=16 ms
From 2001:db8:acad:13::1: bytes=32 seq=4 hop limit=64 time=31 ms
From 2001:db8:acad:13::1: bytes=32 seq=5 hop limit=64 time=15 ms

Vérifier la connectivité de R1 avec l’interface G0/0/0 de R2.


[R1]ping ipv6 2001:DB8:ACAD:12::2
PING 2001:DB8:ACAD:12::2 : 56 data bytes, press CTRL_C to break
Reply from 2001:DB8:ACAD:12::2
bytes=56 Sequence=1 hop limit=64 time = 60 ms
Reply from 2001:DB8:ACAD:12::2
bytes=56 Sequence=2 hop limit=64 time = 40 ms
Reply from 2001:DB8:ACAD:12::2
bytes=56 Sequence=3 hop limit=64 time = 50 ms
Reply from 2001:DB8:ACAD:12::2
bytes=56 Sequence=4 hop limit=64 time = 40 ms
Reply from 2001:DB8:ACAD:12::2
bytes=56 Sequence=5 hop limit=64 time = 40 ms

--- 2001:DB8:ACAD:12::2 ping statistics ---


5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 40/46/60 ms

Etape 4 : Affichage de la table de routage

Affichez la table de routage de R1, R2 et R3 avec la commande display ipv6


routing-table.
[R1]display ipv6 routing-table
Routing Table : Public
Destinations : 8 Routes : 8

Destination : ::1 PrefixLength : 128


NextHop : ::1 Preference : 0
Cost : 0 Protocol : Direct
RelayNextHop : :: TunnelID : 0x0
Interface : InLoopBack0 Flags : D

Destination : 2001:DB8:ACAD:A:: PrefixLength : 64


NextHop : 2001:DB8:ACAD:A::1 Preference : 0
Cost : 0 Protocol : Direct
RelayNextHop : :: TunnelID : 0x0
Interface : GigabitEthernet0/0/2 Flags : D

Destination : 2001:DB8:ACAD:A::1 PrefixLength : 128


NextHop : ::1 Preference : 0
Cost : 0 Protocol : Direct
RelayNextHop : :: TunnelID : 0x0
Interface : GigabitEthernet0/0/2 Flags : D

Destination : 2001:DB8:ACAD:12:: PrefixLength : 64


NextHop : 2001:DB8:ACAD:12::1 Preference : 0
Cost : 0 Protocol : Direct
RelayNextHop : :: TunnelID : 0x0
Interface : GigabitEthernet0/0/0 Flags : D

Destination : 2001:DB8:ACAD:12::1 PrefixLength : 128


NextHop : ::1 Preference : 0
Cost : 0 Protocol : Direct
RelayNextHop : :: TunnelID : 0x0
Interface : GigabitEthernet0/0/0 Flags : D

Destination : 2001:DB8:ACAD:13:: PrefixLength : 64


NextHop : 2001:DB8:ACAD:13::1 Preference : 0
Cost : 0 Protocol : Direct
RelayNextHop : :: TunnelID : 0x0
Interface : GigabitEthernet0/0/1 Flags : D

Destination : 2001:DB8:ACAD:13::1 PrefixLength : 128


NextHop : ::1 Preference : 0
Cost : 0 Protocol : Direct
RelayNextHop : :: TunnelID : 0x0
Interface : GigabitEthernet0/0/1 Flags : D

Destination : FE80:: PrefixLength : 10


NextHop : :: Preference : 0
Cost : 0 Protocol : Direct
RelayNextHop : :: TunnelID : 0x0
Interface : NULL0 Flags : D
Etape 5 : Configuration de routes statiques

Configurez une route statique au niveau de R1 qui permet d’arriver à PC2.


[R1]ipv6 route-static 2001:DB8:ACAD:B::B 64 2001:DB8:ACAD:12::2

Vérifiez la connectivité de R1 avec PC2.


[R1]ping ipv6 2001:DB8:ACAD:B::B
PING 2001:DB8:ACAD:B::B : 56 data bytes, press CTRL_C to break
Reply from 2001:DB8:ACAD:B::B
bytes=56 Sequence=1 hop limit=254 time = 110 ms
Reply from 2001:DB8:ACAD:B::B
bytes=56 Sequence=2 hop limit=254 time = 110 ms
Reply from 2001:DB8:ACAD:B::B
bytes=56 Sequence=3 hop limit=254 time = 60 ms
Reply from 2001:DB8:ACAD:B::B
bytes=56 Sequence=4 hop limit=254 time = 80 ms
Reply from 2001:DB8:ACAD:B::B
bytes=56 Sequence=5 hop limit=254 time = 60 ms

--- 2001:DB8:ACAD:B::B ping statistics ---


5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 60/84/110 ms

Afficher la table de routage de R1.


<R1>display ipv6 routing-table
Routing Table : Public
Destinations : 9 Routes : 9

Destination : ::1 PrefixLength : 128


NextHop : ::1 Preference : 0
Cost : 0 Protocol : Direct
RelayNextHop : :: TunnelID : 0x0
Interface : InLoopBack0 Flags : D

Destination : 2001:DB8:ACAD:A:: PrefixLength : 64


NextHop : 2001:DB8:ACAD:A::1 Preference : 0
Cost : 0 Protocol : Direct
RelayNextHop : :: TunnelID : 0x0
Interface : GigabitEthernet0/0/2 Flags : D

Destination : 2001:DB8:ACAD:A::1 PrefixLength : 128


NextHop : ::1 Preference : 0
Cost : 0 Protocol : Direct
RelayNextHop : :: TunnelID : 0x0
Interface : GigabitEthernet0/0/2 Flags : D

Destination : 2001:DB8:ACAD:B:: PrefixLength : 64


NextHop : 2001:DB8:ACAD:12::2 Preference : 60
Cost : 0 Protocol : Static
RelayNextHop : :: TunnelID : 0x0
Interface : GigabitEthernet0/0/0 Flags : RD

Vérifiez la connectivité de PC1 à PC2.


PC>ping 2001:DB8:ACAD:B::B

Ping 2001:db8:acad:b::b: 32 data bytes, Press Ctrl_C to break


Request timeout!
Request timeout!
Request timeout!
Request timeout!
Request timeout!

--- 2001:db8:acad:b::b ping statistics ---


5 packet(s) transmitted
0 packet(s) received
100.00% packet loss

 Le ping ne marche pas malgré avoir rajouté une route statique au niveau de R1
permettant d’atteindre PC2.

 Il faut rajouter une route statique au niveau de R2 pour pouvoir atteindre PC1.

[R2]ipv6 route-static 2001:DB8:ACAD:A::A 64 2001:DB8:ACAD:12::1

Vérifiez maintenant la connectivité de PC1 et PC2.


PC>ping 2001:DB8:ACAD:B::B

Ping 2001:db8:acad:b::b: 32 data bytes, Press Ctrl_C to break


From 2001:db8:acad:b::b: bytes=32 seq=1 hop limit=253 time=94 ms
From 2001:db8:acad:b::b: bytes=32 seq=2 hop limit=253 time=78 ms
From 2001:db8:acad:b::b: bytes=32 seq=3 hop limit=253 time=63 ms
From 2001:db8:acad:b::b: bytes=32 seq=4 hop limit=253 time=63 ms
From 2001:db8:acad:b::b: bytes=32 seq=5 hop limit=253 time=62 ms

--- 2001:db8:acad:b::b ping statistics ---


5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 62/72/94

Faites de même pour assurer la connectivité entre PC1 et PC3 puis entre PC2
et PC3.

You might also like