Fuzzball Documentation
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Environment Variables Used in Deployment

This guide is designed to be completed primarily through copy-and-paste instructions. But some values cannot be anticipated and are therefore included as environmental variables that you are expected to set.

The following variables are determined by your specific network configuration. You can deduce all of the variables by logging into the Server node and executing ip addr. Note the following example for guidance.

# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 56:00:04:ee:80:f5 brd ff:ff:ff:ff:ff:ff
    inet 64.176.213.81/23 brd 64.176.213.255 scope global dynamic noprefixroute enp1s0
       valid_lft 85130sec preferred_lft 85130sec
    inet6 fe80::5400:4ff:feee:80f5/64 scope link
       valid_lft forever preferred_lft forever
3: enp8s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc mq state UP group default qlen 1000
    link/ether 5a:00:04:ee:80:f5 brd ff:ff:ff:ff:ff:ff
    inet 10.1.96.7/20 brd 10.1.111.255 scope global noprefixroute enp8s0
       valid_lft forever preferred_lft forever
    inet6 fe80::5800:4ff:feee:80f5/64 scope link
       valid_lft forever preferred_lft forever
  • INTERNAL_IP_ADDR: The IP address of the Server node on the internal network. In this example the value is 10.1.96.7
  • IP1: An IP address that can be used by metallb to host an internal service. For example, 10.1.96.99.
  • IP2: Another IP address that can be used by metallb to host an internal service. For example, 10.1.96.100.
  • INTERNAL_INTERFACE: The literal string name of the internal interface. In this example the value is enp8s0.
  • PRIVATE_SUBNET: This is properly calculated using ipcalc with the internal inet value. In this example it is ipcalc 10.1.96.7/20 | grep Network which produces the value 10.1.96.0/20