DHCPOFFER not being accepted
-
@cwagz said in DHCPOFFER not being accepted:
The printer has always had a static IP assigned in pfSense.
Wait .....
The printer has TWO network interfaces.
The WIFI interface has been shut down.
The wired NIC is set to static IP settings : this means the printer is not using a "DHCP client" to obtain an IP (and network mask, and gateway, and DNS). It "Static" or "DHCP", not both.So this line :
DHCPOFFER on 192.168.4.246 to 34:e1XXvia em1
can not come from your printer, but some other device.
Is "34:e1XX" your printer ?
@cwagz said in DHCPOFFER not being accepted:
I then noticed that the printer had a 169.X.X.X address.
169.x.x.x is special.
The 169.x.x.x. is auto assigned by the DHCP client in a device when it does not obtain a valid lease with xx time.
On of the side effect of "169.x.x.x" is : "you can't communincate with it".
So, this printer with a static IP setup has no static IP setup.No need to access the GUI interface of the printer (a Ethernet connection must exist to be able to do this !) : use the buttons on the printer to print the printers settings. You can do so when the printer is connected to nothing, except the power.
What are the defaults 'after power on' network settings ?
@cwagz said in DHCPOFFER not being accepted:
or it is actually the HP 9025 causing the problem
The options are still opens ;)
-
@gertjan my printer was always set to DHCP. I had a static DHCP reservation in pfsense for it for the wired MAC. A few day ago it stopped getting an IP and was showing the 169 address. While troubleshooting I went into the printer menu and tried to statically assign the printers normal reserved address. The printer would still not work. I set the printer back to DHCP and pulled the Ethernet cable. This causes the printer to turn on its WiFi interface and request an address. This request was successful via pfsense dhcp.
I then altered the static reservation in pfsense so the wireless MAC would be assigned the correct address so my client computers would still print seamlessly. This all worked out and has been fine since. The printer is still successfully using DHCP over WiFi.
Now I have a pc that worked until today and now only gets DHCP when in windows? In Linux DhCP is not working and if I assign a static ip in Linux it still does not work. It worked yesterday.
It is like my switch is blocking the traffic. Or pfsense is somehow blocking the device. Like some kind of security setting since maybe it looks like a different device with the same MAC once I boot to Linux.
I really don’t know where to start.
I was going to update the switch firmware and factory reset it.
-
@cwagz said in DHCPOFFER not being accepted:
my printer was always set to DHCP. I had a static DHCP reservation
Oops.
Static reservation .... I was reading - no : understanding that you meant : a static IP setup.
That's ok : a static DHCP reservation on pfSense is the best option. That's what I'm using for all my 'server' type of devices.@cwagz said in DHCPOFFER not being accepted:
..... The printer is still successfully using DHCP over WiFi.
Ok, I guess the printer's Ethernet NIC is bad. But, you have the Wifi, a very valid "Plan B" solution.
@cwagz said in DHCPOFFER not being accepted:
Now I have a pc that worked until today and now only gets DHCP when in windows? In Linux DhCP is not working ....
Is this a dual boot system ?
The fact that the NIC emits a DHCP discover when Windows boots, and not when booted with Linux, means : that the issue is not the NIC.
I'm 99 % sure it's a DHCP client setting - or somewhat lower then that.
Check the "dmseg" log and see if the network device is found ans assigned a driver name like "em0" during boot.
When you use "ifconfig" what do you see ? -
I updated my Netgear GS724TV4 to the latest firmware and factory reset it. All of these weird issues are now gone. The switch must have lost it's mind at some point last week. Linux was configured fine on the dual boot machine it just wasn't able to get past the switch for some reason.
My printer is able to connect via the wired connection now as well.
-
@cwagz Did you ever get this fixed? I have not.
-
@elliott32224 said in DHCPOFFER not being accepted:
@cwagz Did you ever get this fixed? I have not.
I have not had further issues since updating my switch firmware. I do wonder if it had something to do with the HP Printer.
-
@cwagz Thanks.
-
@gertjan Well, problem has been solved. My set up involved 2 unmanaged switches. The eero connected to the first switch to provide internet access to wired devices. The error: I had two cables from the first switch connecting to the second switch. When I found this to be the case, unplugging one immediately fixed the problem.