Asentria SiteBoss 530 User Manual
72
Static Routes
Static routes are network routes that specify in a more or less permanent way (
static
) that traffic to a certain
destination (destination host or destination network) gets
routed
out a certain interface or via a certain gateway.
These give you the ability to fine-tune how outbound network traffic leaves the unit for up to eight different routes.
Configuration
The S530 has a set of 8 static route slots. Each slot has an option to enable it, set the destination network, set the
gateway, and set the interface.
•
Enable
is ON/OFF, default OFF.
•
Destination Network
is network notation, i.e., w.x.y.z/s, where s is the significant bits. Default is
0.0.0.0/0.
•
Gateway
is the IP address of the gateway. Default setting is 0.0.0.0
•
Interface
is one of the allowed values: None, Ethernet 1, Ethernet 2, Dialup Modem PPP, and
Wireless Modem PPP. Default setting is NONE.
To configure a static
host
route you
1. Enable it
2. Specify a destination net with sigbits == 32
3. Specify gateway or interface
To configure a static
network
route you
1. Enable it
2. Specify a destination net with sigbits < 32
3. Specify gateway or interface
You can specify a gateway or interface. If you specify a gateway only then the frame will be IP-addressed to the
destination subnet and transmitted to the gateway, and the gateway needs to be either a local Ethernet subnet or
the peer of a PPP connection (be it wireless or PSTN). If you specify an interface, regardless of specifying a
gateway, then the frame will be transmitted out that interface. If it is an Ethernet interface then the destination
address (which matches the destination net of the route) will be arped. If it is a PPP interface then the frame
which matches its route will be transmitted to the PPP peer.
Note:
Specifiying that certain traffic goes out a PPP interface does not cause PPP to be raised when that
traffic needs to leave the unit. If a PPP interface is down then any static routes that specify a PPP interface are
effectively disabled.
Note:
Currently there is no support for Dialup Modem PPP and Wireless Modem PPP to be functional at the
same time. Eventually this will not be the case, but in the meantime the effect is that if you specify a static route
with Wireless Modem PPP interface when the Dialup Modem PPP is up instead of the Wireless, then that traffic
will go out the Dialup Modem PPP interface.
Setting Keys
•
net.staticroute.enable
•
net.staticroute.destnet
•
net.staticroute.gateway
•
net.staticroute.if
Example
Configure to route traffic to the the host 10.90.90.2 to go out via a special gateway 10.90.80.67.
net.staticroute[1].enable
=on
net.staticroute[1].destnet
=10.90.90.2/32
net.staticroute[1].gateway
=10.90.80.67
Configure to route traffic to 192.168.1.0/24 (which means a subnet of 255.255.255.0) to go out the Wireless
Modem PPP interface, whenever wireless is up.
net.staticroute[1].enable
=on
net.staticroute[1].destnet
=192.168.1.0/24
net.staticroute[1].if
=WPPP
Summary of Contents for SiteBoss 530
Page 6: ......