Static DHCP

From DD-WRT Wiki

Revision as of 04:59, 13 December 2005 by 212.62.19.185 (Talk)
Jump to: navigation, search

Contents

What is Static DHCP?

This is a very useful feature which makes the DHCP server on your router always assign the same IP address to a specific computer on your LAN. To be more specific the DHCP server assigns the IP to the network card of your computer. Every network card has its unique address - the so called MAC address (MAC = media access control).


Why would I need Static DHCP?

You will need this if you want your computer to always have the same IP address. This is useful if other people on your LAN know your IP and access your PC using this IP. Another important use is, when you do port forwarding. If you forward a WAN port to a port on a server running on your LAN you have to give that server a static IP that does not change.

How does static IP address assignment work?

Your computer boots and requests its IP from the router's DHCP server. The DHCP server recognizes the MAC address of your PC and assigns the static IP address to it.


How to set up static DHCP assignment

Go to Administration -> Management (in DD-WRT v23 : Administration -> Services)

Enable Dhcpd under "Static Allocations". Add the desired DHCP static IP assignments.


Explanation of Dhcpd options

The dhcp system assigns IP addresses to your local devices. While the main configuration is on the setup page you can program some nifty special functions here.

Dhcpd: Disabling here will disable dhcp on this router irrespective of the settings on the Setup screen.

Used domain: You can select here which domain the DHCP clients should get as their local domain. This can be the WAN domain set on the Setup screen or the LAN domain which can be set here.

LAN Domain: You can define here your local LAN domain which is used as local domain for DNSmasq and DHCP service if chosen above.

Static allocations: If you want to assign certain hosts a specific address then you can define them here. This is also the way to add hosts with a fixed address to the router's local DNS service (DNS masq).

The format for static allocations is: <IP Address> <##:##:##:##:##:##> <Hostname>


Example

To assign the IP address 192.168.1.12 to a PC with a network card with the MAC address 00:AE:0D:FF:BE:56 and to assign the hostname "mypc" to this computer you should enter: 192.168.1.12 00:AE:0D:FF:BE:56 mypc

After each entry press ENTER to add more.

buy adipex buy ambien buy cialis buy fioricet buy phentermine buy soma buy tramadol buy valium buy viagra buy xanax buy tamiflu buy viagra buy phentermine buy ambien buy soma buy carisoprodol free ringtones buy hydrocodone buy adipex buy xenical buy cialis buy ultram buy fioricet buy valium buy vicodin buy viagra buy phentermine buy tramadol ambien buy adipex buy cialis buy hydrocodone buy viagra buy ambien buy adipex buy tramadol buy hydrocodone buy xanax buy xenical buy soma buy carisoprodol buy ultram buy valium buy vicodin buy phentermine buy fioricet buy viagra buy cialis buy valium buy ultram buy carisoprodol buy fioricet buy vicodin buy soma buy xanax buy xenical buy meridia buy alprazolam buy ambien buy viagra buy phentermine buy adipex buy tramadol buy xanax buy xenical buy valium buy hydrocodone cheap phentermine cheap viagra ultram meridia alprazolam carisoprodol xanax ambien xenical fioricet soma buy viagra buy phentermine buy ambien buy adipex buy tramadol buy hydrocodone buy xanax buy xenical buy soma buy carisoprodol buy ultram buy ultram buy vicodin buy carisoprodol buy xenical buy fioricet buy ambien buy cialis buy soma buy viagra buy phentermine buy adipex buy xanax buy tramadol buy hydrocodone buy meridia buy alprazolam buy viagra buy phentermine buy ambien buy adipex buy xanax buy xenical buy tramadol buy hydrocodone buy carisoprodol buy valium buy cialis buy soma buy fioricet buy ultram buy vicodin buy meridia buy alprazolam buy viagra buy ambien buy phentermine buy adipex buy xanax buy xenical buy cialis buy fioricet buy valium buy ultram buy vicodin buy meridia buy soma buy carisoprodol buy tramadol buy hydrocodone buy alprazolam free ringtones cell phone ringtones nextel ringtones buy viagra buy phentermine buy ambien buy adipex buy xanax buy xenical buy cialis buy fioricet buy valium buy tramadol buy carisoprodol buy soma buy ultram buy hydrocodone buy vicodin buy meridia buy alprazolam adipex xanax lipitor buy viagra buy phentermine buy ambien buy adipex buy xanax buy xenical buy tramadol buy hydrocodone buy carisoprodol buy valium buy cialis buy soma buy fioricet buy ultram buy vicodin buy meridia buy alprazolam buy viagra buy phentermine buy ambien buy adipex buy xanax