Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
Can't get one subnet to be given out by DHCP
« previous
next »
Print
Pages: [
1
]
Author
Topic: Can't get one subnet to be given out by DHCP (Read 726 times)
Sisko
Newbie
Posts: 2
Karma: 0
Can't get one subnet to be given out by DHCP
«
on:
February 08, 2024, 02:00:38 am »
Hello and thanks for reading...
1st off: I'm new to opnsense, but I have worked in IT front and backend services for decades.
I'm running the most current build of Opnsense you can get right now 24.1.1
I setup 3 subnets one for each interface (LAN, OPT1, OPT2)
LAN's is .10.1 /24 (living room switch)
OPT1's is .20.1 /24 (TP Deco AP)
OPT2's is: .30.1 /24 (side office switch)
I actually don't need to subnet it this much for such a small network and would have prefered everything under one, but I wasn't sure how to using Opnsense, so I went with this solution. One of those goes to my living room, one goes to TP-LINK Deco's AP and one goes to a Netgear switch in the extra room we use for a home office. That switch has another TP-LINK Deco plugged in, plus other office gear (8 ports). That switch is the one that should be getting a .30 address. It's the Nighthawk S8000 and it is somewhat manageable, but when I log into it, it's a .20 as well.
All the rules are default except for one, a floating rule that ensure all LAN traffic can pass between LAN, OPT and OPT1
I only have two subnets working. The one going into that side office (.30) won't come up, but instead, the .20 subnet is being leased out to it and the .10 is working and is contained to it's interface (which was the one I used to install and initial setup)
Under dashboard, the .30 (OPT2) shows "no carrier" and is red. Yet, I can get a .20 address from it and everything works. I can ping a .30.1 address. I plugged a laptop into the port and still only get a .20 vs .30 so it has nothing to do with that segment of my network.
I checked the DHCP4 lease ranges and they are all correct, giving out their correct subnet from .101-.200 on each.
Why is OP2 "down", yet not really and is being given the wrong subnet of IP's? Bonus points if someone can also point me to or tell me how to use one subnet for my entire network. Either way, after I iron this out, I'm planning on creating VLANs to help increase my security footprint.
Regards,
Sisko
Logged
Sisko
Newbie
Posts: 2
Karma: 0
Re: Can't get one subnet to be given out by DHCP
«
Reply #1 on:
February 08, 2024, 02:20:36 am »
I solved the problem by moving the cable over to the one other free port on the device then assigned that port in assignments and it worked. I think there's a bug in Opnsense since all 3 of those subnets were the same minus the actual subnet. I'm going to try and reset to defaults and set it all up again.
Reset to defaults and now all the ports with something plugged in are green and after a reconfig it's leasing out the correct IP ranges.
«
Last Edit: February 08, 2024, 05:37:16 am by Sisko
»
Logged
passeri
Full Member
Posts: 100
Karma: 4
Re: Can't get one subnet to be given out by DHCP
«
Reply #2 on:
February 08, 2024, 02:48:27 am »
To clarify your configuration, on what port is your WAN?
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
Can't get one subnet to be given out by DHCP