Can't enable DHCP on LAN
-
I've been at this for hours, looking up solutions, but obviously none of them have helped. The closest thing I could find to a solution was from 5 years ago and was solved by installing the 32 instead of 64 bit version of pfSense, which doesn't exist anymore.
Currently I have no LAN connectivity, I think because of a lack of DHCP. I can ping Google just fine from the box itself but no matter what I do I can't get anything past that connected. I can't even access the web UI.
https://imgur.com/xnEC9tN
I've tried:
Rebooting
Reinstalling
Resetting to factory defaults
Swapping interfaces
Resetting the LAN interface's IP address and enabling DHCP (doing this makes the interface still show as 'static' in option 2)
Setting my PC (the only thing connected on that interface) to manual IP settings within the DHCP range -
Doesn't matter if your client is dhcp or static. If you enable dhcp and your client doesn't get an IP then your not connected.
Your connected directly to the interface? Is pfsense or the client a gig interface? Or only 10/100 - if git then autocross wouldn't matter.. But if both are only 10/100 then its possible they do not support auto crossover and you would need a crossover cable.
Don't you have a switch to use?
When you connect your pc to pfsene interface.. do you get lights? Doe the PC show that its interface is up? So when you set its IP to be on the 192.168.0/24 network, say 192.168.0.2/24 or 255.255.255.0
And you try and ping pfsense lan IP 192.168.0.1 - look in the arp table on your PC.. do you see the mac address of pfsense lan interface?
(doing this makes the interface still show as 'static' in option 2)
Yes.. To run dhcp server on an interface, it has to be set static.
do you have more than 2 interfaces in this device running pfsense? You sure your using the correct one if you have more than 2..
You can also go to cmd prompt on pfsense (8 on the menu) and look at the arp table, try and ping your client.. do you see its mac address?
-
Yes, I am connected directly to the interface. I have a switch but it's a very simple one and doesn't have firewall or DHCP, currently bypassed. The lights on both ends show an active gigabit link, and there are only two interfaces on my pfSense box.
I can't ping either machine from the other using ip addresses. Here are the arp tables for both devices, I don't see anything but I'm new to networking and you may see something that I don't. https://imgur.com/a/8K8BOjY
-
There is no mac in there for pfsense.
Did you try pinging pfsense IP 192.168.0.1, then look in the arp table.
So for example - here is mine.
192.168.9.253 is pfsense IP..
If you do not see an entry in the arp table for pfsense IP 192.168.0.1 then no your never going to be able to talk to it.
Can you post up your IP config.. you sure you set mask correctly. I see from your output that you used /24 (255.255.255.0) so that is fine. But did you also set your client for that?
If you connect and you show lights.. pfsense and pc and they both show gig.. But you can not get arp.. What does the arp table show on pfsense? Is it possible you setup static arp on pfsense?
But if you can not get a mac in your arp table - then no its never going to work.. Possible really something odd with the cable - but if comes up showing connected with gig.. That is unlikely.. Would really point to something wrong with either the nic on pfsense or your PC... Do you have some other device you can use to test?
Dumb switch would be fine... What we are looking to do is get more than just pfsense and 1 other device.. So you can check for example if you see mac of the other device in any of the devices arp table.
For example, if you used a switch and connected say a PC and Laptop to the switch - and the pc and laptop could see each others mac, but neither can see pfsense. Then points to something really broken with the pfsense nic..
Lets see the arp table of pfsense.. you can view it from cmd line on pfsense..
Before you look at the arp - try and ping the IP your wanting to see the mac for.. This ensures that the device should of sent out an arp to try and get an answer for the mac.. If it wasn't already in the arp table.
-
The arp table I posted was after trying to ping pfsense, nothing changed.
Here is the ipconfig for my pc. I'm 99% sure both it and pfsense are set for /24. https://imgur.com/AKCzxcL
Here is the arp for pfsense after pinging https://imgur.com/ak0riqR
Here is the arp of my pc, now plugged into the switch with several other devices on it https://imgur.com/PqacPK3
Here is the arp for one of those devices. 192.168.1.1 is the wifi router https://imgur.com/tAV1hO6
I do have pfsense on a vm and am passing through the nic, could that be it? But I can still ping google on wan.
-
Pfsense is on a VM? How is this wifi router in the mix?
Yeah its most likely a problem with your VM config..
Until you can get your physical box to see the mac address of pfsense interface, your never going to be able to talk.
What are you running for your VM software? esxi, virtualbox, hyper-v? How do you have the setup for the pfsense nic and any virtual switching? Are you natting on the VM, etc..
-
The wifi router only handles wireless for the house, I left it in out of pure laziness when redoing network stuff a year or so ago.
I'm using unraid, which I think is KVM virtualization, and I'd love to tell you all about it but this is reaching past the amount of effort I'm willing to put into this project. Just gonna go get a new off the shelf wifi router in the morning.
You're awesome for helping me out though, and I learned a lot, which was kind of the point of doing this anyway.
-
But how is the wifi router actually connected with pfsense? Was it not? Because if you were behind that, then no you wouldn't of been able to talk to pfsense..
While pfsense on vm works, and can be useful.. The down side of it - when you need to reboot the VM host, your internet is down.. I ran pfsense on vm for a few years, and while I loved being able to play with snaps and such, because it was so easy to roll back... The problem was - if needed to update my vm software, the whole internet was down, etc.
You could get say a sg1100, and then just use your old wifi router as AP..
-
What do you mean you can't enable DHCP? You just click on the appropriate buttons to enable and select the address range. Are you saying you don't get a DHCP address at all? Or something doesn't work after you get an address? What happens if you use a static address & config?