User guide

Configure Network Settings
Chapter 1 Command Line Configuration Tasks 29
Example: Route Using the Ethernet Interface
In this example, a route to a subnet is created over the Ethernet interface.
Key features include the following:
The address on the “net” option is a subnetwork address, not the IP
address of a specific device.
The “wanname=ether” option, indicating that this route is over the
Ethernet interface.
The “metric” option indicates that packets to this subnet will pass
through two routers.
The “gateway” option indicates that all packets using this route are to be
forwarded to the device at IP address 191.21.21.2.
#> set route net=199.21.33.0 mask=255.255.255.0 metric=2 wannname=ether
gateway=199.21.21.2
Example: Route Using a PPP Link
In this example, a route to a subnet is created over a PPP interface. Key
features include the following:
The address on the “net” option is IP address of a specific device, not a
subnetwork address.
The “wanname” option is the name of a PPP use, indicating that this
route is over a PPP interface.
The “metric” option indicates that packets to this subnet will pass
through two routers.
The “gateway” option indicates that all packets using this route are to be
forwarded to the device at IP address 191.21.21.2.
#> set route net=199.21.33.44 mask=255.255.255.255 metric=2 wannname=ppp1
gateway=199.21.21.2