10.3 IPv6
IPv6 is the tcp/IP protocol that is meant to replace IPv4. With IPv4 you can have 3.7 billion addresses with IPv6 you can have ALOT more.
If you want to know how ipv6 works chapter 12 page 602.
Some other sources:
To have IPv6 connectivity we will need to configure an interface on both the server and the client.
IP |
Machine |
|---|---|
fe80:fe2a:badb:abe::11 |
vm01 |
fe80:fe2a:badb:abe::21 |
vm02 |
fe80:fe2a:badb:abe::31 |
vm03 |
fe80:fe2a:badb:abe::41 |
vm04 |
fe80:fe2a:badb:abe::51 |
vm05 |
fe80:fe2a:badb:abe::61 |
vm06 |
fe80:fe2a:badb:abe::71 |
vm07 |
fe80:fe2a:badb:abe::81 |
vm08 |
fe80:fe2a:badb:abe::91 |
vm09 |
fe80:fe2a:badb:abe::101 |
vm10 |
fe80:fe2a:badb:abe::111 |
vm11 |
fe80:fe2a:badb:abe::121 |
vm12 |
fe80:fe2a:badb:abe::131 |
vm13 |
Make sure you use your own IP similiar to the IPv4 addresses, for example vm15:
vm
fe80:fe2a:badb:abe::151/64
Lets give interface ens5 (name might be backup from previous chapter), an IPv6 address and change the connection method to static:
nmcli connection modify backup ipv6.addresses fe80:fe2a:badb:abe::[your ip]/64
ipv6.method static
Because the current IPv6 setting is set on ignore we must change the connection method togheter with changing the IP
Lets bring up ens5:
nmcli con up backup
Lets see if you can ping your own interface:
ping6 fe80:fe2a:badb:abe::[your ip]
Let’s see if you can ping vm15:
ping6 fe80:fe2a:badb:abe::151