Sie sind auf Seite 1von 8

NetworkPlus Training Center

HCIA Lab
Version 1.0

By: Ismail Ibrahim


IPV6 Static & Dynamic Routing
Lab# 10
IPV6 Static & Dynamic Routing
Objective
As a result of this lab section, you should achieve the
following tasks:
• Configuration of basic IPv6 addressing.
• Configuration of IPV6 static & default route.
• Configuration of the RIPng routing protocol.
• Configuration of the OSPFv3 routing protocol.
• Verification of the results using IPv6 display commands.
• Configuration of DHCPv6 server functions.
Tasks
Topology:

Step 1 Configure ipv6 addressing & static, default route.


AR1 configuration.

[AR1]ipv6

[AR1]interface g0/0/0

[AR1-GigabitEthernet0/0/0]ipv6 enable

[AR1-GigabitEthernet0/0/0]ipv6 address 2001:2::1/64

[AR1-GigabitEthernet0/0/0]quit

[AR1-GigabitEthernet0/0/0]interface g0/0/1

[AR1-GigabitEthernet0/0/1]ipv6 enable

[AR1-GigabitEthernet0/0/1]ipv6 address 2001:1::1/64

[AR1]ipv6 route-static 2001:3:: 64 2001:2::2

[AR1]ipv6 route-static :: 128 2001:2::2


Step 2 Configure ipv6 addressing & static, default route.
AR2 configuration.

[AR2]ipv6

[AR2]interface g0/0/0

[AR2-GigabitEthernet0/0/0]ipv6 enable

[AR2-GigabitEthernet0/0/0]ipv6 address 2001:2::2/64

[AR2-GigabitEthernet0/0/0]quit

[AR2-GigabitEthernet0/0/0]interface g0/0/1

[AR2-GigabitEthernet0/0/1]ipv6 enable

[AR2-GigabitEthernet0/0/1]ipv6 address 2001:3::1/64

[AR2]ipv6 route-static 2001:1:: 64 2001:2::1

Ping between PC1/PC2 should work.


Step 3 Remove the static route and configure RIPng on AR1/AR2.
On AR1.

[AR1]undo ipv6 route-static 2001:3:: 64 2001:2::2

[AR1]undo ipv6 route-static :: 128 2001:2::2

[AR1]interface g0/0/0

[AR1-GigabitEthernet0/0/0]ripng 1 enable

[AR1-GigabitEthernet0/0/0]quit

[AR1]interface g0/0/1

[AR1-GigabitEthernet0/0/1]ripng 1 enable

On AR2.

[AR2]undo ipv6 route-static 2001:1:: 64 2001:2::1


[AR2]interface g0/0/0

[AR2-GigabitEthernet0/0/0]ripng 1 enable

[AR2-GigabitEthernet0/0/0]quit

[AR2]interface g0/0/1

[AR2-GigabitEthernet0/0/1]ripng 1 enable

On AR1 check the ipv6 routing table.

[AR1]display ipv6 routing-table

Routing Table : Public

Destinations : 7 Routes : 7

Destination : 2001:3:: PrefixLength : 64

NextHop : FE80::2E0:FCFF:FEA8:C7E Preference : 100

Cost : 1 Protocol : RIPng

RelayNextHop : :: TunnelID : 0x0

Interface : GigabitEthernet0/0/0 Flags : D

Step 4 Disable RIPng on all interfaces and enable OSPFV3.

[AR1]ospfv3 1

[AR1-ospfv3-1]router-id 1.1.1.1

[AR1]interface g0/0/0

[AR1-GigabitEthernet0/0/0]undo ripng

[AR1-GigabitEthernet0/0/0]ospfv3 1 area 0

[AR1-GigabitEthernet0/0/0]quit

[AR1]interface g0/0/1

[AR1-GigabitEthernet0/0/1]undo ripng

[AR1-GigabitEthernet0/0/1]ospfv3 1 area 0
AR2 configuration.

[AR2]ospfv3 1

[AR2-ospfv3-1]router-id 2.2.2.2

[AR2]interface g0/0/0

[AR2-GigabitEthernet0/0/0]undo ripng

[AR2-GigabitEthernet0/0/0]ospfv3 1 area 0

[AR2-GigabitEthernet0/0/0]quit

[AR2]interface g0/0/1

[AR2-GigabitEthernet0/0/1]undo ripng

[AR2-GigabitEthernet0/0/1]ospfv3 1 area 0

On AR1 check the ipv6 routing table.

[AR1]display ipv6 routing-table

Routing Table : Public

Destinations : 7 Routes : 7

Destination : 2001:3:: PrefixLength : 64

NextHop : FE80::2E0:FCFF:FEA8:C7E Preference : 10

Cost : 2 Protocol : OSPFv3

RelayNextHop : :: TunnelID : 0x0

Interface : GigabitEthernet0/0/0 Flags : D

Teste the ping between PC1/PC2.


Step 5 Enable DHCPV6 server on AR1.

[AR1]dhcp enable

Warning: The DHCP unique identifier should be globally-unique and stable.


Are you sure to change it? [Y/N]y

[AR1]dhcpv6 pool v6

[AR1-dhcpv6-pool-pool1]address prefix 2001::/64

[AR1-dhcpv6-pool-pool1]dns-server 2001::1

[AR1-dhcpv6-pool-pool1]excluded-address 2001::1

[AR1-dhcpv6-pool-pool1]quit

[AR1]interface GigabitEthernet 0/0/0

[AR1-GigabitEthernet0/0/0]ipv6 address 2001::1 64

[AR1-GigabitEthernet0/0/0]dhcpv6 server v6

PC1 should allocate its ipv6 address from a DHCPv6 server.

Das könnte Ihnen auch gefallen