-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Archived Topics
- Printers Archive
- Setting Static IP Address?

Create an account on the HP Community to personalize your profile and ask a question

01-04-2016 01:25 PM
I keep losing my network connections to my printers, and I'm pretty sure it's because they are on DHCP, and getting assigned new IP addresses every few weeks.
Do I solve this by manually assigning them static IP addresses? Or is there a more "elegant" fix for this?
Solved! Go to Solution.
Accepted Solutions
01-04-2016
04:36 PM
- last edited on
03-15-2017
04:43 PM
by
OscarFuentes
Well here is my whole post...
These settings are for setting up your wireless printer to stay connected to your router, keep wireless devices better connected and makes your router secure and hack proof.
While DHCP is convenient, devices such as printers should always be assigned a static (fixed) IP address manually to avoid conflicts on your wireless network.
- Set a static IP in the printer (click here) outside the DHCP range of the router (check your manual). This is for Linksys routers but can be used for all routers. Verify your DHCP range and change this first if needed. More Wireless Printing help is here (Windows solution 4, static IP).
- Verify in the printer that 'Auto Off/Sleep' is disabled and/or the System Mode Time Out is set to zero (0). Use the Embedded Web Server (EWS) by going to the printers IP address in your browsers address bar, click Settings Tab/Auto Off. Or use the Printer Assistant, Printer Home Page (EWS). Also check your Printers Properties.
- If the printer supports and has IPv6 enabled, turn off IPv6 in the printer.
- If needed and you assigned a static IP address, try using 8.8.8.8 for the Preferred DNS server and 8.8.4.4 as the Alternate DNS server.
- Wireless printers only work on the 2.4Ghz band.
- Verify the printer is on the latest firmware by checking with the HP Support site.
- Check all wireless devices in your home for interference. Check microwaves, baby monitors, wireless phones and wireless alarm systems are a big culprit. Any of these will knock out your wireless printer intermittently.
In the router: (Refer to your router manual for information)
- Use a fixed wireless channel like 1, 6 or 11, never 'auto', try channel 1 first then the rest.
- Set router to 20Mhz only, or 145Mbps depending on router.
- Always use WPA2-AES (Personal) encryption, but you can try ‘mixed’ mode.
- Disable WPS and never use it and disable UPnP for the routers security. Nobody can hack your system now and helps with wireless connectivity (if you want to know why, search the web).
- If you have a dual band router (2.4Ghz and 5.0Ghz bands), make sure the SSID’s are NOT the same, they must be different for all bands, even for any Guest networks.
- SSID broadcast must be enabled.
- Save all settings. Power off both, wait 2 mins. Power on router wait 2 mins.
- Power on printer and verify it reconnects to router.
Windows 7/8/8.1 Is Network Discovery on or off?
- Control Panel/Network and Internet/Network and Sharing Center/Advanced sharing settings.
- Under Home or Work (current profile) / Network Discovery.
- Select "Turn on network discovery" and save changes.
Last ditch effort - If your printer has an Ethernet connection, suggest you get some Power Line Adapters and convert your house wiring to Ethernet for your printer.
01-04-2016 01:30 PM
Hi,
I strongly recommend to give your printer a static IP address. I normally set my printers at higher end (above xxx.xxx.xxx. 100) and give each one an IP address.
Regards.
***
**Click the KUDOS thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.
01-04-2016
01:53 PM
- last edited on
03-15-2017
04:43 PM
by
OscarFuentes
Along with the above it is most important to make sure your static IP is outside the DHCP window of your router.
While DHCP is convenient, devices such as printers should always be assigned a static (fixed) IP address manually to avoid conflicts on your wireless network.
- Set a static IP in the printer (click here) outside the DHCP range of the router (check your manual). This is for Linksys routers but can be used for all routers. Verify your DHCP range and change this first if needed. More Wireless Printing help is here (Windows solution 4, static IP).
You have to do nothing for your other devices.
01-04-2016 03:49 PM
I set my first printer up as 192.168.1.51 (I'm going to use 51-99, which is outside the DHCP range).
I printed a test page, but it was unable to print. It gets stuck in the queue and finally says "Error - Printing". I know I have to do something in the "Ports" configuration, but I never seem to get it right, except after much trial and error. Please advise.
01-04-2016
04:36 PM
- last edited on
03-15-2017
04:43 PM
by
OscarFuentes
Well here is my whole post...
These settings are for setting up your wireless printer to stay connected to your router, keep wireless devices better connected and makes your router secure and hack proof.
While DHCP is convenient, devices such as printers should always be assigned a static (fixed) IP address manually to avoid conflicts on your wireless network.
- Set a static IP in the printer (click here) outside the DHCP range of the router (check your manual). This is for Linksys routers but can be used for all routers. Verify your DHCP range and change this first if needed. More Wireless Printing help is here (Windows solution 4, static IP).
- Verify in the printer that 'Auto Off/Sleep' is disabled and/or the System Mode Time Out is set to zero (0). Use the Embedded Web Server (EWS) by going to the printers IP address in your browsers address bar, click Settings Tab/Auto Off. Or use the Printer Assistant, Printer Home Page (EWS). Also check your Printers Properties.
- If the printer supports and has IPv6 enabled, turn off IPv6 in the printer.
- If needed and you assigned a static IP address, try using 8.8.8.8 for the Preferred DNS server and 8.8.4.4 as the Alternate DNS server.
- Wireless printers only work on the 2.4Ghz band.
- Verify the printer is on the latest firmware by checking with the HP Support site.
- Check all wireless devices in your home for interference. Check microwaves, baby monitors, wireless phones and wireless alarm systems are a big culprit. Any of these will knock out your wireless printer intermittently.
In the router: (Refer to your router manual for information)
- Use a fixed wireless channel like 1, 6 or 11, never 'auto', try channel 1 first then the rest.
- Set router to 20Mhz only, or 145Mbps depending on router.
- Always use WPA2-AES (Personal) encryption, but you can try ‘mixed’ mode.
- Disable WPS and never use it and disable UPnP for the routers security. Nobody can hack your system now and helps with wireless connectivity (if you want to know why, search the web).
- If you have a dual band router (2.4Ghz and 5.0Ghz bands), make sure the SSID’s are NOT the same, they must be different for all bands, even for any Guest networks.
- SSID broadcast must be enabled.
- Save all settings. Power off both, wait 2 mins. Power on router wait 2 mins.
- Power on printer and verify it reconnects to router.
Windows 7/8/8.1 Is Network Discovery on or off?
- Control Panel/Network and Internet/Network and Sharing Center/Advanced sharing settings.
- Under Home or Work (current profile) / Network Discovery.
- Select "Turn on network discovery" and save changes.
Last ditch effort - If your printer has an Ethernet connection, suggest you get some Power Line Adapters and convert your house wiring to Ethernet for your printer.
01-04-2016 09:05 PM
The actual problem was that I am always presented with two choices of printers to install. The first one has a port name that is a URL, http://192.168.1.xx. The second one has a regular IP address, without the HTTP. The first one had a complicated-looking host name, which made no sense to me, so I chose the second one for simplicity. Apparently that is not a good choice. I deleted the printer I had thus installed, and started over, and chose the one with the HTTP: port address. I do not understand this, but all I know is that it is working now, and thanks for your suggestions.
