How to allocate IP address?

There are 3 ways a machine can get an IP address

  1. Manually
  2. Automatic
  3. APIPA(Automatic Private IP Addressing) Address

Let’s learn how to do it.

  1. Manually.
    1. Click on Start  buttonip1
    2. Open “Control Panel”ip2
    3. Open “Network and Internet”ip3
    4. Open “Network and Sharing Center”ip4
    5. Click on “Change Adapter Settings”ip5
    6. Right click in “Local Area Connection”ip6
    7. Click on “Properties”ip7
    8. Click on “Internet Protocol Version 4(TCP/IP)” inside Networking Tabip8
    9. Click on “Properties”ip9
    10. Click on “Use the Following IP Address”ip10
    11. Type the IP address example IP Address à 10.17.9.168 Subnet Maskà 255.0.0.0ip11
    12. Click on OK
    13. Now check the IP Address
    14. Right Click on “Network” Icon in the notification areaip12
    15. Click on “Open Network and Sharing Center”ip13
    16. Click on “Local Area Connection” under View  your active networksip14
    17. Click on “Details” in General Tabip15
    18. Check the IP addressip16
    19. Click on close

 

  1. Automatic

    1. Click on Start  button
    2. Open “Control Panel”
    3. Open “Network and Internet”
    4. Open “Network and Sharing Center”
    5. Click on “Change Adapter Settings”
    6. Right click in “Local Area Connection”
    7. Click on “Properties”
    8. Click on “Internet Protocol Version 4(TCP/IP)” inside Networking Tab
    9. Click on “Properties”
    10. Click on “Obtain an IP address automatically”ip19
    11. Click on OK
    12. Now check the IP Address
    13. Right Click on “Network” Icon in the notification area
    14. Click on “Open Network and Sharing Center”
    15. Click on “Local Area Connection” under View  your active networks
    16. Click on “Details” in General Tab
    17. Check the IP address
    18. Click on close

 

  1. APIPA Address

This IP address is automatically allocated if DHCP server fails to allocate IP address to client machine.

This APIPA address range is 169.254.0.1 to 169.254.255.254 and the subnet mask is 255.255.0.0