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> default-router <ipv4>

Specifies the address of the default router for DHCP clients on a subnet.

set service dhcp-server shared-network-name name subnet ipv4net default-router ipv4
delete service dhcp-server shared-network-name name subnet ipv4net default-router
show service dhcp-server shared-network-name name subnet ipv4net default-router
name
Mandatory. A DHCP address pool.
ipv4net
Mandatory. Multinode. The IPv4 network served by the DHCP address pool. The format is ip-addr/prefix.
ipv4
Optional. The address of the default router for DHCP clients on this subnet. The default router should be on the same subnet as the client. The format is an IP address.

Configuration mode


service {
	dhcp-server {
		shared-network-name name {
			subnet ipv4net {
				default-router ipv4
			}
		}
	}
}

Use this command to specify the address of the default router for DHCP clients on a subnet.

Use the set form of this command to specify the address of the default router for DHCP clients on a subnet.

Use the delete form of this command to remove the default-router configuration.

Use the show form of this command to view the default-router configuration.