Skip to main content

ONT1 - IPoE Multi-WAN

General Information

ParameterValue
Hostnameont1
Imageghcr.io/abelperezr/ont-ds:0.3 or later
Management IP10.99.1.5
SSH port56615
Web GUIhttp://localhost:8090
Connection TypeIPoE

Function in Topology

ONT1 is an optical network terminal with three simultaneous WAN interfaces, each connected to a different BNG service. The ont-ds (ONT Dual-Stack) image supports multi-WAN configuration with VLANs, independent MACs and PBR (Policy Based Routing) to route traffic from each WAN correctly.


1. WAN1 CONFIGURATION - IPv6 Only

# lab.yml
IFPHY: "eth1"
VLAN_ID: "150"
MAC_ADDRESS: "00:D0:F6:01:01:01"
WAN1_MODE: "ipv6"
IFLAN: "eth2" # LAN to PC1
ParameterValue
Physical interfaceeth1
C-VLAN150
S-VLAN (OLT)50
MAC00:D0:F6:01:01:01
stackIPv6 only
Group Interfaceipv6-only
NATNAT64 (64:ff9b::/96)
Pool IPv6 WAN2001:db8💯:/56
Pool IPv6 PD2001:db8:200::/48

2. WAN2 CONFIGURATION - Dual-Stack

# lab.yml
IFPHY2: "eth3"
VLAN_ID2: "200"
MAC_ADDRESS2: "00:D0:F6:01:01:02"
WAN2_MODE: "dual"
WAN2_DHCP_PERSIST: "true"
ParameterValue
Physical interfaceeth3
C-VLAN200
S-VLAN (OLT)51
MAC00:D0:F6:01:01:02
stackDual-Stack (IPv4 + IPv6)
Group Interfacedual-stack
IPv4 NATCGNAT Deterministic (100.80.0.x → 99.99.99.99)
IPv4 Poolcgnat (100.80.0.0/29)
Pool IPv6 WAN2001:db8:cccc::/56
Pool IPv6 PD2001:db8:dddd::/48

3. WAN3 CONFIGURATION - VIP (IPv4 Only)

# lab.yml
IFPHY3: "eth4"
VLAN_ID3: "300"
MAC_ADDRESS3: "00:D0:F6:01:01:03"
WAN3_MODE: "ipv4"
WAN3_DHCP_PERSIST: "true"
ParameterValue
Physical interfaceeth4
C-VLAN300
S-VLAN (OLT)52
MAC00:D0:F6:01:01:03
stackIPv4 only
Group Interfacevip
NATOne-to-One (192.168.5.x → 88.88.88.x)
IPv4 Poolone-to-one (192.168.5.0/29)

4. LAN

IFLAN: "eth2"    # Connects to PC1

ONT1 announces the delegated prefixes (PD) via Router Advertisement on its LAN interface (eth2) to PC1.


5. ADDITIONAL SETTINGS

USER_PASSWORD: "test"
DISABLE_MGMT_IPV6: "true" # Disables IPv6 on the management interface