Setting Up a Simple IPv6 Network Using Cisco Packet Tracer

 

Experiment: Setting Up a Simple IPv6 Network Using Cisco Packet Tracer



1. Aim

To design and configure a simple IPv6 network using Cisco Packet Tracer, assign IPv6 addresses to PCs and router interfaces, configure IPv6 routing, and verify communication between two different IPv6 networks.


2. Objectives

After completing this experiment, students will be able to:

  1. Create a basic IPv6 network in Cisco Packet Tracer.
  2. Configure IPv6 addresses on PCs.
  3. Configure IPv6 addresses on router interfaces.
  4. Enable IPv6 packet forwarding on a Cisco router.
  5. Configure IPv6 default gateways.
  6. Verify IPv6 interface configuration.
  7. Examine the IPv6 routing table.
  8. Test connectivity between IPv6 hosts using ping.
  9. Understand how a router connects two different IPv6 networks.

3. Network Topology

Use the topology shown in your figure:

                     ┌──────────────┐
                     │    Router0   │
                     │    Cisco 2901│
                     └──────┬───┬───┘
                            │   │
                   G0/0     │   │     G0/1
                            │   │
                 ┌──────────┘   └──────────┐
                 │                         │
             ┌───┴───┐                 ┌───┴───┐
             │Switch0│                 │Switch1│
             │ 2960  │                 │ 2960  │
             └───┬───┘                 └───┬───┘
                 │                         │
              ┌──┴──┐                   ┌──┴──┐
              │ PC0  │                   │ PC1 │
              └──────┘                   └─────┘

          IPv6 LAN 1                 IPv6 LAN 2
     2001:DB8:1::/64             2001:DB8:2::/64

4. Devices Required

DeviceQuantity
Cisco 2901 Router        1
Cisco 2960 Switch    2
PC-PT    2
Copper Straight-Through Cable    4

5. IPv6 Addressing Scheme

We will use two different /64 IPv6 networks.

Network 1

2001:DB8:1::/64

Network 2

2001:DB8:2::/64

The complete addressing plan is:

Device    Interface    IPv6 AddressPrefix LengthDefault Gateway
Router0    G0/0    2001:DB8:1::1/64—
PC0    NIC    2001:DB8:1::10/642001:DB8:1::1
Router0    G0/1    2001:DB8:2::1/64—
PC1    NIC    2001:DB8:2::10/642001:DB8:2::1

Conceptually

Network 1
2001:DB8:1::/64

PC0
2001:DB8:1::10
       |
       |
Router G0/0
2001:DB8:1::1
       |
     ROUTER
       |
Router G0/1
2001:DB8:2::1
       |
       |
PC1
2001:DB8:2::10

Network 2
2001:DB8:2::/64

6. Important IPv6 Concept

Unlike the simple Ethernet network experiment, PC0 and PC1 are not in the same network.

PC0 belongs to:

2001:DB8:1::/64

PC1 belongs to:

2001:DB8:2::/64

Therefore, they need a router to communicate.

The router has an interface in each network:

G0/0 → 2001:DB8:1::/64

G0/1 → 2001:DB8:2::/64

Because these networks are directly connected to the router, no static routing configuration is required in this experiment.


7. Create the Topology

Task 1 – Place the devices

From the Packet Tracer device list, place:

  • 1 × 2911/2901 Router
  • 2 × 2960-24TT Switch
  • 2 × PC-PT

Arrange them approximately as shown in  figure.




8. Connect the Devices

Use Copper Straight-Through cables.

PC0 to Switch0

PC0 FastEthernet0
        ↓
Switch0 FastEthernet0/1

Switch0 to Router0

Switch0 FastEthernet0/24
        ↓
Router0 GigabitEthernet0/0

PC1 to Switch1

PC1 FastEthernet0
        ↓
Switch1 FastEthernet0/1

Switch1 to Router0

Switch1 FastEthernet0/24
        ↓
Router0 GigabitEthernet0/1

Your topology should now look similar to:

                    Router0
                   /       \
              G0/0           G0/1
                /               \
           Switch0             Switch1
              |                   |
             PC0                 PC1

Wait for the link indicators to turn green.


9. Configure Router0

Click:

Router0 → CLI

You should see:

Router>

Task 2 – Enter privileged mode

enable

The prompt changes to:

Router#

10. Enter Global Configuration Mode

configure terminal

The prompt becomes:

Router(config)#

11. Enable IPv6 Routing

This is an important step.

Enter:

ipv6 unicast-routing

Why is this required?

The router must be able to forward IPv6 packets from one network to another.

Without:

ipv6 unicast-routing

the router will not perform normal IPv6 packet forwarding.


12. Configure Router Interface G0/0

This interface connects Router0 to Switch0 / PC0 network.

Enter:

interface gigabitEthernet 0/0

Assign the IPv6 address:

ipv6 address 2001:DB8:1::1/64

Enable the interface:

no shutdown

Exit:

exit

The complete configuration is:

interface gigabitEthernet 0/0
ipv6 address 2001:DB8:1::1/64
no shutdown
exit

13. Configure Router Interface G0/1

This interface connects Router0 to Switch1 / PC1 network.

Enter:

interface gigabitEthernet 0/1

Configure:

ipv6 address 2001:DB8:2::1/64

Enable the interface:

no shutdown

Exit:

exit

So the configuration is:

interface gigabitEthernet 0/1
ipv6 address 2001:DB8:2::1/64
no shutdown
exit

14. Save the Router Configuration

Enter:

end

Then:

copy running-config startup-config

When Packet Tracer asks:

Destination filename [startup-config]?

Press Enter.


15. Verify Router Interfaces

Enter:

show ipv6 interface brief

You should see something similar to:

GigabitEthernet0/0    [up/up]
    2001:DB8:1::1

GigabitEthernet0/1    [up/up]
    2001:DB8:2::1

The important part is:

up/up

This indicates that the interface and line protocol are operational.


16. Configure PC0

Click:

PC0 → Desktop → IP Configuration

Under IPv6 Configuration, enter:

IPv6 Address

2001:DB8:1::10

Prefix Length

64

Default Gateway

2001:DB8:1::1

So PC0 is:

ParameterValue
IPv6 Address    2001:DB8:1::10
Prefix Length    64
Default Gateway    2001:DB8:1::1

17. Configure PC1

Click:

PC1 → Desktop → IP Configuration

Enter:

IPv6 Address

2001:DB8:2::10

Prefix Length

64

Default Gateway

2001:DB8:2::1

So:

ParameterValue
IPv6 Address2001:DB8:2::10
Prefix Length64
Default Gateway2001:DB8:2::1

18. Test PC0 → Router

Open:

PC0 → Desktop → Command Prompt

Enter:

ping 2001:DB8:1::1

This tests:

PC0 → Switch0 → Router0 G0/0

Expected result:

Reply from 2001:DB8:1::1

19. Test PC1 → Router

On PC1:

ping 2001:DB8:2::1

Expected:

Reply from 2001:DB8:2::1

20. Test PC0 → PC1

This is the main experiment test.

From PC0:

ping 2001:DB8:2::10

The packet should travel:

PC0
 ↓
Switch0
 ↓
Router0 G0/0
 ↓
Router0 G0/1
 ↓
Switch1
 ↓
PC1

Expected result:

Reply from 2001:DB8:2::10

Thus, the two IPv6 networks are communicating successfully through the router.


21. Test PC1 → PC0

To verify two-way communication, go to PC1:

ping 2001:DB8:1::10

Expected:

Reply from 2001:DB8:1::10

22. Examine the IPv6 Routing Table

Go to Router0 CLI.

Enter:

show ipv6 route

You should see routes similar to:

C   2001:DB8:1::/64
C   2001:DB8:2::/64

You may also see local routes beginning with L.

For example:

C   2001:DB8:1::/64
L   2001:DB8:1::1/128

C   2001:DB8:2::/64
L   2001:DB8:2::1/128

23. Understand the Routing Table

The letter:

C

means:

Connected

This means that the router has an interface directly connected to that IPv6 network.

For example:

C 2001:DB8:1::/64

means:

Router0 has a directly connected interface belonging to 2001:DB8:1::/64.

Similarly:

C 2001:DB8:2::/64

means:

Router0 has a directly connected interface belonging to 2001:DB8:2::/64.

This is why we do not need static routes in this particular experiment.


24. Check Detailed IPv6 Interface Information

Use:

show ipv6 interface gigabitEthernet 0/0

and:

show ipv6 interface gigabitEthernet 0/1

Students should identify:

  • IPv6 address
  • Prefix
  • Interface status
  • Link-local address
  • Multicast groups

25. Check All IPv6 Interfaces

Use:

show ipv6 interface brief

This is one of the most useful commands for IPv6 troubleshooting.


26. Trace the IPv6 Path

From PC0:

tracert 2001:DB8:2::10

The result should show the router as the intermediate hop.

Conceptually:

PC0
 |
 | IPv6 packet
 ↓
Router0
 |
 | IPv6 packet
 ↓
PC1

This demonstrates the role of the router in forwarding IPv6 packets between different networks.


27. Observation Table

Students can record their results in the following table.

Sl. No.SourceDestinationCommandResult
1PC0Router0 G0/0ping 2001:DB8:1::1Successful
2PC1Router0 G0/1ping 2001:DB8:2::1Successful
3PC0PC1ping 2001:DB8:2::10Successful
4PC1PC0ping 2001:DB8:1::10Successful
5PC0PC1tracert 2001:DB8:2::10Successful

28. Complete Router Configuration

For student reference, the complete Router0 configuration is:

enable
configure terminal

ipv6 unicast-routing

interface gigabitEthernet 0/0
ipv6 address 2001:DB8:1::1/64
no shutdown
exit

interface gigabitEthernet 0/1
ipv6 address 2001:DB8:2::1/64
no shutdown
exit

end

copy running-config startup-config

No ipv6 route command is required because both networks are directly connected to Router0.


29. Troubleshooting

Problem 1: PC0 cannot ping Router0

Check Router0:

show ipv6 interface brief

Make sure G0/0 is:

up/up

If necessary:

configure terminal
interface gigabitEthernet 0/0
no shutdown

Problem 2: PC1 cannot ping Router0

Check:

show ipv6 interface brief

Make sure G0/1 is:

up/up

Problem 3: PC0 can ping Router0 but not PC1

Check PC0:

IPv6 Address:
2001:DB8:1::10

Prefix:
64

Gateway:
2001:DB8:1::1

Check PC1:

IPv6 Address:
2001:DB8:2::10

Prefix:
64

Gateway:
2001:DB8:2::1

Also verify:

show ipv6 route

on Router0.

You should have:

C 2001:DB8:1::/64
C 2001:DB8:2::/64

30. Key Learning Points

Students should understand the following after completing the experiment:

1. IPv6 addresses are 128 bits

Example:

2001:DB8:1::10

2. /64 identifies the network prefix

2001:DB8:1::/64

and

2001:DB8:2::/64

are two different IPv6 networks.


3. A router can connect different IPv6 networks

Router0 has:

G0/0 → 2001:DB8:1::/64

G0/1 → 2001:DB8:2::/64

4. IPv6 routing must be enabled

ipv6 unicast-routing

5. Directly connected networks appear automatically

show ipv6 route

will show:

C 2001:DB8:1::/64
C 2001:DB8:2::/64

6. No static route is necessary here

Because Router0 is directly connected to both networks.

This is an important point for students:

Static routing is required when the destination network is not directly connected to the router.


31. Result

The simple IPv6 network consisting of one Cisco 2901 router, two 2960 switches, and two PCs was successfully configured in Cisco Packet Tracer. IPv6 addresses were assigned to the router interfaces and PCs, IPv6 routing was enabled, the directly connected IPv6 networks were verified, and successful communication between PC0 and PC1 was established using IPv6.

Comments

Popular posts from this blog

Networks Lab PCCSL507 Semester 5 KTU CS 2024 Scheme - Dr Binu V P

Study of whois Command

Study and Use of ifconfig Command