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> static-route destination-subnet <ipv4net>

Specifies the destination subnet of a static route for clients to store in their routing cache.

set service dhcp-server shared-network-name name subnet ipv4net static-route destination-subnet ipv4net2
delete service dhcp-server shared-network-name name subnet ipv4net static-route destination-subnet
show service dhcp-server shared-network-name name subnet ipv4net static-route destination-subnet
name
Mandatory. A DHCP address pool.
ipv4net
Mandatory. Multinode. The IPv4 network served by the DHCP address pool. The format is ip-addr/prefix.
ipv4net2
The destination IP subnet of a static route for clients to store in their routing table.

Configuration mode


service {
	dhcp-server {
		shared-network-name name {
			subnet ipv4net {
				static-route {
					destination-subnet ipv4net2
			}
		}
	}
}

Use this command to specify the destination subnet of a static route for clients to store in their routing cache. The other part of the static route is defined by using service dhcp-server shared-network-name name subnet ipv4net static-route router ipv4. Only one static route can be defined for a given subnet.

Use the set form of this command to specify the destination subnet of a static route for clients to store in their routing cache.

Use the delete form of this command to remove the destination subnet configuration.

Use the show form of this command to view the destination subnet configuration.