Segmentation
Segmentation shows how the parts of your network talk to each other and checks that they only do so as intended. You describe the parts as segments. Nzyme then shows which segments exchange traffic, policies say which of that traffic is intended, and everything else is reported as a finding.
You can find it under Ethernet in the sidebar of your Nzyme web interface.
This page describes segments, the building block that everything else in segmentation refers to. The other parts have their own pages:
| Page | Covers |
|---|---|
| Overview | The map and the matrix of the traffic between segments, and how current they are. |
| Policies | Saying which traffic is intended: scope, allowed crossings, status and alerts. |
| Findings | What policies report, how to dismiss or allow it, and the alerts that are raised. |
| Settings and Limits | Settings, retention, fixed limits, taps and required permissions. |
Asset tags group assets independent of their network and can be used in policies next to segments.
Segments
A segment is a named part of your own network, defined by one or more address ranges in CIDR notation: the office LAN, the server network, the guest WiFi, a management VLAN.
An external network is the same for addresses outside of your network, like a partner, a branch office behind a VPN or a cloud provider. It is defined by address ranges or by autonomous system number.
Both are managed on the Segments tab of the Segmentation page. Click the name of a segment there to open its details page, which shows its networks, the taps it applies to, the policies that refer to it and, for a segment, its excluded destinations.
| Field | Required | Limits | Notes |
|---|---|---|---|
| Type | Yes | Segment or external network. | Cannot be changed after the segment was created. |
| Name | Yes | Up to 12 characters. Unique per tenant, without regard to case. | Shown next to addresses, in the overview and in policies. This is the field you see most. |
| Description | No | Up to 32 characters. | Shown when you rest the pointer on the name of the segment, and in the details of the segment. |
| Notes | No | No limit. Markdown is supported. | On the segment details page only. Overlays indicate Has Notes: Yes if notes exist. |
| Networks | Yes | 1 to 256 per segment. CIDR notation, IPv4 or IPv6. | External networks can also list autonomous system numbers, which count towards the 256. A network that covers every address, like 0.0.0.0/0, is not accepted. |
| Taps | No | All taps, or a selection. | See Limiting a Segment to Taps. |
The short limits on name and description are intentional, for the same reason as for context: names are rendered inline in tables, on the map and in overlays, where space is limited.
Which Segment an Address Is In
An address is in exactly one segment, or in none:
- If several segments contain the address, the one with the most specific network wins. With
10.0.0.0/8in a segment Corporate and10.1.0.0/16in a segment Servers, the address10.1.5.20is in Servers. - The same network cannot be part of two segments that apply to the same tap. Two segments can hold the same network if they are limited to different taps, or if only one of them is limited to taps.
- An address is only matched against the autonomous system numbers of external networks if no network of a segment or external network contains it and it is not a private address.
- An address that is in neither a segment nor an external network counts as Unassigned if it is a private address and as Internet if it is not. Both appear in the overview like segments do, so traffic of addresses you have not described yet is not hidden. See Groups for which addresses are private.
Limiting a Segment to Taps
By default, a segment applies to what any tap records. A segment can instead be limited to selected taps. This is
meant for sites that use the same address range: a segment Berlin LAN for 10.0.0.0/24 on the tap in Berlin and a
segment Hamburg LAN for 10.0.0.0/24 on the tap in Hamburg keep the two networks apart.
Among equally specific networks, a segment that is limited to the recording tap wins over one that applies to all taps.
Creating Segments
Click Create Segment on the Segments tab and select the type in the form: a segment or an external network.
You do not have to start from nothing. The Suggested Segments card on the Segments tab lists networks that are no segment yet. Create Segment in a row opens the form with that network filled in.
| Source | Suggests |
|---|---|
| DHCP server | The network that a trusted DHCP server hands out addresses for. A DHCP server that is not trusted suggests nothing, because the subnet mask it hands out would decide which network is suggested. |
| IPv6 router | The prefixes that a trusted IPv6 router advertises. A router that is not trusted suggests nothing. |
| Observed | The /24 networks (/64 for IPv6) of internal addresses in no segment that taps saw talking in the last 7 days. An address that was only a destination counts if it answered, so a scan of unused addresses suggests nothing. |
The Hosts Seen column says how many addresses of the network were seen, and the link at the end of a row opens the TCP/UDP sessions of the network. The list holds up to 50 suggestions per source.
Changing and Deleting Segments
Segmentation keeps a summary of recorded traffic per segment. After a segment was created or deleted, or after its networks or taps were changed, Nzyme matches that stored traffic against the segments again. This takes a moment, and the web interface tells you while it is in progress. A change of the name, the description or the notes does not need this. See After a Segment Was Changed for what this means for the overview.
A segment that a policy refers to cannot be deleted. Remove it from the policy first. When several segments are deleted at once, the ones in use are skipped and listed with the policies that hold them. A policy can hold on to a segment for a while after you removed it from the policy, see Changing and Deleting Policies.
Excluded Destinations
Some connection attempts are expected to fail, and nobody needs to hear about them: hosts that keep trying an address of a server that was taken down, or a monitoring system that probes addresses that are not in use. An excluded destination tells Nzyme to stop recording such attempts for a segment.
An excluded destination belongs to one segment and names an internal address or network. From then on, connection attempts from that segment to the destination that are rejected or get no reply are not recorded:
- They do not become flows, so they do not appear in the overview.
- They are not checked against policies, so they do not end up in Attempted findings and raise no alerts.
Connections that the destination answers are recorded as usual. An excluded destination that starts to answer shows up again, including in Crossed findings.
Excluded destinations are managed in the Excluded Destinations card on the details page of a segment. External networks have none. You can also click Exclude in the row of a rejected or unanswered flow in the flows of a crossing, which fills in the segment of the source and the destination address.
| Field | Required | Limits |
|---|---|---|
| Destination | Yes | One address like 172.16.0.157, or a network in CIDR notation that is not larger than a /24 (a /64 for IPv6). It has to be internal: a private address, or an address in a network of a segment. |
| Note | Yes | Up to 500 characters. Say why attempts to the destination can be ignored. |
A segment can have up to 100 excluded destinations. The card lists them with their note, with how many sessions were not recorded because of them (Matches) and with when that last happened (Last Matched).
- Excluding deletes stored flows. The flows of rejected and unanswered attempts from the segment to the destination that are stored already are deleted. This cannot be undone.
- Findings are kept. Targets that existing findings have for the destination stay. Dismiss the findings if you do not need them anymore.
- Deleting an excluded destination makes Nzyme record attempts to it again from then on. What was not recorded in the meantime is not restored.
An excluded destination is a blind spot
Excluded attempts are not recorded at all, for any policy. Keep excluded destinations narrow, and prefer an allowed crossing in a policy if the traffic is intended rather than noise.
Where Segments Are Shown
Segments are what the Overview, Policies and Findings tabs of the Segmentation page are about. They are also shown almost everywhere an IP address appears in the web interface, like in session tables, DNS logs and alert details:
- The name of the segment is rendered next to the address.
- The context overlay that opens when you hover over an address has a Segment row, which links to the segment.
- The Has Notes line of the overlay says Yes if the segment has notes, like it does for notes of network context. The notes themselves are on the details page of the segment.
If the Segment Depends on the Tap
Outside of the Segmentation page, addresses are shown without knowing which tap recorded them. If you limit segments to taps, the same address can be in different segments for different taps, or in a segment for one tap and in none for another.
In that case Nzyme does not guess. Instead of a name, the address is marked with a branch icon, and the overlay lists the segments the address can be in, followed by (by tap). Hover over the entry to see all of them. Has Notes says Yes if any of these segments has notes.
This only happens where the taps of the tenant actually disagree. A segment that is limited to every tap of the tenant is shown like any other.
Segments and Network Context
Network context and segments both give a name to an address range, and both are shown next to addresses. They differ in what they are for:
| Network context | Segments | |
|---|---|---|
| Purpose | Document what an address range is, who owns it and why. | Describe the structure of your network and check how it is used. |
| An address can be in | Every entry whose network contains it. | Exactly one segment, the most specific one. |
| Next to an address | An icon that says context exists. The name is in the overlay. | The name of the segment. Details are in the overlay. |
| Shows traffic | No. | Yes, between and inside of segments, in the Overview. |
| Usable in policies | No. | Yes. |
| Can differ by tap | No. | Yes. |
For the parts of your own network and for the external networks you care about, segments are usually the better fit. Network context remains useful on top of that for overlapping ranges at different levels of detail, like one entry for all corporate address space. Both can carry notes, for example on ownership and escalation.
You do not have to choose up front. Both can exist for the same address range. The name of the segment is then shown next to an address, and the network context is in the overlay.
Required Permissions
All users can view segments and their excluded destinations. Super administrators, organization administrators and users with the Manage Ethernet Monitoring permission can create, change and delete segments.
Excluding a destination and deleting an excluded destination also requires access to every tap that the segment applies to: all taps of the tenant, or the taps the segment is limited to. An excluded destination decides what is recorded of all of them. A user without that access does not see the Matches and Last Matched of excluded destinations.
See Required Permissions for all parts of segmentation.