ip dhcp-reserve

Assigns a dedicated IP address to a device.

Syntax

[no] ip dhcp-reserve <ip> <mac>

Syntax Description

Keyword
Description

no

(Optional) Removes an existing DHCP reservation

ip

The IP address to be assigned to the device.

mac

The MAC address of the device.

Defaults

There are no DHCP reservations by default.

Usage Guidelines

This command reserves an IP address for a client. The DHCP server will not assign a reserved IP address to any other client. When the client makes a DHCP request to the Island, the DHCP server will assign the specified address to the client, if able.

If the server is unable to assign the address (perhaps because the address is already in use by another client), it will assign another address from the DHCP scope. When the client renews its DHCP lease, the DHCP server will again try to assign the reserved address.

The reserved IP address must be a valid address on one of the interfaces on the Island. However, it does not need to be within the DHCP scope assigned to the interface.

Only one DHCP reservation is allowed for a given device.

Examples

ip dhcp-reserve 192.168.3.77 00:00:5E:00:53:7A

Last updated