Hi!
I need your help for a networking question. I'm a newbie on this so please be patient!
Since I'm moving in my new house, I need to create two different network with a router. Everything is going okay so far, there is one on 192.168.0.X and another on 192.168.1.X
The issue is, there a Synology NAS on the .0.X network with a samba server that I need to access with both network.
I used to reach it by typing \\nas on my computer.
Doing that from .0.X can reach it easy. But from the .1.X network it's unreachable and I have to input the IP address to reach it.
I don't know how to type my duckduckgo search to have relevant information about it, but I'd like to be able to just type "\\nas" on the .1.X to access it.
Any leads ?
@p I am
@p to be sure, for me to be typing \\nas
I need to specify something like this
192.168.0.X \\nas
or
192.168.0.X nas
@p working as expected. Thanks!!
@Craftplacer It seems that the best way would be to edit the hosts file, someone shows me everything I need about it, thanks !
@Ytrezar
Hello !
There's a chance that adding your NAS name & IP to the lmhosts file would do the trick.
Can't guarantee though.
@Gynux That's what I got from others too, I edited hosts file and it worked fine!
Thanks for your answer!
@Ytrezar
great ! :)
@Ytrezar Easiest solution, for a single computer that needs to reach \\nas, is to find your 'hosts' file and enter the IP and "nas" into that appropriately for your operating system.
@greyduck It's indeed the solution I came up with.
I have 2 computer needing this but it's definitely the easiest solution.
Thanks!
@Ytrezar You're welcome!
(Most other solutions involve making sure there's /some/ kind of DNS provider on your home network, which becomes very much a "how comfortable are you with finicky network services" question.)
@greyduck I got this solution too, but I really don't want to bother with it...
@Ytrezar I am a long time IT professional and I say: You should never make a solution more complicated than you're comfortable with or is necessary.
(Security first, as always, but a HOSTS file change is fairly safe.)
I got the answers I needed, thanks a lot.
FYI : Editing hosts file with
"192.168.0.X nas"
did the work!