Cannot get a IP address from DDWRT wireless access point connected to Opnsense

Abstract: Resolve IP address conflicts by disabling the DHCP server on DD-WRT and connecting it via LAN ports to OPNsense.

Created: 2026-08-01 by

To resolve DHCP conflicts when using a DD-WRT router as a wireless access point with OPNsense, disable the DHCP server on the DD-WRT unit and connect it exclusively via its LAN ports. This ensures that only the OPNsense firewall handles IP address assignment, preventing duplicate servers from causing network instability or device connection failures.

Understanding the Network Topology

When you integrate a third-party firmware router like DD-WRT into an existing network managed by a dedicated firewall such as OPNsense, the primary goal is to extend the wired and wireless coverage without creating a second routing domain. In this scenario, the DD-WRT device should function strictly as a Layer 2 switch and wireless access point, not as a router. If both devices attempt to assign IP addresses to clients, your network will suffer from what is known as a double NAT situation or, more critically in this case, conflicting DHCP services.

The OPNsense box acts as the central authority for your local subnet. It manages the Dynamic Host Configuration Protocol (DHCP) service, handing out unique IP addresses, subnet masks, default gateways, and DNS servers to all connected devices. The DD-WRT router, if left in its default configuration, also runs a DHCP server. When two devices broadcast DHCP offers on the same broadcast domain, client devices may receive conflicting information, leading to inability to connect, intermittent connectivity, or being assigned an IP address that cannot reach the internet.

Disabling the DHCP Server on DD-WRT

The first critical step is to prevent the DD-WRT router from acting as a DHCP server. You must log into the DD-WRT web interface using a computer that is currently connected to it, preferably via a wired Ethernet cable to avoid losing connectivity during the process. Navigate to the Setup tab in the main menu. Within this section, look for the Network Setup submenu.

In the Network Setup page, locate the setting labeled DHCP Server. You will see options to enable or disable this feature. Select Disable. Before saving, ensure that the static IP address you have assigned to the DD-WRT router itself remains within the same subnet as your OPNsense network but outside the DHCP lease range defined in OPNsense. For example, if your OPNsense DHCP range is 192.168.1.100 to 192.168.1.200, set the DD-WRT LAN IP to something like 192.168.1.2. This allows you to manage the DD-WRT device later while ensuring no conflict occurs with dynamically assigned client IPs. After making these changes, click Save and then Apply Settings.

Physical Connection and Port Configuration

Once the DHCP server is disabled, the physical cabling becomes the most important factor in maintaining a stable network. You must connect the OPNsense LAN port to one of the LAN ports on the DD-WRT router. Crucially, you must not use the WAN (Internet) port on the DD-WRT router for this connection. Using the WAN port would create a separate subnet behind the DD-WRT, isolating clients from the OPNsense management interface and potentially breaking inter-VLAN communication if you have complex routing rules.

If your DD-WRT model has multiple LAN ports, any of them can be used for the uplink to OPNsense. The remaining LAN ports on the DD-WRT will now act as simple switch ports, allowing you to connect other wired devices directly to the DD-WRT as if they were plugged into the OPNsense switch. The wireless radios on the DD-WRT will also bridge their traffic to the LAN side, allowing Wi-Fi clients to request IP addresses from the OPNsense DHCP server.

Verifying Wireless Settings

Ensure that the wireless settings on the DD-WRT are configured correctly. Go to the Wireless tab and verify that your SSID, security type (WPA2-PSK or WPA3), and password are set as desired. Since the DD-WRT is now just an access point, it does not need to handle routing; it simply encapsulates wireless frames and sends them to the LAN port where OPNsense can process them. Check that the wireless mode matches your hardware capabilities (e.g., 802.11ac/n) to ensure optimal performance.

Troubleshooting Common Issues

After completing the configuration, you may encounter issues where devices fail to obtain an IP address. First, reboot your client devices or release and renew their DHCP leases. On Windows, you can do this by opening a command prompt and running ipconfig /release followed by ipconfig /renew. On macOS or Linux, toggle the Wi-Fi off and on again.

If devices still do not get an IP, check the DHCP logs in the OPNsense interface. Navigate to Status > DHCP Leases to see if requests are coming through. If you see requests but no leases are issued, verify that the OPNsense DHCP service is enabled and that there are no reserved IPs blocking the range. Additionally, ensure that the DD-WRT firmware is updated to a stable version, as older builds sometimes have bugs related to bridge modes.

For further reading on managing IP assignments, you might find it useful to review how to configure specific DHCP rules for different segments, which can help if you plan to expand your network later. See How to Configure DHCP Server Rules to Assign Different IP Ranges for Different Racks. Also, if you experience intermittent connectivity after changing network hardware, checking for IP conflicts is a standard diagnostic step, similar to resolving conflicts caused by other network devices as discussed in How to Solve an IP Address Conflict Caused by a VPN Connection.

Frequently Asked Questions

Can I use the WAN port on the DD-WRT router?

No, you should never use the WAN port when connecting a DD-WRT router as a pure access point to another router. Using the WAN port creates a secondary subnet, which prevents devices connected to the DD-WRT from communicating directly with devices on the OPNsense network and breaks the single DHCP scope required for proper operation.

What happens if I forget to disable the DHCP server on DD-WRT?

If both the OPNsense and DD-WRT DHCP servers are active, your devices will receive conflicting IP configurations. This often results in devices being unable to access the internet, receiving APIPA addresses (like 169.254.x.x), or experiencing intermittent connectivity drops as they switch between responses from the two servers.

How do I access the DD-WRT admin panel after disabling DHCP?

You can still access the DD-WRT admin panel by connecting a computer directly to one of its LAN ports via Ethernet. Ensure your computer is set to obtain an IP automatically or manually assign one in the same subnet as the DD-WRT static IP. Then, open a browser and navigate to the static IP address you configured for the DD-WRT device.

Does this setup support VLANs?

Standard DD-WRT setups do not handle VLAN tagging as robustly as enterprise switches or OPNsense itself. If you require VLAN segmentation, it is best to handle VLAN creation and tagging on the OPNsense side and use managed switches or OPNsense interfaces to distribute traffic. The DD-WRT should remain untagged and bridge all traffic to the main LAN.

Why are my wireless clients getting slow speeds?

Slow speeds are rarely caused by the DHCP configuration itself. Instead, check the wireless channel selection on the DD-WRT to ensure it is not congested with neighboring networks. Also, verify that the DD-WRT firmware is up to date and that the wireless mode is set to match the capabilities of your client devices, avoiding legacy modes that throttle throughput.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More