This example is designed for you to practice basic IPv6 commands in IOS. You will also know the new fashion to start a routing protocol in IPv6.
Note: Packet Tracer 4.X does not support IPv6. Please use version 5.X and later to practice IPv6.
To simplify your task, I configured all the necessary IPv4/IPv6 addresses on the interfaces. You can just begin to observe and verify!
interface FastEthernet0/0
ip address 10.1.1.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
ipv6 address 2001:1:1:1::1/64
!
interface Serial0/0/0
ip address 10.2.2.1 255.255.255.0
ipv6 address 2001:2:2:2::1/64
clock rate 64000
!
You have to configure "routing protocol" yourself. To verify "Dual Stack", we will enable both IPv4 routing protocol and IPv6 routing protocol.
The IPv4 part (in this case, RIPv2) is very easy for you. Remember the basic two steps to start any IPv4 routing protocols in IOS:
- Use one "router X" command, to start one routing protocol process
- Use one or more "network Y" commands, to specify at which interfaces will this protocol being enabled
So the configuration is this:
router rip
version 2
network 10.0.0.0
no auto-summary
!
For this simple IPv4 addressing, it is not necessary to include an "no auto-summary" command. It is always a good habit to add "no auto-summary" in today's VLSM world.
As to IPv6 part (RIPng), steps are quite different from IPv4:
- We need to start the routing protocol process first. In addition, we also have to create a TAG name for it. This is because in IPv6 IOS supports multiple instances on routing protocols
- Go directly to interface configuration mode to assign which "routing instance" to be enabled on this interface.
interface FastEthernet0/1
no ip address
duplex auto
speed auto
ipv6 address 2001:1:1:1::1/64
ipv6 rip CCNA enable
!
interface Serial0/0/0
ip address 10.2.2.1 255.255.255.0
ipv6 address 2001:2:2:2::1/64
ipv6 rip CCNA enable
clock rate 64000
!
interface Serial0/0/1
no ip address
shutdown
!
ipv6 router rip CCNA
!
In fact, the tag name "CCNA" is only locally significant. You can play by using different tags on two routers and verify it yourself.