Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MagnusVonMagnum

macrumors 603
Original poster
Jun 18, 2007
5,193
1,442
I just bought a new router and I'm thinking of returning it and getting something else because it has no way to reserve IP addresses for specific devices. In this case, I'm talking about my two printers more than anything, although everything I've just read suggests this router sucks anyway (Belkin PlayMax) and my own tests show a worse signal than my old Netgear WNR-3500 (basically I get sick of having to reset it 1-2x a month as connected wireless devices suddenly stop working for no apparent reason).

Anyway, it seems to me that I should be able to setup my computers to access the printers by their hostname instead of the specific assigned IP address and this should then avoid that particular problem regardless of the router. The problem is that I cannot seem to get either my Mac or Windows computer to work with the Host/Node Name I gave the printers. The names I gave show up in the router's connected device list with the hostnames that I gave them, but when I select that name in the add printer preference panel instead of a specific IP address (e.g. MYLASER instead of 192.168.2.13), it simply does not work. OSX cannot find/connect to the printer. If I use the IP address, it does work, but when the router reassigns it a different address at some point (reset, whatever), it will then stop working since the direct address is no longer valid.

My question is how do I get OSX to use a host/node name instead of a potentially dynamic IP address? My Netgear router let me reserve addresses so I simply reserved two addresses for the two printers and fed that address to the printer preference section and there would never be an issue since the printers would always have the same address. But IF I kept this router, that would not be possible. I would need to be able to use the hostname.

Similarly, if I access my Brother DL-5250DN laser printer's IP address from a web browser, I get a settings/preference page in return, but it does not respond if I put the hostname in the browser (which I thought the router would then respond as if it were the current assigned IP address) so something isn't right there either with this setup. How would I access the page by its hostname instead or is there even a way to do that?
 

psxguru

macrumors 6502a
May 19, 2006
512
0
I'm not familiar with that router but most routers with a dhcp server allow you to specify a start address of the dynamic addresses eg 192.168.1.10 (leaving 1-9 available statically)

If you can do that then it's up to you as admin to allocate those static addresses as you see fit.

If you want to use hostnames (without running your own dns server) you can simply use your hosts file (/etc/hosts) and add the static addresses/hostname for your printers there on each machine that wants to print.

If you can't reserve a range of addresses then you can probably get away with using the high numbers of the range eg .250 .251 etc for your printers as the dhcp server should allocate the lower numbers first (.1 .2 etc), these should get renewed before they ever get anywhere near the high numbers on a typical small home LAN.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.