Agenda: dns-enabling-ipv6.txt

File dns-enabling-ipv6.txt, 1.8 KB (added by regnauld, 8 years ago)

dns-enabling-ipv6.txt

Line 
1Enabling IPv6
2-------------
3
4Remember IPv6 is 128 bits:
5
6340.282.366.920.938.463.463.374.607.431.768.211.456 unique values
7
8For this workshop, we use a Unique Local Address ( fc00::/7 ).
9
10We have registered: the prefix fdba:dc55:48c7::/48
11
12In full notation: fdba:dc55:48c7:0000:0000:0000:0000:0000 prefixlen 48
13
14I. Manual configuration
15-----------------------
16
17Manually, we will use the following addressing scheme:
18
19fdba:dc55:48c7:0000:0000:0000:00xx:000y/64  (LANs are 64 bit in IPv6)
20|<- prefix ->||site||<----- LAN ------>|
21
22... where xx = your group number, and y is your host IP (i.e.: 1)
23
24For example, for Group 25, this will be:
25
26fdba:dc55:48c7:0000:0000:0000:0025:0001/64  (LANs are 64 bit in IPv6)
27|<- prefix ->||site||<----- LAN ------>|
28
29Or, in short notation (consecutive 0's can be expressed as ::)
30
31fdba:dc55:48c7::25:1 prefixlen 64 (LAN
32
33
341. On MASTER, edit /etc/rc.conf, and add
35
36        ipv6_ifconfig_eth0="fdba:dc55:48c7::XX:YY/64"
37        ipv6_enable="YES"
38
39        Save the file & exit
40
412. Start IPv6:
42
43        # /etc/rc.d/ip6addrctl start
44        # /etc/rc.d/network_ipv6 start
45
463. Check your interface:
47
48        # ifconfig eth0 inet6
49
50
514. Repeat steps 1 - 3 above for:
52
53        - auth.grpX
54        - slave.grpX
55
565. Check that the 3 hosts can ping each other:
57
58        # ping6 fdba:dc55:48c7::XX:YY     (where XX = group number, YY = IP of host)
59
606. Can you ping the gateway ?
61
62        # ping6 fdba:dc55:48c7::0000:254
63
647. What is another way to express:
65
66        fdba:dc55:48c7::0000:254 ?
67
68
69
70II. Auto configuration with RA/RS
71---------------------------------
72
731. On MASTER, edit /etc/rc.conf, and add
74
75        ipv6_enable="YES"
76        ipv6_network_interfaces="eth0"
77
78        # /etc/rc.d/network_ipv6 start
79        # /etc/rc.d/ip6addrctl start
80
81        NOTE: to manually enable accepting of RAs:
82
83        Just in case:
84
85        # /etc/rc.d/auto_linklocal start
86        # sysctl net.inet6.ip6.accept_rtadv=1