This article explains how to setup a home network with static IP address. In a typical home network, the routers comes with DHCP server inbuilt. This is a service which is available on the router, which is used to allocate IP address to users on the network dynamically.
To enable static IP address, this service has to be disabled. The following are the steps required to setup the network with static IP address.
1. Disable the DHCP service on the router
The first step is to disable the DHCP service on the router. If this is not done, then Duplicate IP address issue can arise on the network,. To disable the DHCP service on the router, go to the GUI of the router by logging into the web interface and navigate to the DHCP service and ensure that it is off.
2. Static IP address number
Identify the number of static IP address which are required on the network. For this, identify the number of devices on the network. For example if there are 10 devices on the network, you would need 10+1 static IP address. This is because the router also needs to be configured with an IP address.
3. Configure the devices with the static IP address
The devices on the network should be configured with the static IP address along with other associated parameters like subnet mask, default gateway and dns servers. Assign a private network address to the IP address range.
Private IP addresses are used within your network and the scope of which is limited to your network.
Examples of private IP network addresses are 192.168.0.0/24, 10.0.0/8 and 172.16.0.0/16. These IP addresses are not used on the public network like the internet and also cannot be accessed from the internet.
Home network with static IP address example
A practical example of usage of static IP addresses on a home network is explained below.
We assume that the home network has a total of 11 devices, including the router. The static IP address range from 192.168.0.1-192.168.0.11 is used. The subnet mask used on the network is 255.255.255.0.
The IP address 192.168.0.1 is assigned to the router. The TCP/IP address setting for the clients should include the IP address, subnet mask, default gateway and the dns server. The default gateway and dns server IP address should be 192.168.0.1 which is the IP address of the router.
When using static IP addresses on the network, it should be ensured that the DHCP services on the network should be stopped. Sometime, there could be scenarios where a home network has access points setup, in addition to the router.
Access points also have DHCP service in it and which can also be enabled by default. This has to be stopped or you could face issues like duplicate IP address on the network.
Using static IP address on the network should be designed properly. Unless it is absolutely required, it is always recommended that you use the DHCP service on the network. This could solve the problem of manageability and issues like duplicate IP address which could be difficult to troubleshoot.