meta data for this page
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ipv6 [2017/02/27 17:39] – created niziak | network:ipv6 [2022/10/27 19:03] (current) – ↷ Page moved from ipv6 to network:ipv6 niziak | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== IPv6 ====== | ||
+ | |||
| ff::/8 | multicast | ff0x is reserverd | | | ff::/8 | multicast | ff0x is reserverd | | ||
| ff01::1 | multicast | all nodes | interface local | | | ff01::1 | multicast | all nodes | interface local | | ||
- | | ff02::1 | multicast | all nodes | link local | | + | | ff02::1 | multicast | all nodes | link local | ping ff02:: |
| ff01::2 | multicast | all routers | interface local | | | ff01::2 | multicast | all routers | interface local | | ||
| ff02::2 | multicast | all routers | link local | | | ff02::2 | multicast | all routers | link local | | ||
Line 10: | Line 12: | ||
| 2000:: | Global address | first | | | 2000:: | Global address | first | | ||
| 3fff: | | 3fff: | ||
+ | |||
+ | <file | / | ||
+ | iface eth0 inet dhcp | ||
+ | iface eth0 inet6 static | ||
+ | address 2001::2 | ||
+ | netmask 64 | ||
+ | up -ip -6 route add ::/0 via 2001::1 dev eth0 | ||
+ | down ip -6 route del ::/0 via 2001::1 dev eth0 | ||
+ | </ | ||
+ | |||
+ | ====== Autoconfig and RA ====== | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | Auto configuration can be disabled temporary for eth1 with: | ||
+ | |||
+ | <code bash> | ||
+ | sudo sysctl -w net.ipv6.conf.eth1.autoconf=0 | ||
+ | sudo sysctl -w net.ipv6.conf.eth1.accept_ra=0 | ||
+ | </ | ||
+ | |||
+ | or for all interfaces with: | ||
+ | |||
+ | <code bash> | ||
+ | sudo sysctl -w net.ipv6.conf.all.autoconf=0 | ||
+ | sudo sysctl -w net.ipv6.conf.all.accept_ra=0 | ||
+ | </ | ||
+ | |||
+ | Reenabling works by using 1 instead of 0 in the call. | ||
+ | |||
+ | ====== RADVD ====== | ||
+ | |||
+ | > | ||
+ | >and answers with router advertisement (RA). Furthermore unsolicited RAs are also sent from time to time. | ||
+ | |||
+ | >This protocol is meant for host auto-configuration and not for route propagation between routers. | ||