User guide
Configuring Network
160
Routeadd Command
Therouteaddcommandisusedtoaddaroutetothekernelroutingtable.
Thesyntaxofthecommandis:
routeadd [if <eth0 | eth1>] [flags <net|host>] [dest
ipaddress] [mask mask] [gw ipaddress] [mss value] [window
value] [irtt value]
IfInterface[eth0|eth1],LAN1ismappedtoeth0,LAN2ismappedto
eth1
• flagsnet‐Routeforasubnethost/hostmachine
• dest‐
DestinationhostIPAddressorsubnet
• mask‐Netmask
• gw‐GatewayIPAddress
• mss‐SettheTCPMaximumSegmentSize(MSS)inbytes
• window‐SettheTCPwindowsizeforconnectionsoverthisroutein
bytes
• irtt‐Settheinitialroundtriptime(irtt)forTCPconn
ectionsoverthi
s
routeinmilliseconds(1‐12000)
Routeadd Command Example
Thefollowingcommandaddsaroutetotheroutetable:
admin > Config > Network > routeadd if eth0 flags net dest
192.56.76.0 mask 255.255.255.0
Routedelete Command
Theroutedeletecommandisusedtoremovearoutefromthekernel
routingtable.
Thesyntaxoftheroutedeleteis:
routedelete <>
Routedelete Command Example
Thefollowingcommandremovearoutefromtheroutetable:
admin > Config > Network > routedelete