Is there any advantage of having the primary internal IPv4 address?

steffeeh

Reputable
Feb 12, 2016
265
1
4,815
Is there any advantage of having the primary internal IPv4 address, meaning the 192.168.1.2 address, over for instance another IP address such as 192.168.1.10 or even 192.168.1.99?
Does this matter when hosting a game server on the computer?

The reason why I'm wondering is because I'm hosting a game server from my PC with a friend, and I've noticed that my PC and another computer here at home (both connected to the router by wire) are pretty much racing who will get the 192.168.1.2 and who will get the 192.168.1.3 addresses.
Because of this I regurarly have to check my IP on CMD and often update my portforwarding on the router to swap the IP address for the ports (I don't know why but I'm unable to open the ports on multiple IP addresses).
I've realized it's a bad idea to use a static IP at the ...1.2 address as this will only cause conflicts if the router is turned off and then on again if the other computer gets that address, and I end up being disconnected until I turn off the static IP.
So this is why I'm wondering, so that I know if I'll lose any advantages of having for instance 192.168.1.99 just to keep a static IP with no interference with other devices.
 

USAFRet

Titan
Moderator
Anything between 192.168.1.2 and 192.168.1.255 is all the same.
Zero difference.

For an internal static IP, just set that outside the DHCP range.
For instance, if your router is set to give out an IP address in the range of 192.168.1.2---192.168.1.100...simply give your device a static of 192.168.1.101 or higher.
 

Uniquey

Distinguished
Feb 17, 2010
27
0
18,560
Hi,

There is no purpose for having multiple IP addresses belonging to the same subnet on a single network port.

When you mention that your PC and another computer are "racing" to obtain the IP address, you are technically correct, on the basis that using DHCP is a first come first serve, and the IP address will expire once the lease period has ended.

If you are wanting to host a server, I strongly recommend you use a static IP address, otherwise if your IP address changes, your router won't be able to forward the required ports to your server.

If you're getting IP address conflicts then you need to specific a static IP address which isn't in the same range as the DHCP server on your router. You can find this out by logging onto your router IP address via the web browser.

There is no advantage to having a lower IP address value, it's all contention based and all IP addresses are unique, and will have the same right as any other.

Best regards,


Uniquey
 

steffeeh

Reputable
Feb 12, 2016
265
1
4,815
Thanks for the replies, got some really nice insight.

I can't figure out why, but I can't setup a static IP at all. I've tried 192.168.1.99 , 192.168.1.101 , and 192.168.1.15 - just to try different locations just because. None of them work, not even after I've uninstalled my ethernet driver, rebooted the PC, and installed the driver again.