lab - configuring an ipv6 network - computer science at rpikotfid/pd/ipv6_intro_lab.pdf · ·...
TRANSCRIPT
Lab - Configuring an IPv6 Network
Topology
Addressing Table
Device Interface IPv6 AddressPrefixLength Default Gateway
R1
G0/12001:DB8:ACAD:1::1 64 N/A
FE80::1 - N/A
S0/0/02001:DB8:ACAD:A::1 64 N/A
FE80::1 - N/A
R2
S0/0/02001:DB8:ACAD:A::2 64 N/A
FE80::2 - N/A
S0/0/12001:DB8:ACAD:B::2 64 N/A
FE80::2 - N/A
R3
G0/12001:DB8:ACAD:3::1 64 N/A
FE80::3 - N/A
S0/0/12001:DB8:ACAD:B::1 64 N/A
FE80::3 - N/A
PC-A NIC 2001:DB8:ACAD:1::3 64 FE80::1
PC-B NIC 2001:DB8:ACAD:3::3 64 FE80::3
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 1 of 3
Lab - Configuring IPv6 Addresses on Network Devices
Part 1: Configure IPv6 Addresses Manually
Step 1: Configure IPv6 on R1.
a. Enable IPv6 routing with the ipv6 unicast-routing command on R1.
R1 # configure terminal
R1(config)# ipv6 unicast-routing
R1(config)# exit
b. Configure the addressing on G0/1 & S0/0/0 according to the addressing chart above.
R1 # configure terminal
R1(config)# interface G0/1
R1(config-if)# ipv6 address 2001:db8:acad:1::1/64
R1(config-if)# ipv6 address fe80::1 link-local
R1(config-if)# no shutdown
R1(config-if)# interface s0/0/0
R1(config-if)# ipv6 address 2001:db8:acad:a::1/64
R1(config-if)# ipv6 address fe80::1 link-local
R1(config-if)# no shutdown
R1(config-if)# exit
Step 2: Configure IPv6 on R2 & R3.
a. Configure R2 & R3 according to the addressing table above.
Step 3: Configure IPv6 on PC1 & PC3 .
a. On PC1, open the IP configuration from the desktop tab. Set the IPv6 address & the default gateway according to the addressing table. Notice the IPv6 Link Local address and how it relates back to the MAC address for the interface.
Part 2: Configure Static Routing on R1, R2 & R3
Step 1: R1 & R3 can use a default static route pointing to R2.
a. A default static route in IPv6 is just ::/0 (Since all hextets are zero, we can condense it)
R1 # configure terminal
R1(config)# ipv6 route ::/0 s0/0/0
b. Verify the routes with the show ipv6 route command on R1 & R3.
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 2 of 3
Lab - Configuring IPv6 Addresses on Network Devices
Step 2: R2 will need to have 2 routes pointing to the LANs attached to R1 & R3.
a. Static routes in IPv6 are similar to IPv4.
R2 # configure terminal
R2(config)# ipv6 route 2001:db8:acad:1::/64 s0/0/0
R2(config)# ipv6 route 2001:db8:acad:3::/64 s0/0/1
Step 3: Assign static IPv6 addresses to the PCs.
a. Open each PC and go to the Desktop tab and select IP configuration. Enter the IPv6 address as well as the default gateway address. For the gateway we will use the routers link-local address for the LAN for simplicity.
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 3 of 3