1 .TH network-route 8 "11 Aug 2012" "@VERSION@" "network man page"
4 network-route \- Network Route Configuration Control Program
7 \fBnetwork [OPTIONS] route add <network> [--gateway=..., --unreachable, --prohibit, --blackhole]\fR
9 \fBnetwork [OPTIONS] route remove <network>\fR
11 \fBnetwork [OPTIONS] route list\fR
14 The route subcommands, help to configure static routes.
16 It is possible to create and remove static routes.
19 The \fBnetwork route\fR command offers various sub commands:
21 \fBadd <network> [--gateway=..., --unreachable, --prohibit, --blackhole]\fR
23 A new route may be added by the \fBadd\fR command.
24 It is always required to pass a valid network prefix (\fB<network>\fR), which
25 can be either IPv6 or IPv4.
27 For unicast routes, the \fB--gateway=<gateway>\fR option must be passed, where
28 \fB<gateway>\fR is a valid IP address of the same protocol type as the network
31 Use \fB--unreachable\fR, \fB--prohibit\fR, \fB--blackhole\fR can be used to create
32 of that type. See \fBROUTE TYPES\fR below for more information about these options.
36 \fBremove <network>\fR
38 A route can be removed with this command.
40 \fB<network>\fR is the network prefix of a existing route.
44 \fBlist [--ipv6|--ipv4]\fR
46 Shows a list of all configured routes.
48 Pass the protocol as shown above to filter.
56 A unicast route is the most common route in routing tables. It is a route to a destination
57 network address, which describes the path to the destination.
58 Use the \fB--gateway=...\fR option to create such a route.
64 When a route is determined and the routing decision process returns a destination with
65 an unreachable route type, an ICMP unreachable message is generated and returned to
72 This works like an \fBunreachable\fR route, but the returned ICMP message is an
73 ICMP prohibited message.
79 Packets matching this kind of route are silently discarded. There will be no ICMP message
80 sent to the source and no packet be forwarded.
85 network(8), ip-route(8)
88 Michael Tremer (michael.tremer@ipfire.org)