OPNsense Forum

English Forums => General Discussion => Topic started by: DavyBlorBlop on March 24, 2021, 01:35:50 am

Title: opnsense loses wan ip after reboot
Post by: DavyBlorBlop on March 24, 2021, 01:35:50 am
Hi all

I installed my opnsense on a dell r610, and it is great except for one stupid thing: it losses WAN IP after rebooting and I don't know why. I have to restore the most recent backup to get the WAN IP back for some reason even though my WAN is on DHCP.

This is my version:
OPNsense 20.7-amd64
FreeBSD 12.1-RELEASE-p7-HBSD
OpenSSL 1.1.1g 21 Apr 2020

At first it was suggested to me that the issue was I was running a live image, so I redid the install and made sure I am not on live image.
But that did not fix the issue.
Then it was suggested that I export the config and reimport it and see if it held. I tested it and it worked that one time.

Then recently I had another power outage and AGAIN I lost the wan IP and had to restore from the last backup AGAIN.
I also tried to just outright reconfigure the wan interface to use dhcp, but it did not reacquire the dhcp IP.

This is getting ridicules. WT#BDTY$GB am I keep losing my wan IP? It is on freaking DHCP for gods sake.

Help?

network diagram: but its really simple
https://imgur.com/a/Rx3T46j
 
Title: Re: opnsense loses wan ip after reboot
Post by: lfirewall1243 on March 24, 2021, 09:05:06 pm
Do you have a VLan on it?

Is the interface the same after reboot and shows that something is connected under "assignment"?
Title: Re: opnsense loses wan ip after reboot
Post by: DavyBlorBlop on March 25, 2021, 02:54:51 pm
no vlan, just configure the interface for dhcp.
interface is the same after reboot. it just shows no IP on it.