1
19.1 Legacy Series / Re: No WAN after IP change
« on: March 26, 2019, 01:38:54 am »
I agree with everyone... I've been in technology for my whole career so I always start troubleshooting with "what changed". It was nothing on my end for sure. Which left: daylight savings change and cable modem that I could think of.
So, yesterday was a trial of patience with the WAN going down every hour (on the hour... 3600 renewal) A reboot of the VM OR the cable modem would fix it temporarily. And then suddenly (again with the "suddenly") it would not get a WAN address at all. No amount of rebooting the vm or the cable modem changed things. It was late and since it already didn't work, I did a factory reset on the modem. This resulted in immediately working again and stayed that way for ~18 hours. Alas, it died an hour ago and none of the previous fixes would work. DHCP request broadcast never got a response. I placed a call to the ISP and they "sent a reactivation code" which started things back up. It's working now but i'm dubious that it will continue. I mean, it was working fine for months and then something made it start this cycle. Crossing fingers but expecting to be buying a new cable modem soon.
Thanks for all of the suggestions.
So, yesterday was a trial of patience with the WAN going down every hour (on the hour... 3600 renewal) A reboot of the VM OR the cable modem would fix it temporarily. And then suddenly (again with the "suddenly") it would not get a WAN address at all. No amount of rebooting the vm or the cable modem changed things. It was late and since it already didn't work, I did a factory reset on the modem. This resulted in immediately working again and stayed that way for ~18 hours. Alas, it died an hour ago and none of the previous fixes would work. DHCP request broadcast never got a response. I placed a call to the ISP and they "sent a reactivation code" which started things back up. It's working now but i'm dubious that it will continue. I mean, it was working fine for months and then something made it start this cycle. Crossing fingers but expecting to be buying a new cable modem soon.
Thanks for all of the suggestions.


So I installed on a Gen1 and it went without a hitch. This was my first time with OpnSense and my first time with HyperV so I was very happy with this initial success. 
So I exported the VM and reinstalled HyperV on the host in UEFI mode. (by the way, MBR2GPT doesn't work on poweredge servers... due to raid???) This part went without a hitch.
Screwed with it for >12 hours until I finally hit upon something. On a desperate whim, I set my VNIC MAC to static and copied in the MAC of the physical NIC; it magically started working. 
Feeling like the hero, I decided to see if this would help with the similar issues I've read about on the Gen2. So I created a Gen2 VM and booted from the installer CD using the same MAC clone workaround. Immediately got a WAN and LAN response. YEA! But when I tried to install I hit the same freezeup at the "guided install". So, after a few trials, I booted again from the CD, but once it reached the login, I closed the console and opened up SSH. I performed the rest of the install from SSH without a hitch. Following the standard post-install reboot I had a Gen2 VM working. I pulled my config over from the Gen1 and now the Gen2 is up and running with all my setup. 
