Optimizing Tanium Client peering through subnets
Overview of Client subnets
Client peering
Tanium Clients interconnect within Client peering to exchange Tanium messages and files, such as for questions and actions. Peering settings define the subnet boundaries of the linear chains. The default setting values are designed to optimize network resource usage by ensuring that most of the data exchange is among the low-latency, high-bandwidth links of local area networks (LANs). Separated subnets, intentional subnets, and isolated subnets provide methods for modifying the peering behavior of Clients in subnets where the default settings are not applicable or not optimal. For example, you can configure separated subnets to segregate their peering from a parent subnet, configure isolated subnets for VPN Clients, or configure intentional subnets to account for network address translation (NAT).
Before configuring subnets, be sure that you understand the behavior that the default settings define and the impact of your changes. For more information, see Configuring Tanium Client peering.
Topology of Client subnets
The following figure illustrates a deployment where internal Tanium Clients connect with Tanium Servers in an active-active deployment and external Clients connect with the Zone Server. This example shows separated subnets, intentional subnets, and isolated subnets within the linear chains that the default peering settings define.
Configure separated subnets
Tanium Clients in a separated subnet can peer only with other Clients that are within that subnet. Configure separated subnets to specify more granular exceptions for Client peering than the subnet boundaries that the address mask or prefix settings define (see Address mask and prefix settings). Clients use the separated subnets configuration for peering based on whether they connect to the Tanium Server or Zone Server. Each Server uses the configuration to manage the peer lists for Clients that register through it.
After you configure separated subnets, you do not have to restart the Tanium Servers or Zone Servers. Tanium Clients might take up to two to six hours (the randomized Client-reset interval) to finish applying all the changes associated with the new configuration. To verify that the separated subnets work as expected after the Clients register, see Verify or remediate Tanium Client peering and leader connections.
The figure Tanium Client peering in subnets shows an example deployment with separated subnets.
Tanium Core Platform 7.3 or later supports IPv6 subnets, such as: 2001:db8::/32. Contact Tanium Support for details.
Add subnets
Edit subnets
- From the Main menu, go to .
- Select one of the Separated Subnets and click Edit.
- Edit the subnet (CIDR) and Comment, and click Save.
Configure separated subnets that are specific to Zone Servers
If a deployment includes Zone Servers that require different separated subnets than the Tanium Servers, perform the following steps based on your Tanium infrastructure to add a custom separated subnets configuration to each Zone Server. Because Zone Servers do not synchronize custom subnet configurations, each Zone Server can have a unique configuration.
Windows infrastructure
- Create a plain text file named SeparatedSubnets.txt.
- Enter the subnets and optional comments that you entered for the Tanium Server into SeparatedSubnets.txt. Use the formatting described in Optimizing Tanium Client peering through subnets.
- Move SeparatedSubnets.txt to the installation directory of each Zone Server (the default installation directory is \Program Files (x86)\Tanium\Tanium Zone Server). If necessary, you can modify the file contents for each Zone Server that requires a unique configuration.
Tanium Appliance infrastructure
Configure isolated subnets
Configure isolated subnets to disable Client peering for a specified list of subnet and endpoint IP addresses. If the IP address of a Tanium Client is in an isolated subnet, the Tanium Server or Zone Server sends that Client an empty peer list to prevent the Client from participating in peering. Each Server uses the configuration to manage the peer list for Tanium Clients that register through it.
After you configure isolated subnets, you do not have to restart the Tanium Servers or Zone Servers. Tanium Clients might take up to two to six hours (the randomized Client-reset interval) to finish applying all the changes associated with the new configuration. To verify that the isolated subnets work as expected after the Clients register, see Verify or remediate Tanium Client peering and leader connections.
The figure Tanium Client peering in subnets shows an example deployment with isolated subnets.
-
Configure isolated subnets for virtual desktop infrastructure (VDI) instances in a high-density environment with shared storage or for any other virtual endpoints where concurrent disk I/O operations must be limited. Endpoints cache file chunks to share distributed files with peers, which requires multiple endpoints in the linear chain to concurrently read and write file chunks. Isolating an endpoint reduces the concurrent disk I/O that normally occurs when this cache is used to share files with peers. For more information, see File distribution.
-
You might find it convenient to use isolated subnets to disable peering in other cases, such as for testing or debugging peering when you have to troubleshoot network issues. Note that disabling peering causes Tanium Clients to consume more network resources in terms of bandwidth and Client-server connections over the WAN. For troubleshooting cases, after you resolve the network issues, the best practice is to remove the Clients from the isolated subnets configuration so that they resume peering.
-
In most environments, the isolated subnets configuration is the same for all Zone Servers and Tanium Servers, and the best practice is to keep the configuration synchronized across Servers to avoid confusion. In complex environments with overlapping subnets, you might have to segregate subnets differently for Zone Servers. In such cases, you can modify the subnets configuration on each Zone Server that requires a unique configuration.
Tanium Core Platform 7.3 or later supports IPv6 subnets, such as: 2001:db8::/32. Contact Tanium Support for details.
Add subnets
Edit subnets
- From the Main menu, go to .
- Select one of the Isolated Subnets and click Edit.
- Edit the subnet (CIDR) and Comment, and click Save.
Configure isolated subnets that are specific to Zone Servers
If a deployment includes Zone Servers that require different isolated subnets than the Tanium Servers, perform one of the following procedures based on your Tanium infrastructure and whether you want to isolate all Clients or Clients on specific subnets. Because Zone Servers do not synchronize custom subnet configurations, each Server can have a unique configuration.
Isolate all Clients connected to any Zone Server
Set the zs_address_mask platform setting on the Tanium Server () to 4294967295, which specifies /32 subnet boundaries (single hosts) for all Zone Servers.
For more information, see Address mask and prefix settings.
Isolate all Clients connected to a particular Zone Server
Isolate Clients on specific subnets with Windows infrastructure
- Create a plain text file named IsolatedSubnets.txt.
- Enter the subnets and optional comments that you entered for the Tanium Server into IsolatedSubnets.txt. Use the formatting described in Optimizing Tanium Client peering through subnets.
- Move IsolatedSubnets.txt to the installation directory of each Zone Server (the default installation directory is \Program Files (x86)\Tanium\Tanium Zone Server). If necessary, you can modify the file contents for each Zone Server that requires a unique configuration.
Isolate Clients on specific subnets with Tanium Appliance infrastructure
Configure intentional subnets
Overview of intentional subnets
In a network configuration that uses network address translation (NAT), the local IP addresses of Tanium Clients in the same local area network (subnet) might be mapped to different NAT IP addresses for communication with the Tanium Server or Tanium Zone Server. The default Tanium peering settings allow Clients in that subnet to peer with each other only if they share the same NAT IP address. If Clients in the same subnet are assigned to different NAT IP addresses, they can peer with each other only if you assign them to an intentional subnet that specifies the full range of NAT IP addresses for that subnet. Without an intentional subnet, each Client with a different NAT IP address establishes a leader connection to the Server. Network traffic is higher in a deployment with more leader connections, especially when Clients download package files for running actions. Therefore, configuring intentional subnets can increase peering and reduce traffic, particularly in deployments where many Clients use NAT when connecting to the Server over the Internet.
The figure Tanium Client peering in subnets shows an example deployment with intentional subnets.
You can configure IPv6 subnets, such as 2001:db8::/32. Contact Tanium Support for details.
The following table shows examples of Tanium Clients that do or do not require intentional subnets to enable peering. The example IP addresses are listed as they would appear on the page, where the Network Location (from Client) column shows the pre-NAT IP addresses and the Network Location (from Server) column shows the NAT IP addresses. In this example, the AddressMask platform setting specifies a /24 address mask, which is the default peering range (see Overview of Tanium Client peering settings).
|
Tanium Client |
Network Location (from Client) |
Network Location (from Server) |
Intentional subnet required for peering? |
|---|---|---|---|
|
TC‑UK‑1 |
31.0.0.11 |
31.0.0.11 |
No: The Clients do not use NAT. Therefore, even though their IP addresses differ, they can peer because they are in the same subnet within the default peering range (AddressMask = /24). |
|
TC‑UK‑2 |
31.0.0.12 |
31.0.0.12 |
|
|
TC‑US‑1 |
172.16.0.11 |
14.0.0.11 |
No: The Clients can peer because they use the same NAT address. |
|
TC‑US‑2 |
172.16.0.12 |
14.0.0.11 |
|
|
TC‑HQ‑1 |
10.0.0.11 |
98.0.0.1 |
Yes: The Clients are in the same subnet within the default peering range, but the AddressMask setting does not apply because their NAT IP addresses differ. Without an intentional subnet, the Tanium Server interprets the different NAT IP addresses as an indication that the Clients are in different subnets and therefore prevents peering. |
|
TC‑HQ‑2 |
10.0.0.12 |
98.0.0.2 |
Before you begin
You can define intentional subnets using either of the following methods:
-
Intentional subnet sites: In Tanium Console, you can specify a Site name for an intentional subnet site and the subnets that belong to that Site. Clients in the subnets that belong to a single site can peer with one another.
-
PeerNeighborhood Client setting: You can configure the same neighborhood name for the PeerNeighborhood setting on each Client that can peer. You can use this setting to define intentional subnets in the following scenarios:
-
You want to allow Clients that have a wide variety of NAT IP addresses to peer, and the variety of IP addresses makes subnets difficult to define, or subnets overlap among sites that need to remain isolated.
-
You want to deploy Clients that are always allowed to peer, regardless of NAT IP addresses, such as virtual machines in a cloud environment.
-
You want to manually allow specific Clients to peer.
-
To determine the appropriate method to define intentional subnets, and the appropriate Site names and subnet CIDR values or PeerNeighborhood names:
Define intentional subnets using Sites
The Tanium Server can identify an intentional subnet by a Site name that you specify and allow peering among all Tanium Clients that are in the subnets you add to that Site.
Add subnets
- From the Main menu, go to .
- In the Intentional Subnets section, click New Subnets.
- Enter a name to identify the Site that comprises the intentional subnets.
- (Optional) Enter a comment to help other users understand the function of the subnet in your organization.
- In the New subnet CIDRs field, enter each subnet in CIDR format (a.b.c.d/x) using separate lines or commas as delimiters.
- Click Save.
Edit subnets
- From the Main menu, go to .
- Select one of the Intentional Subnets and click Edit.
- Edit the subnet (CIDR) and Comment, and click Save.
Define intentional subnets using the PeerNeighborhood Client setting
Use the PeerNeighborhood Client setting to designate certain Clients that are allowed to peer with one another. You can apply the setting during or after Client deployment. The Tanium Server allows these Clients to peer, regardless of the NAT IP of each Client.
Set the same PeerNeighborhood name for all Clients in each site that are allowed to peer. For example, if you have lab sites "Lab East" and "Lab West," you can set the PeerNeighborhood Client setting for all Clients in each site to Lab-East and Lab-West respectively.
For methods to modify the PeerNeighborhood Client setting, see Modify Client settings.
Verify intentional subnets
After you configure intentional subnets, wait for the next Client-reset interval before verifying that the subnets work as expected. For more information, see Verify or remediate Tanium Client peering and leader connections. In the page, the Network Location (from Client) column shows the pre-NAT IP addresses and the Network Location (from Server) column shows the NAT IP addresses.