# ip dhcp-scope

## Syntax

```
[no] ip dhcp-scope [<low>]-[<high>]
```

## Syntax Description

<table><thead><tr><th width="125">Keyword</th><th>Description</th></tr></thead><tbody><tr><td>low</td><td>The decimal value of the host portion of the first IP address in the scope.</td></tr><tr><td>high</td><td>The decimal value of the host portion of the last IP address in the scope.</td></tr></tbody></table>

## Defaults

In the abscence of this command, the default DHCP scope is "50-". Otherwise, the defaul low value is 1 and the default high value is the last available host address on the network.

## Usage Guidelines

This command defines the range of IPv4 addresses assignable to DHCP clients. The low value is the host portion of the first assigneable address in the scope. If omitted, the default low value is 1.

The high value is the host portion of the last assignable address in the scope. If omitted, the default high value is the host portion of the last assignable address in the interface's network range. Note that the highest address in a network is reserved for broadcasts, and will never be assigned by the DHCP server.

Since these values are the decimal value of the *host* portion (only) of the IP address, the high value may exceed 254 for networks larger than /24. For example, the highest assignable value for a /22 IPv4 network (i.e., 10 bits of host address) would be 1022.

This command is valid only in interface context. Entering it does not change the [configuration mode](/island-router-cli-2.3.2/commands/ip-interface-context/ip-autoconfig.md) of the interface.

## Examples

```
ip dhcp-scope 100-
ip dhcp-scope 100-510
```

## Related Commands

{% content-ref url="/pages/BWJnOTqEun5cyL135Pir" %}
[ip dhcp-server](/island-router-cli-2.3.2/commands/ip-interface-context/ip-dhcp-server.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.islandrouter.com/island-router-cli-2.3.2/commands/ip-interface-context/ip-dhcp-scope.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
