对比windows和Linux的route设置

举例子来说明就是很简单了

先说windows
ROUTE [-f] [-p] [command [destination]
                  [MASK netmask]  [gateway] [METRIC metric]  [IF interface]
route add 10.0.0.0 mask 255.0.0.0 10.11.11.127
其中10.11.11.127为网关

再说linux
route [ -f ] [ -n ] [ -q ] [ -v ] Command [ Family ] [ [ -net | -host ]
route  [-v] [-A family] add [-net|-host] target [netmask Nm] [gw Gw] [metric N] [mss M] [window W] [irtt I] [reject] [mod] [dyn] [reinstate] [[dev] If]
route add -net 10.0.0.0 netmask 255.0.0.0.0 gw 10.11.11.127

aix , by the way:
Destination [ -prefixlen n] [ -netmask [ Address ] ] Gateway ] [ Arguments ]