How to assign a fixed IP address manually on Windows PC, Mac, Android and iPhone and disable DHCP that assigns the IP automatically
To facilitate the connection of devices the IP address management is entrusted to DHCPwhich “sorts” IP addresses and automatically assign on first connection; However, if we need a device to obtain the same IP address every time (for example a server, a data disk or a NAS) it is necessary to manually configure the IP address from the device or directly from the modem.
In the following guide we will show you How to manually configure IP address with DHCPshowing the steps to follow on Windows, on Mac, on Android, on iPhone, on iPad and on the modem.
READ ALSO -> Configure the modem for TIM, Fastweb, Vodafone, Wind
1) What is DHCP
DHCP is the acronym for Dynamic Host Configuration Protocol and it is a protocol that allows a router to automatically assign an IP address to connecting devices. Every modem or router uses DHCP and every time you connect from your PC or mobile phone to a Wi-Fi network or even a wired network, you obtain an IP address via DHCP.
This booking system is based on number recognition MAC Address, which is the unique address of a network card; in this way, the PC connected to the router always gets the same IP, automatically and without the need to intervene in any way. We have seen how in other guides forward or open ports on your router and how connect two or more PCs to share resources.
2) Configure manual IP on Windows
On a Windows PC we can set the fixed IP manually by opening the Start menu, searching Network card settings and, in the new window, selecting the network card we are currently using (Wi-Fi or Ethernet).
In the new window we press on View additional propertieswe press the button Edit next to the entry IP assignmentchange the drop-down menu to Manuallet’s activate TCP/IPv4 and configure the IP address to use on the PC.
As a general form we can use the following model:
- IP address: 192.168.1.X (with X must be a number from 2 to 254)
- Subnet Mask: 255.255.255.0 (always)
- Default gateway: 192.168.1.1 (the same one we found before)
As primary and secondary DNS we can use i DNS Google.
To learn more we can read our guide on how to set a fixed and static IP on Windows PC.
3) Configure Manual IP on Mac
Your Mac the procedure for assigning a static private IP is very simple and accessible to everyone.
To proceed, press at the top left of the Apple menu, press on System Settingswe press on the menu Netselect the connection to modify, click on Detailsthen up TCP/IPwe select Configure IPv4 and let’s move on from Use DHCP to Manuallyso that we can correctly configure the manual IP address of our Mac.
4) Configure Manual IP on Android
Su Smartphone Android we can configure the IP manually by taking us to the app Settingsby pressing up Wi-Fitapping on the wireless connection to which we are connected and pressing on the item IP settings o Edit network.
In the window we move the drop-down menu from DHCP to Static and we manually configure IP Address, Gateway and DNS; to learn more we can read our article on how to configure Android IP settings and network APN.
5) Configure Manual IP on iPhone or iPad
They are iPhone and iPad we can always set the IP address manually by taking us in Settings > Wi-Fi and pressing on the icon i next to the name of the wireless connection, to access advanced network settings.
At this point pressing on Configure IPpopping up the voice Manual and configuring all the parameters necessary to always use the same IP address on our iPhone or iPad.
For further information we can read our article on how to change IP address on iPhone.
6) Configure manual IP on the modem
To always assign the same IP address at modem level we will have to configure the DHCP exceptions (also called DHCP Association o DHCP Static IPs).
After entering the modem settings let’s identify the menu Advance, LAN settings o Stay ONlooking for DHCP or similar entries.
Now that we have found the DHCP entry, we press on the button to add the static IP addresses to be assigned to the devices or to the Mac addresses of the devices.
To learn more we can read our guide on how to enter the router to access the settings easily.
By assigning the static IP address to a network device it it will always be accessible at that address, without ever changing in the event of the modem or device turning off; this configuration is really very useful for server PCs, for example server to give or for those who connect a network disk o one NAS and wants the network resource to always be clearly identifiable.
For further information, we invite you to read the guide above What is a Static IP and what are the advantages.