January 2, 2012

How to Setup DHCP in your DLink DIR-300 Wireless Router

The DLink DIR-300 wireless router has the Dynamic Host Configuration Protocol (DHCP) server enabled by default. The router is configured to use the 192.168.0.0 network address with the router having 192.168.0.1 as Internet Protocol (IP) address using 255.255.255.0 as the subnet mask. This means that there are 254 available IP addresses that can be used to enable computers to participate in the network.

To limit the number of devices that can join the network, you can use a customized network address range from any of the private address blocks defined by the Internet Assigned Numbers Authority (IANA). Using an appropriate subnet mask, you can create a small network that can accommodate the maximum number of computers that you estimate will be joining your network simultaneously. You can use an IP address table that can be found in the Internet to specify a small range of IP addresses with its corresponding subnet mask that you can use for your network.

Once you have determined the correct range of IP addresses to use, you can then divide the IP address numbers into two parts: one part for computers that are to be assigned static addresses and another part for computers that will be assigned dynamic addresses. The last step is the setting up of the DHCP service in your router to reflect the decisions that you have made regarding IP address assignment in your network.

Assigning static IP address means that a computer will receive the same IP address every time that it requests an IP address from the DHCP server. This is implemented in the router by making IP address reservations on the spaces provided on the appropriate configuration page in the router's settings. Computers determined to receive static IP addresses will not suffer from the problem of having all IP addresses being used up by computers seeking network connection.

Computers receiving dynamic IP addresses may suffer from the problem of not being able to join the network because of lack of available IP address that can be assigned to them. Their IP address may change as they are given the next available address once they ask for one from the router. Dynamic IP address assignment is implemented in the router by supplying the router with a range of IP addresses that can be allocated to computers seeking connection to the network. This is implemented by filling the required blanks on the Local Area Network (LAN) setup page on the router configuration web based interface.

Computers that should be assigned static IP addresses are the critical computers in the house like Dad's and Mom's computer as well as any computer that provides services to everyone like a multimedia server or a LAN printer. Also to be given static IP address assignments are computers that are strongly secured whose operating system and security protection are updated. MAC computers, Linux systems, and Windows computers from the Vista version and above may be included in the computers that may be given static IP addresses.

Those that are to be provided with dynamic IP addresses are those Windows computers that are older than the Vista operating system or Vista systems that are not securely protected. Computers belonging to children, grandpa and grandma, and teenagers should be included in the list that should receive dynamic IP addresses. Of course computers belonging to house guests are to be assigned dynamic IP addresses.

The first part of the job is to gather the physical addresses of the wireless adapters of all computers that are to be assigned with static IP addresses. The next step is to allocate the lower numbered addresses to the wireless physical addresses of computers that need to be given static IP addresses. The remaining IP adddresses in the range will then be allocated for distribution as dynamic addresses.

The important data that should be in order are the following: the IP address and the subnet mask to be assigned to the wireless router which should be the lowest IP address in the range or the network address plus one; the wireless physical address of all computers to be assigned static addresses with their corresponding IP address allocation; the range of IP addresses to be distributed as dynamic IP addresses.

Open your DLink DIR-300 configuration web based interface in your Internet browser. Before changing any setting on your DLink DIR wireless router, be sure to save first the current router's settings on your laptop using the Maintenance Save and Restore page of the router's configuration settings. Click on Setup and then LAN Setup and enter the IP address and subnet mask to be assigned to the router. Make sure that the Enable DHCP Server is checked and then enter the range of the last numbers of IP address to be assigned dynamically by the router. This is the range of the IP address numbers that are left after some computers have been allocated the lower numbered IP addresses.

On the DHCP Reservation portion, enter the computer name, IP address, and the wireless physical address of each computer that are to be assigned static IP addresses. Put a tick mark on each line of the blanks that you have filled out. The computer name field is for reference purposes only and need not be the same as the actual computer name, You can use any name that will uniquely identify the computer that you are assigning IP address to. Click on the Save Settings button and wait for the configuration page to come back.

Restart all computers in your network and check if the IP addresses assigned to them are what you expect them to be. Computers that are to receive static addresses should reflect the correct address when you check them in the command prompt using the ipconfig /all command. Those computers that are to be assigned dynamic address should receive one in the range of addresses you have given the DHCP server to distribute.

You have to use the new router's IP address to access again the router's configuration page. If something goes wrong and your laptop did not receive a valid IP address, you can manually assign it the IP address and subnet mask using your Vista laptop's control panel and access the router again for making settings corrections. Correct all configuration errors until all computers are receiving the correct IP address that they should receive.

Read my other article on Internet Protocol addressing for setting up DHCP on your DLink DIR-300 wireless router at: http://publishtoweb.blogspot.com/2011/12/internet-protocol-addressing-for.html.

Read my other article on simple IP addressing scheme for using DHCP on your home wireless network at: http://publishtoweb.blogspot.com/2011/12/simple-ip-addressing-scheme-for-using.html.

Read my other article on how to maintain connectivity with your wireless router when changing its IP address at: http://publishtoweb.blogspot.com/2012/01/how-to-maintain-connectivity-with-your.html.