User guide

Chapter 13: Command Line Interface
150
Routeadd Command
The routeadd command is used to add a route to the kernel routing table.
Syntax
routeadd [if <eth0 | eth1>] [flags <net|host>] [dest
ipaddress] [mask mask] [gw ipaddress] [mss value] [window
value] [irtt value]
If Interface [eth0 | eth1], LAN1 is mapped to eth0, LAN2 is mapped to
eth1
flags net - Route for a subnet host / host machine
dest - Destination host IP Address or subnet
mask - Netmask
gw - Gateway IP Address
mss - Set the TCP Maximum Segment Size (MSS) in bytes
window - Set the TCP window size for connections over this route in
bytes
irtt - Set the initial round trip time (irtt) for TCP connections over this
route in milliseconds (1-12000)
routeadd Command Example
The following command adds a route to the routing table:
admin > Config > Network > routeadd if eth0 flags net dest
192.56.76.0 mask 255.255.255.0
Routedelete Command
The routedelete command is used to remove a route from the kernel
routing table.
Syntax
routedelete <>
routedelete Command Example
The following command remove a route from the routing table:
admin > Config > Network > routedelete