NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
GHY75
Jul 01, 2019Aspirant
Restrict Access
Hello ! I would like to restrict access to my network for several computers. But the issue is we share the same IP Adress... How can I resolve this issue with my Netgear ReadyNAS ? I have trie...
StephenB
Jul 03, 2019Guru - Experienced User
GHY75 wrote:
Our ipv4 is 172.16.XX.XX
As we share the same internet connection we have the same internet's IP adress. I don't know how it's set up nor how we are connected to the NAS... Sorry for that I am not an IT expert...
Normally you have a single IP address for the internet connection, but your router will assign a unique local ipv4 address to every PC. If your PCs can be used at the same time, they can't have the same local ipv4 address. Your network wouldn't work if that were the case.
If you have a Windows PC, you can see it's local ipv4 address using one of the methods here: https://www.digitalcitizen.life/find-ip-address-windows. I think that if you look at that, you will see different IP addresses for each machine.
You can also see the local IP address used by the NAS if you look at it's network settings page.
172.16.x.x addresses are private (and your local addresses are also - even if they use a different range), so they are safe to post. They cannot be routed over the internet. It would be helpful if you can post the full addresses you are seeing for your various PCs and the NAS. https://en.wikipedia.org/wiki/Private_network
GHY75
Jul 03, 2019Aspirant
It's true each computer have a local ip (172.16.24.15 and 172.16.24.21) when I try HOSTS I give the ip 172.16.24.21 because I want to access to the NAS I click Apply and Ok then I don't have access to the network
- StephenBJul 03, 2019Guru - Experienced User
You are talking about the HOSTS file for a share? That is, you are clicking on the share settings wheel, then choose SMB. After that you are selecting Network Access and then HOSTS?
GHY75 wrote:
because I want to access to the NAS I click Apply and Ok then I don't have access to the network
Can you clarify "I don't have access to the network"?
Are you saying you don't have access to the NAS share from the PC that is using 172.16.24.21? Or something else?
In general: I think a better way to restrict access is to create NAS user accounts with passwords, and then disable anonymous and everyone access to the shares. You can then set the PCs up to automatically use the appropriate NAS user account when they access the NAS.
- GHY75Jul 03, 2019Aspirant
"You are talking about the HOSTS file for a share? That is, you are clicking on the share settings wheel, then choose SMB. After that you are selecting Network Access and then HOSTS?" Yes
"Can you clarify "I don't have access to the network"? " When I modify hosts with my IP and try to connect to READYNAS BACK UP from the PC 172.16.24.21 it doesn't work. The access is deny...
The issue with passwords is my programs (batch) bug thus I prefer to stop access to READYNAS from the IP whether than from a password
- StephenBJul 03, 2019Guru - Experienced User
GHY75 wrote:
The issue with passwords is my programs (batch)
You can save the password as part of the windows credential, so it would be automatically applied whenever you access the NAS using SMB from that PC.
That should resolve your batch program issue.
FWIW, I have an application server (windows 10) that does this, and there are several batch scripts that I run regularly from that server.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!