Skip to content

😎 πŸŽ‰ Awesome list of IPv6 materials and resources

License

Notifications You must be signed in to change notification settings

gmelodie/awesome-ipv6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

25 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

awesome-ipv6 Awesome

A curated list of IPv6 materials and learning resources

Contents

Books

Cheatsheets

Courses

Tools

Services

  • IPv6.rs - An IPv6 tunnel provider that also provides the Cloud Seeder open source appliance maintenance and deployment suite.

ping6

Documentation

  • ping6 <node address> - Ping a node
  • ping6 ff02::1%<interface> - Ping all-nodes multicast address on link

ip

Documentation

  • ip -6 neigh show - Show neighbor cache
  • ip -6 addr/ip -6 a/ ip -6 address - Show IPv6 interfaces addresses
  • ip address add 2002:db6::1/64 dev bt0 - Add IPv6 prefix to interface
  • ip -6 addr flush label "en*" - Clear all IPv6 addresses on an interface

Bluetooth 6LoWPAN

  • Enable 6LoWPAN over Bluetooth
    1. modprobe bluetooth_6lowpan
    2. echo 35 > /sys/kernel/debug/bluetooth/6lowpan_psm
    3. echo 1 > /sys/kernel/debug/bluetooth/6lowpan_enable
  • Connect device to host
    • echo "connect XX:XX:XX:XX:XX:XX 2" | sudo tee /sys/kernel/debug/bluetooth/6lowpan_control

Configurations

Radvd

Documentation

interface $iface
{ 
  AdvSendAdvert on;

  prefix 2b02:6009:aac0:c2a2::/64
  {
    AdvOnLink on;
    AdvAutonomous on;
    AdvRouterAddr on;
  };
};

IPv6 conf

IPv6 configuration in /etc/sysctl.conf, all can be replaced with interface name

  • net.ipv6.conf.all.accept_ra=2 - Enable or disable SLAAC
    • 1 -> Enable (disabled, if forwarding=1)
    • 0 -> Disable
    • 2 -> Enable (for all)
  • net.ipv6.conf.all.forwarding=1 - Enable IPv6 forwarding
  • net.ipv6.conf.all.accept_ra_defrtr=1 - Accept hop limit settings from RA
  • net.ipv6.conf.all.router_solicitations=1 - Number of Router Solicitations send, before assuming no router available

Disable Privacy Extensions

When disabling privacy extensions, the Interface ID will be generated from the device's MAC address (EUI-64 format). This setting is only effective for managed devices because many operating systems also have built-in MAC address privacy options.

On Windows, open a command prompt as Administrator and paste the following commands:

netsh interface ipv6 set global randomizeidentifiers=disabled store=active 
netsh interface ipv6 set global randomizeidentifiers=disabled store=persistent 
netsh interface ipv6 set privacy state=disabled store=active 
netsh interface ipv6 set privacy state=disabled store=persistent

On Linux, go to /etc/netplan and find the YAML configuration file there. Add ipv6-privacy: off and ipv6-address-generation: eui64 to the appropriate interface:

network:
  version: 2
  ethernets:
    enp0s3:
      ipv6-privacy: off
      ipv6-address-generation: eui64
  renderer: NetworkManager

Labs

RFCs

Contribute

Contributions welcome! Read the contribution guidelines first.

License

CC0

To the extent possible under law, Gabriel Cruz has waived all copyright and related or neighboring rights to this work.

About

😎 πŸŽ‰ Awesome list of IPv6 materials and resources

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published