• March 19, 2024, 12:07:47 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: DHCP/Dynamic Addressing/IP Reservation/Static IP FAQ  (Read 34765 times)

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
DHCP/Dynamic Addressing/IP Reservation/Static IP FAQ
« on: February 12, 2014, 08:46:54 AM »

Dynamic Host Configuration Protocol
The Dynamic Host Configuration Protocol (DHCP) is a standardized networking protocol used by servers on an IP network to allocate IP addresses to computers. The purpose of DHCP is to automate the IP address configuration of a computer without a network administrator. IP addresses are typically selected from a range of assigned IP addresses stored in a database on the server and issued to a computer which requests a new IP address. An IP address is assigned to a computer for a set interval, after which, the computer must renew the IP address or acquire a new one. DHCP allows computers (clients) to be assigned settings from a server in a client-server model. DHCP is very common in modern networks and is used in home networks as well as larger campus networks. In home networks, the Internet Service Provider's server may assign a globally unique external IP address to a home router (or modem) and this IP address is used in Internet communications. The home router (or modem) may also use DHCP to supply a usable IP address to devices connected to the home network, allowing these devices to communicate on the Internet. The global unique IP address assigned by the Internet Service Provider (ISP) is different from any of the IP addresses assigned to the devices connected to the home router. This is because of a design consideration of IPv4 to help conserve IPv4 addresses.

Methods:
Reserved IP addresses
Preferred settings for a Reserved IP address of the devices on a router so that the IP address does not change for the devices. Ensure devices/consoles are set to Auto Obtain IP Addressing. A Reserved IP address is used in these settings.


Setting up a Reserved IP Address for your device:
Usage is so when we open up ports or set up QoS on a router, we don’t want the IP address of the devices to change.

First you must open your browser and type 192.168.0.1 and login to the routers web page. Before we set up QoS for the devices we must first give the device(s) a Reserved IP address through the router and not on the device itself. Once logged in navigate to Basic or Setup > Network Setting look for Number of Dynamic DHCP Clients:    Look for the device in the list at the bottom of the page. Look for the Reserve word link to the right in the same row as the device listing. Click Reserve. This will auto-fill in the Add DHCP RESERVATION section. Here you can name the device and even change the IP address number to a different number if needed. It’s recommended to give a Name to the device for ease of identifying it on the routers web page. Click Add. Once all devices are reserved, scroll up to the top and Click on Save Settings. Some routers offer a Reboot Later option. You can select the Reboot Later option if you want to continue to configure the router. When you done, select the Reboot Now option and let the change take effect.

Here is how it should look in the Networking section that is where you put the info and reserve the ip: DIR series routers have a default DHCP IP address pool of 192.168.0.100 to 192.168.0.199


New Generation DIR series routers:

If you don't know which one is your device, review the devices networking properties for a IP address or Hardware (MAC) address information then look for this same information listed in the Number of dynamic DHCP clients list on the router and that's how you know which one is the device your configuring.

Static IP addresses
Static IP addresses are manually assigned to a computer by an administrator. The exact procedure varies according to platform. This contrasts with dynamic IP addresses, which are assigned either by the computer interface or host software itself, as in Zeroconf, or assigned by a server using Dynamic Host Configuration Protocol (DHCP). Even though IP addresses assigned using DHCP may stay the same for long periods of time, they can generally change. In some cases, a network administrator may implement dynamically assigned static IP addresses. In this case, a DHCP server is used, but it is specifically configured to always assign the same IP address to a particular computer. This allows static IP addresses to be configured centrally, without having to specifically configure each computer on the network in a manual procedure. Uses of static addressing

Some infrastructure situations have to use static addressing, such as when finding the Domain Name System (DNS) host that will translate domain names to IP addresses. Static addresses are also convenient, but not absolutely necessary, to locate servers inside an enterprise. An address obtained from a DNS server comes with a time to live, or caching time, after which it should be looked up to confirm that it has not changed. Even static IP addresses do change as a result of network administration.

Most Home and Small Business class routers have limited reservation pools or resources. When this happens, using static IP addresses out side of the main router DHCP IP address pool is suggested for those devices who's Internet access needs are limited or not needing much, if any Internet access or bandwidth. When Static IP addresses are used on devices, users should note that most router features like QoS or Status may not manage or have any effect on these devices using Static IP addressed that are out side of the main DHCP IP address pool range. QoS and most other router features depend on device IP address to be with in the main DHCP IP address pool for correct router management for those devices that need it.

Dynamic Address Assignment
IP addresses are most frequently assigned dynamically on LANs and broadband networks by the Dynamic Host Configuration Protocol (DHCP). They are used because it avoids the administrative burden of assigning specific static addresses to each device on a network. It also allows many devices to share limited address space on a network if only some of them will be online at a particular time. In most current desktop operating systems, dynamic IP configuration is enabled by default so that a user does not need to manually enter any settings to connect to a network with a DHCP server. DHCP is not the only technology used to assign IP addresses dynamically. Dialup and some broadband networks use dynamic address features of the Point-to-Point Protocol.

Resources:
http://en.wikipedia.org/wiki/DHCP
DCS Network Cameras - Should I Use DHCP, Static IP, or Reserved IP Address?
http://tools.ietf.org/html/rfc1918
http://en.wikipedia.org/wiki/IP_address
http://en.wikipedia.org/wiki/IP_address#Methods
« Last Edit: August 15, 2017, 04:07:25 PM by FurryNutz »
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.