General Information
IPv6 configuration using nmcli. (Network Manager CLI)
You will be provided IPv6 addresses to use if asked to configure them during the exam.
The following virtual machines will be used:
Finding help in this section.
man nmcli-examples
General information about IPv6.
IPv4 | IPv6 | |
---|---|---|
Total Bits | 32 | 128 |
Possible Addresses | 4 billion | 2 to the power of 128 |
Format | 4 groups of 8 bit decimals | 8 groups of 16 bit hexadecimal |
Default router | n/a | ::/0 (used in routing tables) |
Localhost address | 127.0.0.1/8 | ::1/128 |
All addresses | 0.0.0.0 | :: |
Multicast | 224.0.0.0/4 | ff00::/8 |
Non-routable addresses | 10.0.0.0/8 (1 example) | fc00::/7 (unique local) |
Link local address | n/a | fe80::/64 |
Configure IPv6 on an existing interface
nmcli con mod eth1 ipv6.method manual ipv6.addresses fddb:fe2a:ab1e::c0a8:61/64
nmcli con mod eth1 ipv6.method manual ipv6.addresses fddb:fe2a:ab1e::c0a8:62/64
Bring interface up
nmcli con up eth1
From server1; Ping the IPv6 configured address that is configured on server2
ping6 fddb:fe2a:ab1e::c0a8:62
Show the IPv6 routing table
ip -6 route show