New VLAN not receiving DHCP address from its own pool
-
@jahnieboi said in New VLAN not receiving DHCP address from its own pool:
However, I'm unable to ping from the PC (192.168.3.10) to the gateway of the default LAN on em1 (192.168.1.1).
From my other computer that's on the main LAN (192.168.1.0/24), I'm able to ping the gateway on the VLAN (192.168.3.0/24), but I'm unable to ping the PC (192.168.3.10).
There is nothing in the rules that will stop that ping from working.
Most likely suspect is the default gateway set on the source PC (192.168.3.10) itself.
The latter problem could possibly also be a firewall on 192.168.3.10 itself preventing connections from subnets other than its own. It could also be the default gateway setting there.
-
That's what's confusing me. I had put in the correct default gateway on the PC and I've disabled the local firewall on the PC as well.
Any other thoughts? ;-P
-
You'll need to post everything. ipconfig/ifconfig, firewall rules as they exist now, switchport VLAN configurations, etc.
There are only so many things it can be and we've already given you about everything so something must be not set like you think it's set.
-
PC ipconfig output:
Firewall Rules:
Switch Port config (Netgear):
Please let me know if I missed anything or if you need anything else.
Again - Thank you so much!!!! :)
-
OK
What switch port is connected to the workstation?
What switch port is connected to pfSense?
-
Switch port 1 is connected to the PC
< and >
Switch port 48 is connected to pfSense (em1).
-
OK. I see no VLAN configuration on port 48. Why not?
[pfSense] needs to be connected to a switch port that is untagged VLAN 1, Tagged VLAN 40, and has its PVID set to 1.
-
I didn't know it was needed. I didn't want to interrupt the main network. Since port 48 is em1, which is the main LAN.
I went ahead and made this change:
Also, I read somewhere that routing needed to be enabled (is this correct)?:
I'm still unable to obtain a DHCP address with these settings - nothing has changed.
-
Now you're using the switch as Layer 3? Why did you enable routing there? You probably just want to slow down that clicky finger.
That looks like it should be working, but I am unclear why you are tagging VLAN 1 to port 1.
Here is what I would do if I were you:
Be sure you have a DHCP server configured and enabled on both LAN and OPT1 on pfSense. Be sure the pool ranges, etc are appropriate for the interfaces.
Reset the switch to factory defaults.
Make port 1 untagged VLAN 40, PVID VLAN 40
Make port 2 untagged VLAN 1, PVID VLAN 1 (This should be the default)
Make port 48 untagged VLAN 1, Tagged VLAN 40, PVID VLAN 1
Connect pfSense em1 to port 48
Connect a workstation configured for DHCP to port 1. It should get an address on OPT1
Disconnect workstation and connect to port 2. It should get an address on LAN.
Have a beer. You deserve it.
-
THANK YOU, THANK YOU, THANK YOU, AND ----> THANK YOU!!!
YOU SAVED MY LIFE AND MY TIME
YOU ARE A GRANDMASTER JEDILORD DERELICT - THE LEGEND!!!
People will search and find my post, they will come and see this final posting and will see how thankful and grateful I am to you!!!
Thanks so much!!! :)
-
So that worked?
-
@derelict - YES, but not completely.
DHCP doesn't work on the VLAN, but static IP addressing does work!!
I have not reset the switch back to factory defaults, I will need to coordinate down time to do this, but I'm sure the issue is at the switch level.
Thanks again - you're a living legend @Derelict !!! :)
-
If static addressing works and DHCP doesn't it's not your switching it's your DHCP server. Check that.
If it's working you don't need to reset anything to the defaults and start again.
-
@derelict - It started working after I restarted the DHCP server.
Sorry for the delay. I definitely appreciate your help!! I'm the only IT guy here right now.
One other question. After this change was made, everything is working perfectly - there's just one client that can no longer connect. I'm looking everywhere and don't see his MAC address in the DHCP logs. He's able to connect to the AP and the connection is strong. He's just not getting a DHCP address on his wireless NIC. He's able to connect to other networks with it, so it's not his card.
Is there anything that could prevent him from connecting on the pfSense side?
btw - if you DM and give me your address - I'll send you a pizza for all your help!!!
Thanks again!!
-
This post is deleted! -
Blocked in the AP or something? I'd look at pcaps for problems with one client.
-
No, I whitelisted his MAC address; however, I ended up backing his data and reimaging his laptop. That resolved the issue. I didn't want to resort to that, but a day of troubleshooting for 1 user, wasn't worth the headache of continuing on with this.
Thanks again @Derelict !!
-
@jahnieboi after restart switch, it will work. :)