Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
dhcp [2012/08/07 00:39] eric |
dhcp [2013/05/21 15:57] (current) eric |
===== DHCP ===== | ====== DHCP ====== |
| |
| ==== Example Configuration ==== |
| |
{{ ::dhcp-doc-screenshot.png}} | {{ ::dhcp-doc-screenshot.png}} |
| |
==== Enabling / Disabling DHCP Server ==== | ==== DHCP Server ==== |
| |
| === Enabling / Disabling DHCP Server === |
| |
It is possible to disable the Gargoyle DHCP server, but unless you're //sure// you know what you are doing (e.g. you've configured another DHCP server on your network), this is not recommended. Note that the DHCP server will be disabled automatically if you configure the router as a wireless bridge. | It is possible to disable the Gargoyle DHCP server, but unless you're //sure// you know what you are doing (e.g. you've configured another DHCP server on your network), this is not recommended. Note that the DHCP server will be disabled automatically if you configure the router as a wireless bridge. |
| |
| |
==== DHCP Range ==== | === Start / End ==== |
| |
The DHCP server can be configure to serve a range of up to 255 IP addresses, those within a /24 subnet (subnet mask of 255.255.255.0). The user must specify the start/end IP addresses to serve. No hardware that will run Gargoyle can handle hundreds of hosts, so this limit is fairly reasonable. | The DHCP server can be configure to serve a range of up to 255 IP addresses, those within a /24 subnet (subnet mask of 255.255.255.0). The user must specify the start/end IP addresses to serve. No hardware that will run Gargoyle can handle hundreds of hosts, so this limit is fairly reasonable. |
Note that while IPs are assigned dynamically, a given host will likely have a relatively consistent IP address. IP addresses are assigned based on a hash of the MAC address, so given that a MAC address doesn't change, the IP is likely to stay the same. This isn't guaranteed, however, because if two hosts on the network have MAC addresses that hash to the same IP address, the IP that gets assigned to each of these hosts will depend on which connects to the router first. If you need hosts to be guaranteed a consistent IP, you should specify this manually in the Static IP settings (described below). | Note that while IPs are assigned dynamically, a given host will likely have a relatively consistent IP address. IP addresses are assigned based on a hash of the MAC address, so given that a MAC address doesn't change, the IP is likely to stay the same. This isn't guaranteed, however, because if two hosts on the network have MAC addresses that hash to the same IP address, the IP that gets assigned to each of these hosts will depend on which connects to the router first. If you need hosts to be guaranteed a consistent IP, you should specify this manually in the Static IP settings (described below). |
| |
==== Lease Time ==== | === Lease Time === |
| |
This is the length of time before clients need to renew the DHCP Lease. There is rarely any need to change this parameter. | This is the length of time before clients need to renew the DHCP Lease. There is rarely any need to change this parameter. |
=== IP === | === IP === |
| |
The IP address being assigned. This should be in the LAN subnet, e.g. if your subnet is 192.168.1.0/255.255.255.0, 192.168.1.10 is valid, but 192.168.2.10 is not. | The IP address being assigned. This should be in the LAN subnet, e.g. if your subnet is 192.168.1.0/255.255.255.0, 192.168.1.10 is valid, but 192.168.2.10 is not. The IP should also be outside the DHCP range specified above. |
| |
| === Select Hostname/MAC From Currently Connected Hosts === |
| |
| The router keeps track of clients that are already connected and their hostname/MAC addresses. You can select a host from this drop down so that you don't need to look up this information manually. |
| |
| |