DHCP Server
From UntangleWiki
About DHCP
Dynamic Host Configuration Protocol (DHCP) configures the Untangle Server to automatically assign dynamic or static IP addresses to machines within the internal network.
A few support details:
- The Untangle Server supports DHCP on the Internal interface, but not the DMZ interface.
- The Untangle Server doesn't support multiple address pools.
In Advanced Mode
In Advanced Mode, you can specify that the DHCP Server serve up a different gateway, netmask, and change the lease time in seconds.
- If you do not plan to use the Untangle Server to provide DHCP services for some or all of the machines within your internal network and, instead, plan to set up NAT functionality on these machines, you must manually set the gateway address and subnet mask of these machines.
- If you do not plan to use the Untangle Server to provide NAT services for your internal network, you must do one of the following:
- Ensure that you have a machine outside of the Untangle Server (on the external network) provide NAT services.
- Define an IP address pool. This pool is a group of IP address from which the Untangle Server can assign to network client. Without an address pool, network clients cannot access the network. The IP addresses in this pool must be routable on the external network. If the external network is the Internet, these IP addresses must be public IP addresses. The Untangle Server doesn't support multiple address pools.
Assigning Network Computers Static IP Addresses
If a computer on your internal network receives a dynamic IP address from the Untangle Server, and you want VPN clients to connect to that computer, you must assign a static IP address to that computer.
To assign a static IP address to an internal network computer:
Before You Begin: Wait for the network computer to join the internal network.
- From the Navigation pane, choose Config > Networking.
- Click the DHCP Server tab. There are two tables, and the interface automatically takes you to the Static DHCP Entries.
- Static DHCP Entries. Lists all the computers to which you've assigned static IP addresses.
- Current DHCP Entries. Lists all the computers that are receiving DHCP service from the Untangle Server.
- Do one of the following:
- If the computer is currently on the network, in the Current DHCP Entries table, locate the computer that currently has a dynamic IP address and that requires a static IP address, then, in the Add Static column, click the plus (+) symbol for that computer. The row immediately moves to the Static DHCP Entries table.
- If the computer is not currently on the network, in the Static DHCP Entries table, click the Add button, then assign the IP address manually.
Note: It is best practice not to assign a static IP address from the middle of a DHCP address pool. An address pooling scheme should be defined that incorporates servers, printers, dynamic workstation addresses and static workstation addresses.
- If the computer is currently on the network, in the Current DHCP Entries table, locate the computer that currently has a dynamic IP address and that requires a static IP address, then, in the Add Static column, click the plus (+) symbol for that computer. The row immediately moves to the Static DHCP Entries table.
- Click Save.
Next Step: If you want users to access this computer by hostname (thereby preventing users from having to remember the computer's IP address), map that computer to a host name. Go to Mapping Computer Hostnames To IP Addresses.
