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> subnet-parameters <params>

Specifies additional subnet parameters for a DHCP server.

set service dhcp-server shared-network-name name subnet ipv4net subnet-parameters params
delete service dhcp-server shared-network-name name subnet ipv4net subnet-parameters params
show service dhcp-server shared-network-name name subnet ipv4net subnet-parameters
name
Mandatory. A DHCP address pool.
ipv4net
Mandatory. Multinode. The IPv4 network served by the DHCP address pool. The format is ip-addr/prefix.
params
A string of parameters to be used by the DHCP server. The string must be enclosed in single quotation marks (’).

Configuration mode


service {
	dhcp-server {
		shared-network-name name {
			subnet ipv4net {
				subnet-parameters params
			}
		}
	}
}
Warning:

This is an advanced feature and should only be used by expert users.

Use this command to specify additional subnet parameters for a DHCP server that are not available with the service dhcp-server commands. The Vyatta router DHCP server commands are a subset of those that are available for DHCP server configuration. This command provides access to all DHCP server configuration parameters. More information regarding DHCP server configuration is located on the dhcpd.conf man page. To access the page, type the following at the Vyatta command prompt:

man dhcpd.conf

The Vyatta router does no validation before passing the parameter string to the DHCP server process (dhcpd). Because of this nonvalidation, it is imperative that the syntax described in the dhcpd.conf documentation be strictly followed. Failure to do so could result in a failure of the DHCP server. It is advisable to check the system log for errors when using these parameter strings. In addition, the show system processes command determines if the dhcpd process is still running.

The scope of these parameters is for the specified subnet. They apply to all static-mappings within this scope unless parameters with a narrower scope are specified by using the static-mapping-parameters version of this command.

Double quotation marks (“) cannot be used within a string enclosed in single quotation marks (‘). Instead, replace all double quotation marks with &quot;.

Multiple parameter strings can be specified. Each parameter string that is specified adds a separate line to the dhcpd.conf file.

Use the set form of this command to specify additional subnet parameters for a DHCP server.

Use the delete form of this command to delete additional subnet parameters from a DHCP server.

Use the show form of this command to display additional subnet parameters for a DHCP server.