This command is used to configure and manage external networking on the VM Squared cluster. It allows the user to define one or more external networks accessible to the cluster.
Once a network has been created, the manage-networking command allows the user to modify its properties and/or delete the connection entirely.
Warning
Care should be taken when modifying networks, as this can disrupt any services that rely upon these connections.
The manage-networking command is implemented as a wizard to guide the user through the steps necessary to configure an external network.
At a minimum, the user must provide:
a subnet for the connection.
a range of IP addresses (the included ranges) that the VM Squared cluster can allocate.
However, the manage-networking command also allows the user to specify:
VLAN
default gateway
routes
included ranges
excluded ranges
statically assigned hosts
excluded hosts
Warning
At a minimum, the range of included addresses should span enough values to allocate a unique address to the VM Squared dashboard AND every VM Squared host.
In this example, we create a new network for the nfs service, and supply a range of unique IP addresses.
Select Option 1 to create a new network. Enter the network name nfsnet and subnet 192.168.3.0/24.
Select Option 4 to specify a range of IP addresses to use. In this case, the start address is 192.168.3.100, and the end address is 192.168.3.200.
Select Option 3 to specify a route.
The user can choose to specify a range of IPs to exclude, statically assign IPs to specific hosts, or exclude hosts from this network. In this example, we skip these options and select [0] to return to the main menu. Once back at the main menu, select option 5 to commit changes.