Locking my PC to a certain IP

Sam Ireland

Commendable
Sep 26, 2016
21
0
1,510
Hey, Because I host a couple things that I use to mess around on with some friends on my PC that involves port forwarding, I want my PC to be locked to 192.168.0.10 so that I don't have to mess around every time I turn on my PC.

I have changed my IPv4 settings on my PC, but every so often I can't get a connection, and I believe that it is because my router is assigning one of my other pcs to 192.168.0.10, resulting in my PC not being able to get the IP so not getting an internet connection. Is there a way on the routers website I can set it to only ever assign my PC to 192.168.0.10? or alternatively, how do I stop my connection from randomly dropping like it does when I have it locked to that IP, I cannot set all the PCs to use a certain IP, because there are crap loads of PC's here and I don't have access to all of them. Thanks for any help
B
 
Solution
You can go about this two ways:
1. Rogue Leader's way is absolutely correct, meaning you can create a dhcp reservation, where you assign a specific ip address to your network interface connection's mac address (Inside the dhcp scope/pool). This means every time you turn on your computer, your router will always dynamically assign the same ip address to your computer within the dhcp scope.
2. Log into your router, locate it's dhcp pool and statically assign your computer an ip address outside of the existing dhcp range so there is no ip address conflicts. This is what you are experiencing now, because you statically assigned your computer's ip address to an address inside the dhcp scope range, that another computer on your network had...
You can go about this two ways:
1. Rogue Leader's way is absolutely correct, meaning you can create a dhcp reservation, where you assign a specific ip address to your network interface connection's mac address (Inside the dhcp scope/pool). This means every time you turn on your computer, your router will always dynamically assign the same ip address to your computer within the dhcp scope.
2. Log into your router, locate it's dhcp pool and statically assign your computer an ip address outside of the existing dhcp range so there is no ip address conflicts. This is what you are experiencing now, because you statically assigned your computer's ip address to an address inside the dhcp scope range, that another computer on your network had been previously dynamically assigned.
This way the ip address you assign is outside of the scope and won't interfere with the ip addresses your router is handing out. Once you find out what that range is, for example:
Lets say the range is 192.168.1.10 to 192.168.1.50 You can assign your computer any ip address outside of this range like 192.168.1.9 or 192.168.1.51 and there won't be a conflict.

Dependent upon your existing routers configuration, either step might be the better solution.
 
Solution