OLT and ONT Configuration
The Nokia BNG Lab uses a Nokia 7250 IXR-EC router as the Optical Line Terminal (OLT) to aggregate subscriber traffic from Optical Network Terminals (ONTs). This page covers the configuration of both the OLT and the ONT devices.OLT Configuration
Hardware Overview
Device Type: Nokia 7250 IXR-EC Management IP: 10.77.1.5 Hardware Components:- CPM-IXR-EC control module
- M4-1G-TX+20-1G-SFP+6-10G-SFP+ MDA
- SSH: Port 56678
- gRPC: Port 56671
- NETCONF: Port 56672
System Configuration
Management Interfaces
OLT Port Configuration
The OLT has three critical port connections:Uplink to Switch
The uplink port uses QinQ (802.1ad) encapsulation to support VLAN stacking, allowing multiple service VLANs per subscriber.
ONT1 Connection (IPoE)
ONT2 Connection (PPPoE)
ONT-facing ports use access mode with dot1q (single VLAN tag) encapsulation. The OLT adds the outer VLAN tag for QinQ toward the BNG.
VPLS Services
The OLT uses Virtual Private LAN Service (VPLS) to aggregate subscriber traffic for each BNG:VPLS for BNG1 Subscribers
VLAN Tag Explanation
VLAN Tag Explanation
Uplink SAP (1/1/1:50.150):
- Outer VLAN (S-VLAN): 50 - Identifies BNG1 service
- Inner VLAN (C-VLAN): 150 - Subscriber VLAN
- Single VLAN tag: 150 - Subscriber VLAN
VPLS for BNG2 Subscribers
Network Topology
ONT Configuration
The ONT devices are Linux containers that simulate optical network terminals. They are configured via environment variables in the lab.yml file.ONT1 - IPoE Configuration
- Connection Type: IPoE (DHCP-based)
- VLAN ID: 150
- MAC Address: 00:D0:F6:01:01:01
- Physical Interface: eth1 (to OLT port 1/1/2)
- LAN Interface: eth2 (to PC1)
- SSH Access: Port 56673
- Web Dashboard: Port 8081
- Connected to: BNG1 (via OLT VPLS service-id 50)
ONT2 - PPPoE Configuration
- Connection Type: PPPoE (username/password authentication)
- PPPoE Credentials:
- Username: test@test.com
- Password: testlab123
- VLAN ID: 150
- MAC Address: 00:D0:F6:01:01:02
- Physical Interface: eth1 (to OLT port 1/1/3)
- LAN Interface: eth2
- SSH Access: Port 56674
- Web Dashboard: Port 8082
- Connected to: BNG2 (via OLT VPLS service-id 60)
VLAN Configuration Summary
- VLAN 150
- VLAN 50
- VLAN 60
Subscriber VLAN (C-VLAN)Used by all ONT devices for subscriber traffic.
- ONT1 tags traffic with VLAN 150 → OLT port 1/1/2
- ONT2 tags traffic with VLAN 150 → OLT port 1/1/3
Connection Type Comparison
- IPoE
- PPPoE
IP over Ethernet (IPoE)Pros:
- Simpler configuration
- No PPP overhead
- Faster session establishment
- Native IP addressing
- Based on MAC address
- DHCP Option 82 (Circuit ID/Remote ID)
- RADIUS attributes
- ONT1 demonstrates IPoE with DHCP
- Suitable for residential subscribers
Interface Mapping
| Device | Physical Port | Encapsulation | VLAN(s) | Connected To |
|---|---|---|---|---|
| OLT | 1/1/1 | QinQ | 50.150, 60.150 | Switch |
| OLT | 1/1/2 | dot1q | 150 | ONT1 |
| OLT | 1/1/3 | dot1q | 150 | ONT2 |
| ONT1 | eth1 | dot1q | 150 | OLT 1/1/2 |
| ONT2 | eth1 | dot1q | 150 | OLT 1/1/3 |
Traffic Flow
IPoE Session (ONT1 → BNG1)
- ONT1 sends DHCP Discover with VLAN 150
- OLT receives on port 1/1/2, adds outer VLAN 50 → 50.150
- Switch forwards QinQ frame to BNG1
- BNG1 capture SAP triggers on DHCP packet
- BNG1 performs RADIUS authentication (MAC-based)
- BNG1 responds with DHCP Offer
- ONT1 completes DHCP handshake and receives IP address
PPPoE Session (ONT2 → BNG2)
- ONT2 sends PPPoE PADI (Discovery) with VLAN 150
- OLT receives on port 1/1/3, adds outer VLAN 60 → 60.150
- Switch forwards QinQ frame to BNG2
- BNG2 capture SAP triggers on PPPoE packet
- BNG2 responds with PPPoE PADO (Offer)
- ONT2 sends PADR (Request)
- BNG2 performs RADIUS authentication (username/password)
- BNG2 responds with PADS (Session confirmation)
- PPP negotiation (LCP, IPCP, IPv6CP)
- ONT2 receives IP address and establishes session
Verification Commands
OLT Status
ONT Status
Configuration Files
The complete configuration files are located at:- OLT:
configs/olt/olt.txt - Lab Topology:
lab.yml(ONT definitions in nodes section)