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> lease <seconds>

Specifies how long the address assigned by the DHCP server is valid.

set service dhcp-server shared-network-name name subnet ipv4net lease seconds
delete service dhcp-server shared-network-name name subnet ipv4net lease
show service dhcp-server shared-network-name name subnet ipv4net lease

The default number of seconds is 86,400 (24 hours).

name
Mandatory. A DHCP address pool.
ipv4net
Mandatory. Multinode. The IPv4 network served by the DHCP address pool. The format is ip-addr/prefix.
seconds
Optional. The number of seconds the address that is assigned by the DHCP server is valid. The number of seconds ranges from 120 through 4294967296.

Configuration mode


service {
	dhcp-server {
		shared-network-name name {
			subnet ipv4net {
				lease seconds
			}
		}
	}
}

Use this command to specify how long the address assigned by the DHCP server is valid.

Use the set form of this command to specify how long the address assigned by the DHCP server is valid.

Use the delete form of this command to remove the lease configuration.

Use the show form of this command to view the lease configuration.