Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
[SOLVED] New to opnsense, can't get DHCP IP address on WAN
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] New to opnsense, can't get DHCP IP address on WAN (Read 3584 times)
neek
Newbie
Posts: 21
Karma: 2
[SOLVED] New to opnsense, can't get DHCP IP address on WAN
«
on:
February 23, 2022, 07:16:48 pm »
Hi, I've just decided to migrate from pfsense due to their new 2.6 licensing. I'm pretty experienced with pfsense, having been a user for 5+ years.
I've just migrated my box to opnsense and I can't for the life of me figure out how to get the WAN interface to get a DHCP license from my cable modem. I had one for a little while, but once I started trying to setup firewall rules and VLANs, I've now lost DHCP and I can't see what the heck I'm doing wrong.
I've confirmed with my internet provider (Comcast) that they don't lock to a specific MAC address. I have confirmed that I can get a DHCP license from the cable modem when I direct connect my Mac. I have my WAN interface set to DHCP (for IPv4) and no IPv6 just to keep things simple for now. The interface is enabled, but when I go to Interfaces -> Overview -> WAN and click Reload (or Release+Reload) I end up with no DHCP license.
I have several VLANs all running on LAN1 but not a lot of firewall complexity. Basically, either my VLANs should be fully open (allow all IPv4 traffic) or I allow the firewall, then block private networks, then allow all other connections. There shouldn't be anything tricky here, and much of it looks almost exactly like what I'd had setup on my pfsense box.
I've also seen that apparently opnsense can't directly let me get to the cable modem IP, since it uses a private IP address (192.168.100.1) and the WAN interface doesn't expect to see private networks but if I hook my Mac directly up to the cable modem it looks like it's properly connected to Comcast so I don't think the problem is within the modem.
What's the best way to troubleshoot this? Any suggestions are very welcome.
----
EDIT: I ended up wiping the system and reinstalling from scratch and it now works. I'm not really sure what the problem was before.
«
Last Edit: February 26, 2022, 03:01:55 am by neek
»
Logged
Vesalius
Jr. Member
Posts: 76
Karma: 10
Re: New to opnsense, can't get DHCP IP address on WAN
«
Reply #1 on:
February 23, 2022, 07:33:49 pm »
Just to get get a simple potential fix out of the way, did you reboot the Modem before connecting OPNsense to it? Some modems will refuse to connect to a second device until rebooted, even if the first has been unplugged.
Logged
neek
Newbie
Posts: 21
Karma: 2
Re: New to opnsense, can't get DHCP IP address on WAN
«
Reply #2 on:
February 23, 2022, 11:23:32 pm »
Thanks for this suggestion. Yes I had tried it before posting. I've just reverted temporarily back to pfSense (again on the exact same hardware) and it was able to get the DHCP address. I'm re-checking every setting now to see what the heck I might've missed.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
[SOLVED] New to opnsense, can't get DHCP IP address on WAN