Difference between revisions of "IPv6"

From DWIKI
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
=IPv6 in general=
=IPv6 in general=


 
==IPv6 EUI-64 ==
*[https://medium.com/networks-security/ipv6-how-does-a-host-get-a-global-unicast-with-eui-64-method-5e4bdbfdfd21 IPv6- How does a host get a global unicast with EUI-64 method]
*[https://serverfault.com/questions/1045209/centos-disable-ipv6-slaac-eui-64-address-generation Disable EUI-64 address generation]


=Links=
=Links=
*[https://labs.ripe.net/author/philip_homburg/whats-the-deal-with-ipv6-link-local-addresses/ What’s the Deal with IPv6 Link-Local Addresses?]
*[https://labs.ripe.net/author/philip_homburg/whats-the-deal-with-ipv6-link-local-addresses/ What’s the Deal with IPv6 Link-Local Addresses?]
*[https://www.ciscopress.com/articles/article.asp?p=2803866&seqNum=4 IPv6 Address Representation and Address Types]
*[https://www.ciscopress.com/articles/article.asp?p=2803866&seqNum=4 IPv6 Address Representation and Address Types]
*[http://www.tcpipguide.com/free/t_IPv6GlobalUnicastAddressFormat-2.htm Global Unicast Address format]
*[http://www.tcpipguide.com/free/t_IPv6GlobalUnicastAddressFormat-2.htm Global Unicast Address format]
*[https://www.rootusers.com/configure-ipv6-addresses-and-basic-troubleshooting-in-linux/ Configure IPv6 Addresses And Basic Troubleshooting In Linux]


==DNS==
==DNS==
Line 19: Line 21:
*http://ipv6.raphnet.net/
*http://ipv6.raphnet.net/


=Protocols and stuff=
==Configuring IPv6 on RedHat==
In /etc/sysconfig/network-scripts/ifcfg-eth0
IPV6ADDRESS
 
=Protocols and Acronyms=
==SLAAC==
==SLAAC==
*[https://en.wikipedia.org/wiki/IPv6#Stateless_address_autoconfiguration_(SLAAC) SLAAC on Wikipedia]
*[https://en.wikipedia.org/wiki/IPv6#Stateless_address_autoconfiguration_(SLAAC) SLAAC on Wikipedia]
==Router advertisement==


==Neighbor Table==
*[https://www.cisco.com/assets/sol/sb/Switches_Emulators_v2_2_015/help/nk_configuring_ip_information11.html Defining IPv6 Neighbors Information]
*https://www.sciencedirect.com/topics/computer-science/neighbor-discovery
===States===
*Incomplete — Address Resolution is in process. The neighbor has not yet responded.
*Reachable — Neighbor is known to be reachable.
*Stale — Previously-known neighbor is no longer reachable. No action is taken to verify its reachability until traffic must be sent.
*Delay — Previously-known neighbor is no longer reachable. The interface is in Delay state for a predefined Delay Time. If no reachability confirmation is received, the state changes to Probe.
*Probe — Neighbor is no longer known to be reachable and Unicast Neighbor Solicitation probes are being sent to verify reachability.
===NS===
neighbour sollication
===ND reachable time===
how long will neighbour be reachable
===NDP===
Neighbor Discovery Protocol
==DAD==
        duplicate address detection
==RA==
'''Router advertisement'''
Sniff router advertisements
tcpdump -n -i eth0 icmp6 and ip6[40] == 134


==global unicast address or GUA==
==global unicast address or GUA==
Line 30: Line 65:


The part of the IPv6 address space set aside for unicast addresses is structured into an address format that uses the first 48 bits for the routing prefix (like a network ID), the next 16 bits for a subnet ID, and the final 64 bits for an interface ID (like a host ID).
The part of the IPv6 address space set aside for unicast addresses is structured into an address format that uses the first 48 bits for the routing prefix (like a network ID), the next 16 bits for a subnet ID, and the final 64 bits for an interface ID (like a host ID).


=Tools=
=Tools=
Line 37: Line 74:




==FAQ==
=FAQ=
==Can't ping link-local==
===ping -6: Invalid argument===
===ping -6: Invalid argument===
In case of link-local address: append "%eth0" or whatever interface name to the address
or
 
===Destination unreachable: Address unreachable===
=IPv6 on Freebsd=
append "%eth0" or whatever interface name to the address
*[[IPv6 on FreeBSD]]

Latest revision as of 16:54, 25 August 2022

IPv6 in general

IPv6 EUI-64

Links

DNS

Check delegation

dig 1.e.0.1.8.8.8.0.1.0.0.2.ip6.arpa ns

IPv6 on Linux

Configuring IPv6 on RedHat

In /etc/sysconfig/network-scripts/ifcfg-eth0

IPV6ADDRESS

Protocols and Acronyms

SLAAC

Neighbor Table

States

  • Incomplete — Address Resolution is in process. The neighbor has not yet responded.
  • Reachable — Neighbor is known to be reachable.
  • Stale — Previously-known neighbor is no longer reachable. No action is taken to verify its reachability until traffic must be sent.
  • Delay — Previously-known neighbor is no longer reachable. The interface is in Delay state for a predefined Delay Time. If no reachability confirmation is received, the state changes to Probe.
  • Probe — Neighbor is no longer known to be reachable and Unicast Neighbor Solicitation probes are being sent to verify reachability.


NS

neighbour sollication

ND reachable time

how long will neighbour be reachable

NDP

Neighbor Discovery Protocol

DAD

       duplicate address detection

RA

Router advertisement

Sniff router advertisements

tcpdump -n -i eth0 icmp6 and ip6[40] == 134

global unicast address or GUA

http://www.tcpipguide.com/free/t_IPv6GlobalUnicastAddressFormat-2.htm

The part of the IPv6 address space set aside for unicast addresses is structured into an address format that uses the first 48 bits for the routing prefix (like a network ID), the next 16 bits for a subnet ID, and the final 64 bits for an interface ID (like a host ID).


Tools


FAQ

Can't ping link-local

ping -6: Invalid argument

or

Destination unreachable: Address unreachable

append "%eth0" or whatever interface name to the address