ROUTE(8) Linux Programmer's Manual ROUTE(8) NAME route - / IP SYNOPSIS route [-CFvnee] 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 [-v] [-A family] del [-net|-host] target [gw Gw][netmask Nm] [metric N] [[dev] If] route [-V] [--version] [-h] [--help] DESCRIPTION routeIPifconfig(8) OPTIONS -v -A family (`inet'`inet6') -n -e netstat(8)-ee -net -host -F FIB-e -ee -C del add target IP/ netmask Nm gw Gw /BSD metric M ()M mss M TCPM536 window W TCPWAX.25 irtt I TCPI(1-12000)AX.25RFC1122300ms reject mod, dyn, reinstate dev If () dev Ifdev(metric - netmask- gw - dev) EXAMPLES route add -net 127.0.0.0 255.0.0.0(A)"lo"(ifconfig(8)) route add -net 192.56.76.0 netmask 255.255.255.0 dev eth0 "eth0"192.56.76.xC192.*CIP"dev" route add default gw mango-gw ()"mango- gw""mango- gw" - "mango-gw" route add ipx4 sl0 SLIP"ipx4"("ipx4"SLIP) route add -net 192.57.66.0 netmask 255.255.255.0 gw ipx4 SLIPipx4"192.57.66.x" route add 224.0.0.0 netmask 240.0.0.0 dev eth0 "eth0"D() route add 10.0.0.0 netmask 255.0.0.0 reject "10.x.x.x." OUTPUT Destination Gateway '*'() Genmask '255.255.255.255''0.0.0.0' Flags U (route is up) H (target is a host) G (use gateway) R (reinstate route for dynamic routing) D (dynamically installed by daemon or redirect) M (modified from routing daemon or rederict) ! (reject route) Metric () Ref (Linux) Use -F -C Iface MSS TCP Window TCP irtt TCP() HH (cached only) ARP(lo)-1 Arp (cached only) FILES /proc/net/ipv6_route /proc/net/route /proc/net/rt_cache SEE ALSO ifconfig(8), netstat(8), arp(8), rarp(8) HISTORY LinuxrouteFred N. van Kempen Johannes Stille Linus Torvaldspl15Alan CoxLinux 1.1.22mss windowirttnetstatBerndEckenfels AUTHOR Phil Blundell [] meaculpa [] 2001/02/24 linuxman: http://cmpp.linuxforum.net man man https://github.com/man-pages-zh/manpages- zh net-tools 2 January 2000 ROUTE(8)