service dhcp-server shared-network-name <name> shared-network-parameters <params>
Specifies additional shared-network DHCP server parameters.
- name
- Mandatory. A DHCP address pool.
- 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 {
shared-network-parameters params
}
}
}
This feature is advanced and should be used by only expert users in special situations.
Use this command to specify additional shared-network DHCP server parameters 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 shared network. They apply to all subnets, and static-mappings within this scope unless parameters with a narrower scope are specified by using the subnet-parameters or static-mapping-parameters version of this command.
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 shared-network DHCP server parameters.
Use the delete form of this command to remove additional shared-network DHCP server parameters.
Use the show form of this command to display additional shared-network DHCP server parameters.