Hi all,
I've spent the past few days trying to get WAN connectivity working with a manually assigned static IP in OPNsense and have hit a wall. I recently upgraded from an older version and noticed a significant drop in internet speeds, so I decided to do a fresh install of 25.7.1, wiping the SSD and configuring everything from scratch.
Setup:
Fresh install of OPNsense 25.7.1 from ISO on two firewalls (updated to 25.7.1_1 later).
My ISP provides two static IPs:
One manual static IP
One DHCP reservation
Using the DHCP-reserved IP works fine.
Using the static IP fails — no connectivity at all.
Sanitized IP Example:
Manual Static IP: 192.168.231.165/25
DHCP reservation: 192.168.231.162/25
Gateway: 192.168.231.129 (same for both static and DHCP IPs)
Configuration Steps:
System > Gateways > Configuration
Name: STATIC_WAN
Interface: WAN
Address: 192.168.231.129
Priority: default (255)
Saved and applied.
Interfaces > WAN
IPv4 Configuration Type: Static IPv4
IP Address: 192.168.231.165/25
Gateway: STATIC_WAN
Saved and applied.
The Problem:
No internet connectivity.
Cannot ping the gateway (192.168.231.129) — ping just hangs.
No errors or route feedback — just silence.
Switching back to DHCP brings the connection back immediately.
Interesting Observation:
If I obtain a DHCP lease first, then switch to the static configuration (same subnet), connectivity continues to work until the lease expires or is cleared. Not sure if that's a red herring, but it seems like OPNsense may be holding onto something internally (ARP cache, routing state, etc.).
Additional Notes:
The second OPNsense firewall (same ISP and subnet) also fails with the static IP.
It reports a "gateway misconfiguration" warning when configured the same way — while the first firewall shows the gateway as online, but still doesn't connect.
The static IP and gateway are known-good — I used this same static IP without issue prior to the upgrade and reinstall.
Question:
Has anyone experienced this with OPNsense 25.7+?
Is there something extra I need to configure or clear when switching to a manual static IP?
All troubleshooting was done on the home firewall, which originally had the static IP. I've since moved it to the DHCP reservation just to maintain connectivity.
Any help or ideas are greatly appreciated!