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> [--mtu=N]\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> [--mtu=N]\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.
34 The optional \fB--mtu\fR parameter defines the MTU along the path to the
35 destination and must be an integer number.
39 \fBremove <network>\fR
41 A route can be removed with this command.
43 \fB<network>\fR is the network prefix of a existing route.
47 \fBlist [--protocol=ipv6|ipv4]\fR
49 Shows a list of all configured routes.
51 Pass the protocol option to filter the output only for the given
60 A unicast route is the most common route in routing tables. It is a route to a destination
61 network address, which describes the path to the destination.
62 Use the \fB--gateway=...\fR option to create such a route.
68 When a route is determined and the routing decision process returns a destination with
69 an unreachable route type, an ICMP unreachable message is generated and returned to
76 This works like an \fBunreachable\fR route, but the returned ICMP message is an
77 ICMP prohibited message.
83 Packets matching this kind of route are silently discarded. There will be no ICMP message
84 sent to the source and no packet be forwarded.
89 network(8), ip-route(8)
92 Michael Tremer (michael.tremer@ipfire.org)