IN THIS ARTICLE
Outlines how to connect to multiple networks in Qumulo Core
REQUIREMENTS
- Qumulo Core 2.5.2 or above
- Command line (CLI) tools installed via API & Tools tab
PROCESS
A Qumulo cluster can be connected to multiple virtual networks using VLAN tagging. In order to configure and manage multiple networks, you will need to use the QQ CLI or the REST API to view and manage multiple networks.
Each node has a single interface labeled bond0 that uses two physical ports that are bonded using either active_backup or LACP. When you create a cluster, networking configurations include:
- A single network (named “Default") configured with DHCP that uses this bond
- A single default gateway that is associated with the bond
You'll need to change some of the default network settings if you're starting from a cluster with the default DHCP configuration. If you've already set up a single static network, you can skip to step 3.
Step 1
Assign a default gateway (if you're in a routable network) by modifying the interface:
qq network_mod_interface --default-gateway 172.16.123.2
Step 2
Set the Default network to use STATIC addressing rather than DHCP:
qq network_mod_network --network-id 1 --assigned-by STATIC --ip-ranges 172.16.123.128-131 --floating-ip-ranges 172.16.123.132-140 --netmask 255.255.255.0 --dns-servers 172.16.123.1 --dns-search-domains qumulo.com
- Once you apply this configuration, you’ll need to log back in using one of the assigned IP addresses
Step 3
Add an additional network:
qq network_add_network --name example --ip-ranges 192.168.0.10-14 --floating-ip-ranges 192.168.0.15-25 --netmask 255.255.255.0 --dns-servers 8.8.8.8 --dns-search-domains qumulo.com --mtu 1500 --vlan-id 200
- Floating IPs can only be added in addition to persistent IPs (specified with --ip-ranges) and must be on the same network
- If you want to create multiple IP ranges or DNS servers, you'll need to specify the argument multiple times like the example below:
--floating-ip-ranges 192.168.0.15-25 --floating-ip-ranges 192.168.0.35-45
You should now have two networks configured and can repeat the process above to add up to 4096 networks in Qumulo Core. Client machines can mount over SMB or NFS to any of the assigned IP addresses (persistent or floating), and administrators can use any of the IPs for cluster management.
qq network_list_networks
[{
"assigned_by": "STATIC",
"dns_search_domains": ["qumulo.com"],
"dns_servers": ["172.16.123.1"],
"floating_ip_ranges": ["172.16.123.132-140"],
"id": 1,
"ip_ranges": ["172.16.123.128-131"],
"mtu": 1500,
"name": "Default",
"netmask": "255.255.255.0",
"vlan_id": 0
},{
"assigned_by": "STATIC",
"dns_search_domains": ["qumulo.com"],
"dns_servers": ["8.8.8.8"],
"floating_ip_ranges": ["192.168.0.15-25"],
"id": 2,
"ip_ranges": ["192.168.0.10-14"],
"mtu": 1500,
"name": "example",
"netmask": "255.255.255.0",
"vlan_id": 200
}]
To view which IP addresses are assigned to each node, use the following command:
qq network_poll
Viewing and managing multiple networks is not supported in the UI. Once you have multiple networks configured, you’ll see this banner in the Network Configuration page.
NOTE: It is possible to have different MTUs for each VLAN as long as the MTU of the Default VLAN has a value that is equal to or greater than the MTU of all VLANs. Use the following command to set the MTU of the Default VLAN:
sudo qq network_mod_interface --mtu xxx
Once configured, other networks may be assigned an MTU speed that is of equal or smaller value.
RESOLUTION
You should now be able to connect to multiple network in Qumulo Core
ADDITIONAL RESOURCES
QQ CLI: Networks and IP Addresses
Like what you see? Share this article with your network!
Comments
0 comments