Home > Security Appliances > DHCP > DHCP Services

DHCP Services

Configuration

The Meraki MX appliance and Z1 teleworker gateway both provide a fully-featured DHCP service. You can enable and configure the DHCP service on each VLAN individually, or for the whole network if VLANs are not enabled. This is done on the Security Appliance/Teleworker Gateway > Configure > DHCP page. The configuration options include:

  • Client addressing: Choose Run a DHCP server to enable DHCP services on that particular VLAN.
  • Lease time: Length of time before the DHCP lease expires.
  • DNS nameservers: DNS servers that the DHCP server will instruct the clients to use.
  • Boot options: Enables or disabled DHCP options used for network booting (PXE boot)
  • Boot next-server: Determines the server that network boot clients will download the boot file from. This can be an IP address or hostname. If a hostname is used, the network boot client must be able to resolve the hostname via DNS in order for network booting to work properly.
  • Boot filename: Determines the full path and name of the boot file that network boot clients will use.
  • DHCP options: Add custom DHCP options here. These options are usually required by VoIP phones or other special networking devices.
  • Reserved IP ranges: IP ranges that are reserved and therefore will not be assigned to clients. Lists of Reserved IP ranges can be imported from a CSV file.
  • Fixed IP assignments: IP addresses that are allocated to specific devices by MAC address, to ensure that these devices always get the same IP address when they make a DHCP request. Lists of Fixed IPs can be imported from a CSV file.

 

The MX can also provide DHCP for statically routed subnets. This requires that the layer 3 switch or router between the MX and the DHCP clients have DHCP relay functionality configured to relay DHCP requests for that subnet to the MX. This is not to be confused with DHCP relay on the MX itself, which is described at the bottom of this page.

 

DHCP for static routes can be configured in the same manner as DHCP for VLANs. However, the IP that is relayed to on the switch is the interface IP on the MX, as static routes do not have interfaces. In addition to the other configuration options mentioned above, you will be required to specify the Gateway IP that clients on that subnet should be using. This will generally be the IP in that subnet that is assigned to the layer 3 switch or router between the MX and the DHCP clients.

DHCP relay

If you want to forward DHCP requests for a configured subnet or VLAN to another DHCP server rather than serving DHCP on the Z1/MX appliance, you can do so by choosing the Relay DHCP to another server option for Client addressing and entering the IP address of the DHCP server you wish to forward requests to. The DHCP relay server must be reachable in one of the following three ways:

  • The DHCP server is in a local VLAN configured on the MX
  • The DHCP server is in a subnet reachable via Meraki AutoVPN
  • The DHCP server is in a subnet for which a static LAN route is configured on the MX

This option will only appear if you have VLANs enabled.

Live Monitoring

The DHCP leases live tool shows leases currently active in the MX/Z1. As new devices request DHCP addresses, leases are created and they will be added to the table. The live tool also shows the time remaining on a DHCP lease. 

The following clients will not appear in the DHCP leases tool:

  • Clients with statically assigned addresses
  • Clients with fixed DHCP assignments
  • Clients receiving an address from another DHCP server
  • Clients that have not successfully received an address from the MX
  • Clients connected over the client VPN

DHCP Leases Live Tool in the Cisco Meraki Dashboard

You must to post a comment.
Last modified
15:04, 11 Oct 2017

Tags

Classifications

This page has no classifications.

Explore Meraki

You can find out more about Cisco Meraki on our main site, including information on products, contacting sales and finding a vendor.

Explore Meraki

Contact Support

Most questions can be answered by reviewing our documentation, but if you need more help, Cisco Meraki Support is ready to work with you.

Open a Case

Ask the Community

In the Meraki Community, you can keep track of the latest announcements, find answers provided by fellow Meraki users and ask questions of your own.

Visit the Community