Agenda: dns-enabling-ipv6.txt

File dns-enabling-ipv6.txt, 1.9 KB (added by admin, 8 years ago)
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        -> do you see an IPv6 address starting with fdba:... ?
51
524. Repeat steps 1 - 3 above for:
53
54        - auth.grpX
55        - slave.grpX
56
575. Check that the 3 hosts can ping each other:
58
59        # ping6 fdba:dc55:48c7::XX:YY     (where XX = group number, YY = IP of host)
60
616. Can you ping the gateway ?
62
63        # ping6 fdba:dc55:48c7::0000:254
64
657. What is another way to express:
66
67        fdba:dc55:48c7::0000:254 ?
68
69
70
71II. Auto configuration with RA/RS
72---------------------------------
73
741. On MASTER, edit /etc/rc.conf, and add
75
76        ipv6_enable="YES"
77        ipv6_network_interfaces="eth0"
78
79        # /etc/rc.d/network_ipv6 start
80        # /etc/rc.d/ip6addrctl start
81
82        NOTE: to manually enable accepting of RAs:
83
842. Just in case:
85
86        # /etc/rc.d/auto_linklocal start
87        # sysctl net.inet6.ip6.accept_rtadv=1
88
893. Force an IPv6 sollicitaion
90
91        # rtsol -a
92
934. ifconfig eth0
94
95        -> You should now see an additional IPv6 address starting with fdba:...