Hello friends,
I have a server that I plan to use as a file server in my house that I want to have a static IP so we can always access it from our computers. How do I configure this so that all of my other computers can continue to use DHCP from the ISP to get their info?
Thanks,
Matt
Sounds like you only want to access the server while at home. So you don't need to worry about an external static IP, only an internal one on your own network. Your ISP assigns an external IP to your modem or gateway usually through DHCP unless you pay for a static one, and then your router or gateway (modem and router combined) uses DHCP to hand out IP's to all of your devices. So, your devices are not actually getting their IP's from your ISP, they come from your router or gateway.
Figure out what your IP range is, mine is 192.168.1.1 to 192.168.1.254, then set the server to use a static IP in that range.
If you have access to the router and can tell it to reserve that address for the server then do that. Or you can adjust the DHCP range of the router to not include the server IP:
For example, server is set to 192.168.1.10. Set the DHCP range on the router to start at 192.168.1.11 and it will never hand out the server IP to another device.
If you don't have access to change these settings on the router or aren't comfortable doing it, then just set the IP on the server to a higher number, for example, if you set it to 192.168.1.200 the router should never get near that number to hand out unless you have tons of devices connecting all the time.