Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

service dhcp-server shared-network-name <name> subnet <ipv4net> start <ipv4> stop <ipv4>

Specifies the range of addresses that are assigned to DHCP clients.

set service dhcp-server shared-network-name name subnet ipv4net start ipv4 stop ipv4
delete service dhcp-server shared-network-name name subnet ipv4net start [ ipv4 [ stop ] ]
show service dhcp-server shared-network-name name subnet ipv4net start [ ipv4 ]
name
Mandatory. A DHCP address pool.
ipv4net
Mandatory. Multinode. The IPv4 network served by the DHCP address pool. The format is ip-addr/prefix.
start
Optional. Multinode. The beginning address in a range of addresses. This address is the first address in the range that can be assigned.

You can define multiple address ranges within an address pool by creating multiple start configuration nodes.

stop
Mandatory. The ending address in this range of addresses. This address is the last address in the range that can be assigned.

Configuration mode


service {
	dhcp-server {
		shared-network-name name {
			subnet ipv4net {
				start ipv4 {
					stop ipv4
				}
			}
		}
	}
}

Use this command to specify the range of addresses that are assigned to DHCP clients.

Use the set form of this command to specify the range of addresses that are assigned to DHCP clients.

Use the delete form of this command to remove the address range configuration.

Use the show form of this command to view the address range configuration.