my printer keeps searching for internet and won't connect.
HP printers may try to pull an IPv6, but may or may not support prefix delegation. You could try to disable the IPv6 on the printer ONLY.
Or hardwire your printer with an Ethernet cable.