Master configuration - TGuimbert/cluster-ceph-k3s GitHub Wiki

  • Configure IPv4 and IPv6 interfaces
  • Configure radv
  • Configure DHCPv6
  • Configure DNS64
  • Configure NAT64

Device installation

  1. Flash the armbian iso on the micro SD card using BalenaEtcher.
  2. Boot the Expressobin with the micro SD card.
  3. Update the configuration to change the MAC address (see the configuration of the nodes).
  4. Remove the Ethernet ports from the bridge br0 in the /etc/systemd/network/ files, configure the wan interface to use a IPv4 address provided by DHCP and configure the lan0 interface to use a static IPv6 address.
  • Delete the Bridge line in the /etc/systemd/network/10-*.network files.
  • Add auto wan inet dhcp at the end of the /etc/network/interfaces file.
  1. Add a time server in /etc/chrony/chrony.conf (server ns1.enic.fr offline) then enable and restart chronyservice and enable the NTP synchronization with the command timedatectl set-ntp true or Add ntp server in /etc/systemd/timesyncd.conf (in our case 'NTP=ns1.enic.fr') and restart systemd-timesyncd (systemctl restart systemd-timesyncd)
  2. Update and upgrade
  3. Install radv isc-dhcpserver bind9 tayga

Find all the conf files in the git folder /confs

  1. Configure /etc/radvd.conf.
  2. Enable and start radvd
  3. Configure /etc/dhcp/dhcpd6.conf
  4. Disable and stop isc-dhcp-server
  5. Enable and start isc-dhcp-server6
  6. Configure bind9 with /etc/bind/named.conf.options
  7. Enable and start bind9
  8. Configure tayga with /etc/tayga.conf and enable proxy_arp and IPv4/IPv6 forwarding in /etc/sysctl.conf
  9. Configure /etc/default/tayga then enable start and enable tayga service.
  10. See Ansible installation at https://github.com/TGuimbert/cluster-ceph-k3s/wiki/Ansible-Configuration .