home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

service dhcp-server shared-network-name <name> subnet <ipv4net> client-prefix-length <prefix>

Specifies the length of a subnet prefix to be assigned to clients.

set service dhcp-server shared-network-name name subnet ipv4net client-prefix-length prefix
delete service dhcp-server shared-network-name name subnet ipv4net client-prefix-length
show service dhcp-server shared-network-name name subnet ipv4net client-prefix-length
name
Mandatory. A DHCP address pool.
ipv4net
Mandatory. Multinode. The IPv4 network served by the DHCP address pool. The format is ip-addr/prefix.
prefix
Optional. The length of a subnet prefix that is assigned to each client. By default, the prefix length defined in the subnet parameter is assigned. The prefix length ranges from 0 through 32.

Configuration mode


service {
	dhcp-server {
		shared-network-name name {
			subnet ipv4net {
				client-prefix-length prefix
			}
		}
	}
}

Use this command to specify the length of a subnet prefix that is assigned to each client.

Use the set form of this command to specify the length of a prefix subnet that is assigned to each client.

Use the delete form of this command to delete the length of a subnet prefix.

Use the show form of this command to display the length of a subnet prefix.