Configuring DHCPv6 in Gaia Clish
|
Important:
|
Workflow

-
Add the required IPv6 subnets and allocated IPv6 pools:
add dhcp6 server subnet <Subnet IPv6 Address> prefix <Subnet Mask Length> [exclude-ip-pool ...] [include-ip-pool ...]
-
Enable the configured subnets:
set dhcp6 server subnet <Subnet IPv6 Address> enable
-
Enable the DHCPv6 Server:
set dhcp6 server enable

Gaia OS can work in these DHCPv6 Client modes (these modes are mutually exclusive):
-
Regular DHCPv6 Client mode (default).
-
Configure the DHCPv6 Client mode:
set dhcp6 client client-mode normal
-
Configure the DHCPv6 Client settings:
set dhcp6 client
hostname ...
interface ...
-
-
Advanced DHCPv6 prefix-delegation mode (a mix of the DHCPv6 Client and the DHCPv6 Server).
-
Configure the DHCPv6 Client mode:
set dhcp6 client client-mode prefix-delegation
-
Configure the DHCPv6 Prefix Delegation settings:
set dhcp6 prefix-delegation ...
-

This part applies only if you configured the DHCPv6 Client mode "prefix-delegation
".
-
Configure the Prefix Delegation method:
set dhcp6 prefix-delegation delegation-method ...
-
Configure the interface that will send DHCPv6 requests to the DHCPv6 server:
set dhcp6 prefix-delegation request-from ...
-
Configure which interfaces should be configured with an IPv6 address in the relevant subnet and subsequently start assigning IPv6 addresses to hosts on that subnet:
add dhcp6 prefix-delegation assign-to...
-
Configure the IPv6 addresses for the allocated IP Pools (if you configured the delegation method "
dhcpv6
"):add dhcp6 prefix-delegation suffix-pools ...

-
Save the changes in the Gaia database:
save config
-
Examine the DHCPv6 settings:
show dhcp6 ...
Syntax

|

|

|

|
|
Important - After you add, configure, or delete features, run the " |
Parameters

Parameter |
Description |
||
---|---|---|---|
|
Specifies the interface that should be configured with an IPv6 address in the relevant subnet and subsequently start assigning IPv6 addresses to hosts on that subnet. Gaia OS automatically creates a /64 network ID and uses it generate an IPv6 address for the assigned interfaces. |
||
|
Configures the interface as DHCPv6 client (in client-mode ‘normal’). |
||
|
Specifies the IPv6 address that starts and the IPv6 address that ends the excluded allocated IP Pool range.
|
||
|
Specifies the IPv6 address that starts and the IPv6 address that ends the included allocated IP Pool range.
|
||
|
Specifies the IPv6 address of the DHCP subnet on an Ethernet interface of the Gaia device. Hosts behind the Gaia interface get IPv6 addresses from address pools in the subnet. |
||
|
For the specified subnet, configures the IPv6 address that starts and the IPv6 address that ends the excluded allocated IP Pool range. |
||
|
For the specified subnet, configures the IPv6 address that starts and the IPv6 address that ends the included allocated IP Pool range. |
||
|
For the specified subnet, configures the IPv6 Subnet Mask Length from 8 to 128. |
||
|
Enables and disables the DHCPv6 Server feature in Gaia OS. |
||
|
Specifies the working mode of the DHCPv6 Client (of the
These DHCPv6 Client modes are mutually exclusive. |
||
|
Optional. Specifies the hostname for the DHCPv6 Client. If you do not specify this hostname, the DHCPv6 server assigns a hostname to the client. |
||
|
Lease duration time, in seconds, requested from the server. |
||
|
Default: 10 Thee time interval, in seconds, the client will wait before trying to discover a new IP address, after it has already tried to reacquire its current IP address. |
||
|
Default: 300 The time, in seconds, to wait before retrying to contact a server. |
||
|
Default: 60 The time interval, in seconds, during which the client will try contacting a server. |
||
|
Specifies how Gaia OS configures the system after receiving a prefix from the DHCPv6 server. Each method is a trade-off between granularity and automation.
|
||
|
Specifies the interface, on which to send prefix-delegation requests. |
||
|
Specifies the existing subnet, for which to configure the settings. |
||
|
For the specified subnet, disables or enables the DHCPv6 Server. |
||
|
For the specified subnet, configures the default DHCPv6 lease time that should be granted to DHCPv6 clients. Applies only if DHCPv6 clients do not request a unique lease time. Range: 1 - 4294967295 Default: 43200 |
||
|
For the specified subnet, configures the maximum DHCPv6 lease time that should be granted to DHCPv6 clients that do not request a specific lease. Range: 1 - 4294967295 Default: 86400 |
||
|
Optional. For the specified subnet, configures the IPv6 addresses of DNS servers that the network hosts will use to resolve hostnames. Configure the DNS servers in the order of precedence. For example: |
||
|
Optional. For the specified subnet, configures the domain name of the network hosts. For example:
|
||
|
Optional. For the specified subnet, disables or enables the excluded allocated IP Pool range. |
||
|
Optional. For the specified subnet, configures the included allocated IP Pool range. |
||
|
Deletes the DHCPv6 client configuration for the specified logical interface. |
||
|
Deletes the interface that is configured to get an IPv6 address through prefix delegation. |
||
|
Deletes the excluded allocated IP Pool range. |
||
|
Deletes the included allocated IP Pool range. |
||
|
For the specified subnet, deletes the excluded allocated IP Pool range. |
||
|
For the specified subnet, deletes the included allocated IP Pool range. |
||
|
Shows the configured DHCPv6 Client mode. |
||
|
Shows the DHCPv6 settings for the specified interface. |
||
|
Shows the DHCPv6 settings for all interfaces. |
||
|
Shows the DHCPv6 prefix delegation settings:
|
||
|
Shows the DHCPv6 Server settings:
|