All devices connected to a home network require an IP (Internet Protocol )address.
Currently home networks use the IPv4 protocol.
An IP address (IPv4) consist of 4 numbers separated by a dot and look like this:
each number has a maximum value of 255.
All IP addresses on a network need to be unique which is important to note if you need to manually allocate them.
The right most number is the important number as far as most people are concerned, and will be different for each device on the home network
The screen shot below shows a device map with the IP address allocation for part of my home network. Notice which part of the address changes.
IP address Assignment
IP address can be assigned:
Manually assigned addresses are known as static addresses.
When assigning a static IP address you will also need to enter other important address information.
The screen shot below shows the static address assignment on my Windows 10 computer however all devices have a similar form for the IP address assignment.
1. My home network use the network address 192.168.1 (first three numbers) also common is 192.168.0 and 10.x.x.x
2. The default gateway is the address of you home router. This is assigned to the router as a static IP address.
3. The subnet mask is important as is usually 255.255.255.0
4. You need the address of 1 DNS server to access websites on the Internet. The Google DNS server is available to use for free but you can use your ISP DNS servers.
5. You can choose to manually assign the DNS addresses and automatically assign the IP address or vice versa.
This is the default configuration on most devices. This is what it looks like on my Windows 10 computer.
In this configuration when you start your machine it gets it’s IP and DNS address from a DHCP server on the local network.
On home networks this service is provided by the home router which has it (DHCP) enabled by default.
If no DHCP server is available Windows machines (some versions) will auto assign an address. This address starts with 169.254
No DNS server address will be allocated which means that you will not have access to the internet unless you know the IP address of the server.
Finding Your IP Address,Gateway Address etc?
You may need to find out what DNS servers you are using or the IP or MAC address of:
- Your Home Router.
- Your own computer/tablet/phone
The main tool you use is the ipconfig (windows) or ifconfig (linux) tool.
The screen shot below shows the ipconfig command use with the /all switch. i.e. ipconfig/all
Q- What Happens if DHCP fails?
A- Because IP addresses are leased from the DHCP server your client machine will keep its existing address until the lease expires usually 1 day. and so will run normally for a while.
New machines joining the network will not get an IP address and may auto assign one depending on the device.
They will not work with existing machines and because they don’t have a DNS server address they wont be able to access the Internet.
Q -How do I know if I have a static IP address or a automatically assigned one?
A- You can look at the network adapter properties or on Windows open a command line and type
If you see the entry DHCP Enabled .. No then you are using a static IP address.
Q- What happens if a have two DHCP servers on my Home Network?
A- This may cause strange behaviour and is to be avoided. On home networks the home router provides the DHCP service by default. If you try to reuse old routers as Wireless access points then you can run into this problem
Q -What is The IP address of my router or default gateway?
A- You can find it using the ipconfig command line tool (ifconfig on Linux) as shown above.When viewing your configuration some devices refer to it as the default router whereas other use the term default gateway.
In the screen shot above it is 192.168.1.254
Your home router generally comes with a static IP address assigned. Common addresses are:
192.168.1.254 and 192.168.1.1
However you can change it if you want, but because this is the main device on the home network I would leave it as it is.
Related tutorials and Resources
- How to Setup and Configure your Home Router
- Setting up a secure Wi-Fi home network.
- Setting Up Static Ip Addresses on Windows 10