This guide walks you through deploying the complete Nokia BNG Lab environment.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/abelperezr/nokia-bng-lab/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The installation process involves:- Obtaining the lab repository
- Setting up Nokia licenses
- Preparing Docker images
- Deploying the lab with Containerlab
- Verifying the deployment
Expected deployment time: 10-15 minutes (depending on your internet connection and system performance)
Step 1: Clone the Repository
Alternative: Download as ZIP
Alternative: Download as ZIP
If you don’t have Git installed:
Step 2: License Setup
Copy License File
Place your Nokia SR-SIM license file in the correct location:
The license file must be named exactly
SR_SIM_license.txtLicense File Requirements
License File Requirements
The SR-SIM license must support:
- Platforms: SR-7, IXR-ec
- Features: BNG functionality, ISA cards
- Nodes: At least 4 nodes (2x BNG, 1x Switch, 1x OLT)
Step 3: Prepare Docker Images
Nokia SR OS Image
Nokia SR Linux Image
Public Container Images
These images will be pulled automatically during deployment, but you can pre-pull them to speed up the process.
Step 4: Deploy the Lab
Start Deployment
Deploy the complete lab topology:
This command will:
- Create the management network (10.77.1.0/24)
- Pull missing Docker images
- Start all containers in the correct order
- Apply startup configurations
- Configure interfaces and links
What Happens During Deployment
Network Creation
Network Creation
Containerlab creates a Docker bridge network:
- Network name:
lab - Subnet:
10.77.1.0/24 - Management IPs: Pre-assigned to each node (10.77.1.2 - 10.77.1.17)
Container Startup
Container Startup
All containers start in this order:
- Network nodes (BNG1, BNG2, Switch, OLT, TX)
- Client devices (ONT1, ONT2, PC1, iPerf)
- Infrastructure services (RADIUS, gNMIc, Prometheus, Grafana)
- Loads its startup configuration
- Configures network interfaces
- Establishes management connectivity
Configuration Application
Configuration Application
Startup configurations are automatically applied from:
configs/sros/config-bng.txt→ BNG1configs/sros/config-bng-2.txt→ BNG2configs/switch/switch.txt→ Switchconfigs/olt/olt.txt→ OLTconfigs/switch/srl.txt→ TX (SRLinux)
Telemetry Stack Initialization
Telemetry Stack Initialization
The telemetry stack components start automatically:
- gNMIc connects to all Nokia nodes and subscribes to metrics
- Prometheus begins scraping metrics from gNMIc
- Grafana loads pre-configured dashboards and connects to Prometheus
Step 5: Verify Deployment Success
Deployment Time Breakdown
| Phase | Duration | Notes |
|---|---|---|
| Image pull | 3-5 min | Only first time or when images are missing |
| Network creation | 10 sec | Creates Docker bridge |
| Container startup | 2-3 min | Nokia nodes take longest to boot |
| Configuration load | 2-3 min | BNG nodes apply full config |
| Service initialization | 1-2 min | RADIUS, telemetry services start |
| Total | 10-15 min | Varies by system performance |
Subsequent deployments are faster since images are already cached locally.
Post-Deployment Configuration
ONT Devices Setup
The ONT devices require manual IPv6 DHCPv6 PD setup:Access Services
Once deployed, you can access:Network Devices
Network Devices
Monitoring Services
Monitoring Services
- Grafana: http://localhost:3030
- Username:
admin - Password:
admin
- Username:
- Prometheus: http://localhost:9090
- No authentication required
Client Devices
Client Devices
Troubleshooting Installation
License Error
License Error
Error:
failed to load license fileSolution:Image Not Found
Image Not Found
Error:
failed to pull image localhost/nokia/srsim:25.10.R2Solution:Port Already in Use
Port Already in Use
Error:
bind: address already in useSolution:Container Fails to Start
Container Fails to Start
Error: Container exits immediately or fails health checkSolution:
Network Not Created
Network Not Created
Error:
network lab not foundSolution:Stopping the Lab
To stop and remove all lab components:Complete Cleanup
Complete Cleanup
To remove all lab data including saved states: