Enabling IPv6
-------------

Remember IPv6 is 128 bits:

340.282.366.920.938.463.463.374.607.431.768.211.456 unique values

For this workshop, we use a Unique Local Address ( fc00::/7 ).

We have registered: the prefix fdba:dc55:48c7::/48

In full notation: fdba:dc55:48c7:0000:0000:0000:0000:0000 prefixlen 48

I. Manual configuration
-----------------------

Manually, we will use the following addressing scheme:

fdba:dc55:48c7:0000:0000:0000:00xx:000y/64  (LANs are 64 bit in IPv6)
|<- prefix ->||site||<----- LAN ------>|

... where xx = your group number, and y is your host IP (i.e.: 1)

For example, for Group 25, this will be:

fdba:dc55:48c7:0000:0000:0000:0025:0001/64  (LANs are 64 bit in IPv6)
|<- prefix ->||site||<----- LAN ------>|

Or, in short notation (consecutive 0's can be expressed as ::)

fdba:dc55:48c7::25:1 prefixlen 64 (LAN


1. On MASTER, edit /etc/rc.conf, and add

	ipv6_ifconfig_eth0="fdba:dc55:48c7::XX:YY/64"
	ipv6_enable="YES"

	Save the file & exit

2. Start IPv6:

	# /etc/rc.d/ip6addrctl start
	# /etc/rc.d/network_ipv6 start

3. Check your interface:

	# ifconfig eth0 inet6


4. Repeat steps 1 - 3 above for:

	- auth.grpX
	- slave.grpX

5. Check that the 3 hosts can ping each other:

	# ping6 fdba:dc55:48c7::XX:YY     (where XX = group number, YY = IP of host)

6. Can you ping the gateway ?

	# ping6 fdba:dc55:48c7::0000:254

7. What is another way to express:

	fdba:dc55:48c7::0000:254 ?



II. Auto configuration with RA/RS
---------------------------------

1. On MASTER, edit /etc/rc.conf, and add

	ipv6_enable="YES"
	ipv6_network_interfaces="eth0"

	# /etc/rc.d/network_ipv6 start
	# /etc/rc.d/ip6addrctl start

	NOTE: to manually enable accepting of RAs:

	Just in case:

	# /etc/rc.d/auto_linklocal start
	# sysctl net.inet6.ip6.accept_rtadv=1
