mirror_iproute2/man/man8
Stefan Tomanek b1d0525f9c ip rule: add route suppression options
When configuring a system with multiple network uplinks and default routes, it
is often convenient to reference a routing table multiple times - but reject
its routing decision if certain constraints are not met by it.

Consider this setup:

$ ip route add table secuplink default via 10.42.23.1

$ ip rule add pref 100            table main suppress_prefixlength 0
$ ip rule add pref 150 fwmark 0xA table secuplink

With this setup, packets marked 0xA will be processed by the additional routing
table "secuplink", but only if no suitable route in the main routing table can
be found. By suppressing entries with a prefixlength of 0 (or less), the
default route (/0) of the table "main" is hidden to packets processed by rule
100; packets traveling to destinations via more specific routes are processed
as usual.

It is also possible to suppress a routing entry if a device belonging to
a specific interface group is to be used:

$ ip rule add pref 150 table main suppress_group 1

Signed-off-by: Stefan Tomanek <stefan.tomanek@wertarbyte.de>
2013-08-04 11:54:15 -07:00
..
.gitignore man8: build cleanup 2012-08-01 14:58:15 -07:00
arpd.8 iproute2: Fix some manpage typos 2013-04-05 09:30:05 -07:00
bridge.8 iproute2 vxlan documentation update for bridge command 2013-07-09 09:38:36 -07:00
ctstat.8 iproute2 - Split up manual page installation 2012-04-12 09:47:19 -07:00
ip-address.8.in iproute2: Mention the 'up' argument in documentation 2013-03-14 13:26:33 -07:00
ip-addrlabel.8 iproute2: clarification of various man8 pages 2013-02-11 09:22:06 -08:00
ip-l2tp.8 iproute2: Fix some manpage typos 2013-04-05 09:30:05 -07:00
ip-link.8.in vxlan: Allow setting destination to unicast address. 2013-07-26 14:25:42 -07:00
ip-maddress.8 First set of manpage markup fixes 2013-06-24 17:00:54 -07:00
ip-monitor.8 iproute2: clarification of various man8 pages 2013-02-11 09:22:06 -08:00
ip-mroute.8 iproute2: clarification of various man8 pages 2013-02-11 09:22:06 -08:00
ip-neighbour.8 First set of manpage markup fixes 2013-06-24 17:00:54 -07:00
ip-netconf.8 iproute2: clarification of various man8 pages 2013-02-11 09:22:06 -08:00
ip-netns.8 First set of manpage markup fixes 2013-06-24 17:00:54 -07:00
ip-ntable.8 Fix man page whatis entry errors 2012-01-10 10:47:28 -08:00
ip-route.8.in Merge branch 'net-next-3.10' 2013-07-16 10:20:31 -07:00
ip-rule.8 ip rule: add route suppression options 2013-08-04 11:54:15 -07:00
ip-tcp_metrics.8 iproute2: add support for tcp_metrics 2012-10-08 10:23:07 -07:00
ip-token.8 ip: ipv6: add tokenized interface identifier support 2013-05-03 13:17:21 -07:00
ip-tunnel.8 First set of manpage markup fixes 2013-06-24 17:00:54 -07:00
ip-xfrm.8 First set of manpage markup fixes 2013-06-24 17:00:54 -07:00
ip.8 ip: add batch mode to man page 2013-07-13 10:02:03 -07:00
lnstat.8 man: get rid of useless reference to GNU style options 2013-05-28 08:47:56 -07:00
Makefile ip: ipv6: add tokenized interface identifier support 2013-05-03 13:17:21 -07:00
nstat.8 iproute2 - Split up manual page installation 2012-04-12 09:47:19 -07:00
routef.8 iproute2 - Split up manual page installation 2012-04-12 09:47:19 -07:00
routel.8 Add routel and routef man page. 2008-05-09 17:07:06 -07:00
rtacct.8 Add new rtacct/nstat manpages and additional symlinks. 2007-10-12 14:56:33 -07:00
rtmon.8 Man page for rtmon 2006-10-27 10:37:35 -07:00
rtstat.8 iproute2 - Split up manual page installation 2012-04-12 09:47:19 -07:00
ss.8 man: get rid of useless reference to GNU style options 2013-05-28 08:47:56 -07:00
tc-bfifo.8 tc-bfifo: man: Add parameter value range. 2012-07-13 10:01:20 -07:00
tc-cbq-details.8 iproute2: Fix some manpage typos 2013-04-05 09:30:05 -07:00
tc-cbq.8 iproute2: Fix some manpage typos 2013-04-05 09:30:05 -07:00
tc-choke.8 iproute2: Fix various manpage formatting nits 2012-09-07 09:01:51 -07:00
tc-codel.8 tc-codel: Fix typos in manpage 2012-05-25 08:50:32 -07:00
tc-drr.8 iproute2: Fix various manpage formatting nits 2012-09-07 09:01:51 -07:00
tc-ematch.8 In tc-ematch.8, remove no-op .ti requests to prevent translation warnings 2013-07-12 08:33:08 -07:00
tc-fq_codel.8 iproute2: Fix some manpage typos 2013-04-05 09:30:05 -07:00
tc-hfsc.8 HFS manpage changes 2011-11-02 16:35:32 -07:00
tc-htb.8 Fix various typos and nitpicks 2007-10-17 09:56:11 -07:00
tc-netem.8 Update tc-netem manpage to add ecn capability 2012-05-22 14:09:09 -07:00
tc-pfifo_fast.8 (Logical change 1.13) 2004-06-08 20:34:17 +00:00
tc-pfifo.8 iproute2 - Split up manual page installation 2012-04-12 09:47:19 -07:00
tc-prio.8 tc: man: Fix incorrect parameter format in prio. 2012-06-18 12:24:20 -07:00
tc-red.8 tc-red: update man page 2012-01-24 08:04:06 -08:00
tc-sfb.8 tc: man: add man page for stochastic fair blue 2011-12-22 08:54:26 -08:00
tc-sfq.8 tc-sfq: update man page 2012-01-24 08:04:06 -08:00
tc-stab.8 tc-stab.8: Fix synopsis errors, an invalid escape, and incorrect English usge. 2013-07-09 09:07:41 -07:00
tc-tbf.8 tc-tbf: remove ancient references to Alpha 2013-03-22 11:18:25 -07:00
tc.8 add short description of batch mode in tc man page 2013-04-12 09:07:09 -07:00