> For the complete documentation index, see [llms.txt](https://docs.islandrouter.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.islandrouter.com/island-router-cli-2.3.2/commands/ip-interface-context/ip-dhcp-scope.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
