IP Address
IP Address
Types of IP Addresses:
a. IPv4 Address:
● Range: Allows for approximately 4.3 billion unique addresses (due to its
32-bit address space).
b. IPv6 Address:
a. Subnet Mask: This defines the network and host portions of an IP address.
Ensure that statically assigned IP addresses fall within the subnet used on
your network.
b. Default Gateway: This is the router's IP address, serving as the gateway for
devices to access the internet.
1 | Page
c. DNS Servers: DNS servers translate domain names into IP addresses. You
can specify preferred and alternate DNS servers in static configurations or
configure them on your DHCP server for automatic assignment.
2 | Page
2. Select Network and Sharing Center.
3 | Page
4. Right-click on a network adapter.
5. Choose Properties.
Here, you can set DHCP or static addresses and define alternate
configurations if needed.
4 | Page
NOTE: The internet service provider will provide IP address, subnet mask and
the default gateway.
1. Access Device Settings: You'll need to access the network settings on each
device you want to assign a static IP address to. This can be done through
the device's operating system settings (e.g., network settings in Windows or
System Preferences on Mac).
3. Enter IP Address: Enter the desired static IPv4 address for the device. Ensure
it falls within the subnet you're using on your network (consult your router's
documentation for subnet details).
4. Subnet Mask and Gateway: Enter the subnet mask and default gateway
address (usually the IP address of your router).
5. DNS Servers (Optional): You can optionally specify preferred and alternate
DNS server addresses.
5 | Page
Dynamic Assignment (DHCP) for IPv4:
1. Setup DHCP Server: Ensure that a DHCP server is set up and operational on
your network. This is often integrated into residential or small office routers.
3. Define IP Address Range: Specify the range of IPv4 addresses that the
DHCP server can assign to devices. This range should be within the private
IPv4 address range of your network.
4. Set Lease Duration: Determine the lease duration for IPv4 addresses (how
long a device can keep an assigned IP address before it must renew).
5. Apply Configuration: Save the DHCP server settings and ensure DHCP
service is enabled.
8. Renewal and Release: Periodically, devices will renew their lease on the IPv4
address, or they can release it when disconnecting from the network.
1. Identify IPv6 Address Range: Determine the IPv6 address range available
for use on your network. IPv6 addresses are typically assigned in a
hierarchical manner by Internet Service Providers (ISPs) or network
administrators.
2. Choose an IPv6 Address: Select a specific IPv6 address from the assigned
range that is not already in use by another device on the network.
6 | Page
3. Configure the Device:
● Set the IPv6 address manually (statically) by entering the chosen IPv6
address and prefix length (e.g., 2001:db8:abcd:5678::1/64), gateway
address, and DNS server addresses if applicable.
4. Save and Apply: Save the settings and apply them to the device.
5. Verify Connectivity: Ensure that the device can connect to the IPv6 network
and access resources.
1. Setup DHCPv6 Server (if used): Configure a DHCPv6 server if you choose to
use DHCPv6 for address assignment.
2. Configure DHCPv6 Settings (if used): Specify IPv6 address ranges and
other configuration options on the DHCPv6 server.
3. Enable SLAAC (if used): Ensure that SLAAC is enabled on the network
routers if you are using it for address assignment.
4. Join Devices to Network: Devices either request IPv6 addresses from the
DHCPv6 server or generate their own addresses using SLAAC.
5. Obtain IPv6 Address: Devices receive IPv6 addresses and other network
configuration parameters either from the DHCPv6 server or through SLAAC.
7 | Page
6. Verify Connectivity: Ensure that devices can connect to the IPv6 network
and access IPv6-enabled resources.
. Fixed Addresses: Devices always have the same IP address, which can be
helpful for specific network configurations or server management.
. Reduced Errors: DHCP minimises the risk of IP address conflicts that can
occur with static assignments.
Note: You can assign both IPv4 and IPv6 addresses to a device at the same
time, if your network supports dual-stack configuration (both IPv4 and IPv6).
By assigning both IPv4 and IPv6 addresses simultaneously, your device will be
configured to communicate using both IPv4 and IPv6 protocols.
8 | Page