Overview
Thenetbird networks command (also available as netbird routes) manages connections to NetBird networks and resources. Use this to view available network routes and control which networks your peer can access.
Description
NetBird networks allow you to:- Access remote networks and resources through exit nodes
- Route traffic to specific IP ranges or domains
- Control which networks your peer connects to
- View domain-based routes with resolved IPs
Subcommands
list(alias:ls) - List all available network routesselect- Select network routes to usedeselect- Deselect network routes
list
List all available network routes.Description
Displays all network routes available to your peer, including:- Network routes: IP ranges (CIDR notation)
- Domain routes: Domain names with resolved IPs
- Selection status: Whether each route is selected
Examples
List all routes:Understanding the Output
Network Routes:- ID: Unique identifier for the route
- Network: IP range in CIDR notation (e.g.,
10.0.0.0/24) - Status:
SelectedorNot Selected
- ID: Unique identifier for the route
- Domains: One or more domain names (can include wildcards)
- Status:
SelectedorNot Selected - Resolved IPs: Current DNS resolution results for each domain
No Routes Available
If no routes are configured:select
Select network routes to use.Description
Selecting a route enables your peer to:- Access the network/domain through the designated exit node
- Route traffic for that network through NetBird
- Apply any associated firewall or access policies
Flags
Append to current network selection instead of replacingShort form:
-aBy default, select replaces your current selection. Use this flag to add routes without removing existing ones.Arguments
<network_id>...- One or more route IDs to selectall- Select all available routes (clears all selections and accepts all including new routes)
Examples
Select a single route:Selecting
all is special: it not only selects all current routes but also automatically selects any new routes added in the future.Behavior
Default mode (replace):- Deselects all previously selected routes
- Selects only the specified routes
-a):
- Keeps existing selections
- Adds new routes to the selection
deselect
Deselect network routes.Description
Deselecting a route stops routing traffic for that network through NetBird.Arguments
<network_id>...- One or more route IDs to deselectall- Deselect all routes (disable accepting any networks)
Examples
Deselect a single route:Complete Workflow Examples
View and Select Routes
Add Route to Existing Selection
Remove Specific Routes
Accept All Routes (Including Future)
Disable All Routes
Network Types
IP Range Routes (Network Routes)
Route traffic to specific IP ranges:- Access office LAN
- Connect to private cloud networks
- Reach internal infrastructure
Domain Routes
Route traffic to specific domains:- Supports wildcards (e.g.,
*.internal.com) - Automatically resolves DNS
- Updates when IPs change
- Access internal web applications
- Route API traffic
- Connect to dynamic services
Route Selection Strategies
Minimal Selection
Select only routes you actively use:- Reduced routing complexity
- Explicit control
- Easy troubleshooting
- Must manually add new routes
- May miss newly added networks
Accept All
Automatically accept all routes:- Automatic access to new networks
- No maintenance needed
- Complete network access
- May route unneeded traffic
- Less explicit control
Selective Append
Start with specific routes, add as needed:- Balanced approach
- Grows with needs
- Maintains control
Verification
Check Route Status
Status: Selected on routes you expect to use.
Test Connectivity
Ping through route:Check via Status
Troubleshooting
Route Not Working After Selection
-
Verify selection:
-
Check connection:
-
Restart connection:
-
Check exit node connectivity:
Domain Route Not Resolving
Check DNS configuration:Can’t Select Route
Possible causes:- Route ID typo
- Route was deleted by admin
- Insufficient permissions
- Daemon not running
Routes Disappeared
If routes are no longer listed:-
Check management connection:
-
Refresh connection:
- Contact administrator - routes may have been removed
Administration
Network routes are configured by administrators in the NetBird Management Dashboard:- Navigate to Network Routes
- Click Add Route
- Configure:
- Network (CIDR) or Domains
- Exit node/peer
- Distribution groups
- Access control policies
See Also
- netbird status - View current routes in use
- Routing Traffic to Private Networks
- DNS Configuration