linux_wiki:configure_ipv6_addresses_and_perform_basic_ipv6_troubleshooting

Configure Ipv6 Addresses And Perform Basic Ipv6 Troubleshooting

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.


Lab Setup

The following virtual machines will be used:

  • server1.example.com (192.168.1.150) → Configure an ipv6 interface
  • server2.example.com (192.168.1.151) → Configure an ipv6 interface

Help

Finding help in this section.

  • nmcli examples
    man nmcli-examples

IPv6 General Info

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
  • IPv6 standard subnet mask: /64

IPv6 Connections


Configure IPv6 on an existing interface

  • server1
    nmcli con mod eth1 ipv6.method manual ipv6.addresses fddb:fe2a:ab1e::c0a8:61/64
  • server2
    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

  • linux_wiki/configure_ipv6_addresses_and_perform_basic_ipv6_troubleshooting.txt
  • Last modified: 2019/05/25 23:50
  • (external edit)