Skip to main content

DHCP Option 60 and 82

You are here:
< All Topics
Document Date2022.04.04
Tested with ONT HALNy HL-1GE/2, HL-1GC, HL-4G, HL-4GMVSupported on Version: V2.0.19 or above
Tested with ONT HALNy HL-4GQV, HL-4GQVS/2, HL-4GXV/-F, HL-4GMV2/3/4, HLE-3GM, HLE-3GX-FSupported on Version: V3.0.13 or above
Tested with ONT HALNy HL-1B, HL-2BV, HL-4G2Supported on Version: V4.0.3 or above
Tested with ONT HALNy HL-4BX3V-F, HL-4GX3VRSupported on Version: V5.0.9 or above

Description

DHCP Options 60 and 82 work together to identify devices and manage IP assignments on a network. Option 60 (Vendor Class ID) identifies the device type, while Option 82 (Relay Agent) identifies the exact network location of the client.


Default values

Since firmware version listed above, ONTs and routers supports DHCP option 60 and 82 on WAN interfaces, both from www interface and via XML provisioning.

NOTE: OPTION 60 is NOT supported in V2.X.X firmware series.

Default values:

  • option 60 – “dslforum.org”
  • option 82:
    • CIRCUIT-ID – ONT_SN, for example: “HALN62030d50”
    • REMOTE-ID – ONT_MODEL_NAME, for example: “HL-4GQVS2”

Configuration

XML file:

<WAN>
	<WAN1>
		.
                .
                .
		<OPTION82_ENABLE>YES</OPTION82_ENABLE>
		<OPTION82_CIRCUIT_ID>OPTION_82_CIR</OPTION82_CIRCUIT_ID>
		<OPTION82_REMOTE_ID>OPTION_82_REM</OPTION82_REMOTE_ID>
		<OPTION60_ENABLE>YES</OPTION60_ENABLE>
		<OPTION60_VALUE>OPTION_60_VAL</OPTION60_VALUE>
       </WAN1>
</WAN>

WWW Interface:

ONT with firmware series V2.X.X

ONT with firmware series V3.2.x / V4.0.x / V5.0.x

REST API v2:

URL:

http://{{ont_ip}}:48626/api/v2/wan/1

JSON:

{
    "dhcp_opt82_enable": "YES",
    "dhcp_opt82_circuit_id": "HALNa26f99b8",
    "dhcp_opt82_remote_id": "HL-4GXV-F",
    "dhcp_opt60_enable": "YES",
    "dhcp_opt60_value": "HL-4GXV-F"
}

Apply changes:

URL:

http://{{ont_ip}}:48626/api/v2/wan/1/apply

JSON:

{
    "apply":"yes"
}

TR-069:

InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2.WANIPConnection.1.X_HALNY_DHCPOption82_Enable	true
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2.WANIPConnection.1.X_HALNY_DHCPOption82_RemoteID	HL-4GXV-F
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2.WANIPConnection.1.X_HALNY_DHCPOption82_CircuitID	HALNa26f99b8

InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2.WANIPConnection.1.X_DHCPOPTION60.1.Enable	true
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2.WANIPConnection.1.X_DHCPOPTION60.1.Type	1
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2.WANIPConnection.1.X_DHCPOPTION60.1.Value	HL-4GXV-F

Found something we can improve? Let us know at support@halny.com
Table of Contents
Comments are closed.