We can view the IPv6 address generated by using EUI-64 from the output of the show ipv6 interface brief command:įor the other part of the task, we need to enable IPv6 routing on R1 so that it can send router advertisement messages and also respond to router solicitation messages: ipv6 unicast-routing This task is twofold: the first part deals with creating an IPv4 address using the EUI-64 format and the other part focuses on a host using SLAAC to automatically configure an IP address for itself.įor the first part, when assigning an IPv6 address to a router interface, you can specify an IPv6 prefix and then instruct the router to use the EUI-64 format to generate an interface ID. With this configuration, if we check R1’s IPv6 addresses, we will see one from the 2001:db8:2:aaaa::/64 prefix: Hint: You may need to shut/no-shut R1’s Fa0/1 interface to receive the autoconfig address. Therefore, on R2, we need to enable IPv6 routing by using the following configuration: ipv6 unicast-routing By default, IPv6 routing is not enabled on Cisco routers (unlike IPv4 routing, which is enabled by default) and without enabling IPv6 routing, a Cisco router will not send IPv6 router advertisement messages or respond to router solicitation messages. The command to enable SLAAC on a Cisco router is ipv6 address autoconfig, therefore, we need the following configuration on R1: interface FastEthernet0/1Īlthough you have the necessary configuration on R1, there is still more to done on R2. We can confirm the IPv6 address configured on the interface by using the show ipv6 interface brief command:Īnother way we can assign an IPv6 address is through stateless address autoconfiguration (SLAAC), where a device automatically generates an IPv6 address for its interface from router advertisement messages that it receives. Notice how I used “0:0:0” to represent the part covered by the general prefix (2001:db8:2) we could have used any other hex character. The configuration below shows what I mean: ipv6 general-prefix GP 2001:DB8:2::/48 When using a general prefix in an IPv6 address assignment, you can use any hexadecimal character to represent the general prefix part, since it will be ignored. We can create general prefixes that can be referenced during address assignment and they make renumbering easier-change a general prefix and the IPv6 addresses that reference this general prefix will also change. Note: I wasn’t able to ping a link-local IPv6 address from the router in Packet Tracer even though it works on a real device – you will only need to specify a source interface. Therefore, let’s verify connectivity between them by pinging from Host1: Since this interface and Host1 are on the same link, we should have connectivity between the two devices. With IPv6 enabled on that interface, a link-local IPv6 address will automatically be generated, as shown in the output of the show ipv6 interface brief command below: Since this task specifically states that we should not manually assign an IPv6 address, we will use the ipv6 enable command. There are two ways to enable IPv6 on an interface: by using the ipv6 enable interface configuration command or by configuring an IPv6 address on that interface. Ensure that Host1 automatically configures an IPv6 address for itself from this prefix (2001:db8:1:aaaa::/64). Configure an IPv6 address from the 2001:db8:1:aaaa::/64 prefix on R1’s Fa0/0 interface using EUI-64 to form the interface ID.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |