- Configuring IPv6 addressing
has become a staple of the CCNA,
even if it's not quite in every network yet.
IPv6 addressing configuration is done
in much the same fashion as IPv4 addressing.
Once in Global Configuration mode,
I'll enter inner interface configuration mode.
Config t, Interface gig 01.
I'll now differentiate it from IPv4
by starting the command with IPv6.
I P V
six, address 2001, colon, colon, two slash 64.
As with any interface, it won't route back unless
its up. So I'll, no shut the port.
Now time for some verification.
I'll go back into pre-lim exec mode,
and I'll clear the screen again to make things simpler.
Show IPv6, interface, brief command, will display
the interface along with the configured IPv6 addresses.
But it won't show the prefixes.
The show IPv6
interface
command
gives much more detail
including the IPv6 addresses, with their
prefixes, and specific interface configuration,
along with multicast groups the interfaces are joined to.
Another quick configuration verification command is
show run interface gig 0 1.
Which will show the running configuration portion
specific to this interface.
Another quick IPv6 test will be to try and ping
another address on the same subnet.
In this case, I have a router in 2001 colon colon one,
so the command looks like:
Ping, 2001 colon colon one or,
ping IPv6 2001 colon colon one.
In the previous example, I demonstrated
configuring a full 120 bit address.
Though there is another way to assign a predictable
stable address.
Extended Unique Identifier 64 or EUI-64
allows an administrator to use a similar IP address command
that specifies the 64-bit subnet to be used and the EUI-64
process would then auto-generate the host portion for
complete IPv6 address, EUI-64 builds the
interface ID via three rule:
first, take the MAC address of the interface
and split it in half.
Second, insert FFFE between the two parts of the split
MAC address.
Last, invert the seventh bit of the interface ID.
Take this address as an example.
It is split in half, FFFE is inserted, pretty simple.
Now to flip the seventh bit by taking the first two
hex digits in the number and invert them to decimal.
Now I'll flip the 1 and 0 and convert them back to hex
the actual command is fairly simple.
Config - t, interface, gig zero one, now I'll type
IPv6 address and I'll add this slash 64 subnet.
2001 colon colon slash 64 and
add the EUI-64 to the in.
I'll now verify the configuration.
Show Ipv6 interface. I can now see that
under global unit
cast address, I have my EUI-64 auto generated.
It even supplies the subnet and tags it as EUI.
The above two commands static IP and EUI-64 will produce
a consistent IP address for which network infrastructure,
its the best practice.
Sometimes, being able to pull a dynamic IP address
is required, like when terminating a DSL or cable modem
connection.
Cisco kit can pull a dynamic IP either via stateful DHCP
or Stateless Address Autoconfiguration.
DHCP configuration is simply IPv6 address DHCP,
where SLAAC is done via IPv6 address autoconfiguration.
Adding an IPv6 address is your gateway to the next
generation of addressing, so be sure
to practice.