Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux_wiki:configure_ipv6_addresses_and_perform_basic_ipv6_troubleshooting [2016/08/08 22:49] billdozor [IPv6 Connections] |
linux_wiki:configure_ipv6_addresses_and_perform_basic_ipv6_troubleshooting [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 9: | Line 9: | ||
---- | ---- | ||
- | ====== | + | ====== |
- | Create new connection name | + | The following virtual machines will be used: |
- | <code bash> | + | * server1.example.com (192.168.1.150) -> Configure an ipv6 interface |
- | nmcli con add con-name eth1 type ethernet ifname eth1 | + | * server2.example.com (192.168.1.151) |
- | </code> | + | |
- | \\ | + | ---- |
- | Configure IPv4 | + | |
- | <code bash> | + | ====== Help ====== |
- | nmcli con mod eth1 ipv4.addresses | + | |
- | nmcli con mod eth1 ipv4.method manual | + | Finding help in this section. |
- | </code> | + | * nmcli examples<code bash>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 | ||
+ | ^ 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 | + | Configure IPv6 on an existing interface |
- | <code bash> | + | * server1<code bash> |
- | nmcli con mod eth1 ipv6.addresses fddb: | + | * server2< |
- | nmcli con mod eth1 ipv6.method manual | + | |
- | </ | + | |
\\ | \\ | ||
Line 34: | Line 54: | ||
<code bash> | <code bash> | ||
nmcli con up eth1 | nmcli con up eth1 | ||
+ | </ | ||
+ | |||
+ | ===== IPv6 Basic Troubleshooting ===== | ||
+ | |||
+ | From server1; Ping the IPv6 configured address that is configured on server2 | ||
+ | <code bash> | ||
+ | ping6 fddb: | ||
</ | </ | ||
\\ | \\ | ||
- | Ping the IPv6 configured address | + | Show the IPv6 routing table |
<code bash> | <code bash> | ||
- | ping6 -I eth1 fddb: | + | ip -6 route show |
</ | </ | ||
---- | ---- | ||