Monday, December 23, 2013

Windows 8: TCP/IP Addressing (Static and Dynamic)

In Windows, you can have one of two types of IP addresses: dynamic or static. Dynamic IP addresses are temporarily assigned to a network device when their requested, and is generally done during the boot process. The network service that assigns dynamic IP addresses is known as DHCP. While static IP addresses have to be manually assigned to a device by a systems administrator, and are meant to be changed infrequently.

Dynamic IP addresses are the most common method of assigning an IP address to a network based device (such as a computer, printer, etc) because it reduces the network administration overhead. Today's office and work force are in a constant state of flux. People with mobile devices (such as tablets, smartphones, and laptops) will move from location to location, even desktop users can get moved around within a company on a semi-regular basis.
Note: If a Windows client makes a DHCP request for an IP address and doesn't get a reply in a timely manor, then it will switch to using Automatic Private IP Addressing (APIPA). APIPA is a private IP address range (169.254.0.0 to 169.254.255.255) that allows devices on a network using this address range to communicate with themselves. To configure this service, click on the Alternate Configuration tab in the Internet Protocol (TCP/IP) dialog.
If all devices used a static IP address, it would cause a network administration nightmare, they would all have to be changed every time a device was moved.  Most static IP addresses are assigned to servers or network based devices like routers or DNS servers. These devices need a static IP address because other devices on the network depend on knowing how to contact them.

To configure the TCP/IP addressing (dynamic or static) in Windows, follow the instructions below:
  • From the Start screen, type Network and click Settings on the right.  Click the Network and Sharing Center icon.  In the left pane, click the Change adapter settings link.
  • Right-click the active network connection (note: this selection can change between systems depending on the equipment that is installed), and select Properties.
  • Select Internet Protocol Version 4 (TCP/IPv4) [or Internet Protocol Version 6 (TCP/IPv6) depending on how your network is configured] and the press the Properties button.
From here you can select one of two options, Obtain an IP address automatically (dynamic) or Use the following IP address (static). If you're using a static IP address you need to know the following information: unique IP address, subnet mask for the network, IP address of the default gateway, and the IP addresses of the primary and secondary DNS servers. When you're done press the OK button twice.

Networking tips:

  • To find the TCP/IP address of the local computer, from the command prompt type: IPCONFIG /ALL.
  • To request a new DHCP address, from an administrator command prompt type: IPCONFIG /RELEASE and then type: IPCONFIG /RENEW 

No comments: