What to do if I can't connect to OPNSense when connected to the LAN?

This troubleshooting guide describes when there is disrupted connection to OPNSense


I can’t connect to OPNSense. I was able to connect but after a restart I stopped getting assigned an IP Address via DHCP.

Background: I tried, to adjust the interface settings for the PLC Network to an DHCP behavior. After restarting the PC (to force new DHCP leases on the PLC Network) I stopped getting an IP address via the LAN Interface. I can still connect to the Proxmox layer but cannot identify any errors on the OPNSense VM.


  1. Kill the DHCP server

dhcpd[31998]: bad range, address not in subnet netmask

  1. Give the DHCP server an IP address outside of the actual IP range of the router. With this you crashed the DHCP server of the entire device (also for LAN). For example, it can be needed to set manually the IP to a LAN address and then change the DHCP range for PLC from to
Last modified October 5, 2022: Historian article (#107) (5f30dc0)