Overview & Thematic Scope
This FAQ is designed for network engineers and system integrators tackling the complexities of subscriber access security on Optical Line Terminals (OLTs). We focus specifically on the intersection of MAC anti-spoofing mechanisms and DHCP Option 82 (the DHCP Relay Agent Information Option). These features are critical for preventing IP and MAC address theft, ensuring accurate subscriber billing, and enforcing per-port security policies in Fiber-to-the-Home (FTTH) and enterprise access networks. The following expert-level questions address common pre-sales concerns, post-deployment troubleshooting, and compatibility nuances to maintain a stable and secure network edge.

Frequently Asked Questions
- Q1: What is the primary purpose of enabling MAC anti-spoofing alongside DHCP Option 82 on an OLT?
- The primary purpose is to create a binding between a subscriber’s physical port, their MAC address, and their assigned IP address to prevent unauthorized network access and IP theft. MAC anti-spoofing filters traffic based on the source MAC address, ensuring a subscriber can only send traffic from a pre-authorized MAC. DHCP Option 82 works by inserting a unique circuit identifier (e.g., the OLT chassis, slot, and port ID) into DHCP requests. When combined, these features allow the OLT to enforce that DHCP offers are only accepted on the port where the request originated, effectively preventing IP spoofing and ARP poisoning attacks across the access network.
- Q2: What are the typical error symptoms indicating a configuration mismatch between MAC anti-spoofing and DHCP Option 82?
- Typical error symptoms include subscriber inability to obtain an IP address, frequent DHCP lease renewals failing, or the OLT logging ‘DHCP snooping binding errors’ and ‘MAC address violation’ alarms. Specifically, if MAC anti-spoofing is enabled without proper Option 82 trust configuration, the OLT may drop DHCP Offer or ACK packets that don’t match the internal binding table. This often manifests as a ‘port security violation’ where the OLT shuts down the port or discards all traffic from a legitimate ONT because the source MAC of the DHCP reply does not match the expected client MAC on that logical link.
- Q3: How can I resolve the common ‘DHCP Option 82 Circuit ID Mismatch’ error when deploying ONUs from different vendors?
- Resolve this issue by standardizing the Circuit ID format in the OLT’s DHCP relay configuration to match the format expected by your DHCP server. Different ONU vendors encode the circuit ID (slot/port/ONU ID) in varying proprietary formats. The definitive solution is to configure the OLT to use a user-defined or globally standardized Circuit ID string (e.g., using the format ‘[Chassis-Slot-Port:ONU-ID]’) instead of the vendor-default. If the DHCP server cannot parse the OLT’s default format, it will drop the request. You must also verify that the ‘remote-id’ and ‘circuit-id’ sub-options are either both enabled or disabled consistently on the OLT and server side.
- Q4: Does enabling MAC anti-spoofing on an OLT cause compatibility issues with static IP subscribers or legacy CPE routers?
- Yes, enabling MAC anti-spoofing inherently breaks connectivity for static IP subscribers unless specific static bindings are manually configured. MAC anti-spoofing operates on a dynamic DHCP snooping table. For static IP endpoints that do not send DHCP requests, the OLT has no binding to learn, causing it to drop all traffic as spoofed. To resolve this, you must pre-configure static MAC-to-IP-to-port bindings on the OLT, effectively entering the subscriber’s static data into the anti-spoofing whitelist. Additionally, some legacy CPE routers may change their source MAC after a firmware reboot; ensure the OLT’s aging time for MAC addresses is longer than the expected reboot cycle.
- Q5: What is the correct order of operations for configuring DHCP Option 82 and MAC anti-spoofing to avoid service disruption?
- The safe order is: 1) Globally enable DHCP snooping on the OLT; 2) Configure trusted uplink ports (towards the DHCP server) to allow DHCP replies; 3) Enable Option 82 insertion with the desired format on untrusted subscriber ports; 4) Enable MAC anti-spoofing (port security) LAST, after verifying that subscribers are successfully obtaining IPs. By enabling MAC anti-spoofing last, you populate the binding table with legitimate entries first, preventing the OLT from immediately blocking legitimate users during the transition. Always test this change on a single test PON port before rolling out globally.
- Q6: How does enabling MAC anti-spoofing and DHCP Option 82 impact the OLT’s CPU utilization and forwarding performance?
- Enabling these features results in a moderate increase in CPU utilization (generally 5-15%) due to the packet inspection and binding table management, but it typically has negligible impact on wire-speed forwarding performance because the packet filtering is ASIC-based. The OLT’s CPU handles the DHCP packet interception, Option 82 insertion, and table updates. Performance only becomes a bottleneck during massive broadcast storms or DoS attacks. For high-density OLTs with 64 or more PON ports, ensure that the dynamic binding table size (default often 8k or 16k entries) is scaled appropriately to match the total number of potential subscribers.
- Q7: What is the best practice for troubleshooting DHCP Option 82 when the DHCP server does not receive the correct relay information?
- The best practice is a layered debug approach: 1) Capture a packet trace on the OLT’s uplink interface to confirm that the DHCP DISCOVERY leaving the OLT actually contains the Option 82 field. 2) Verify that the DHCP relay agent IP address (giaddr) is correctly set to the OLT’s management IP, as the DHCP server uses this to return the offer. 3) Check the DHCP server logs for ‘unrecognized option’ errors. Many DHCP servers (like Windows Server) require manual configuration to accept and use Option 82 sub-options. If the server is not configured to strip the Option 82 field before assigning an IP, it may reject the request. Ensure the OLT is set to ‘replace’ or ‘keep’ existing Option 82 fields appropriately based on network trust levels.
Leave a comment