Enumeration RouteTypes

Route types.

Enumeration Members

Anycast: "anycast"

Not implemented the destinations are anycast addresses assigned to this host. They are mainly equivalent to local with one difference: such addresses are invalid when used as the source address of any packet.

Blackhole: "blackhole"

These destinations are unreachable. Packets are discarded silently. The local senders get an EINVAL error.

Broadcast: "broadcast"

The destinations are broadcast addresses. The packets are sent as link broadcasts.

Local: "local"

The destinations are assigned to this host. The packets are looped back and delivered locally.

Multicast: "multicast"

A special type used for multicast routing. It is not present in normal routing tables.

Nat: "nat"

A special NAT route. Destinations covered by the prefix are considered to be dummy (or external) addresses which require translation to real (or internal) ones before forwarding. The addresses to translate to are selected with the attribute via. Warning: Route NAT is no longer supported in Linux 2.6.

Prohibit: "prohibit"

These destinations are unreachable. Packets are discarded and the ICMP message communication administratively prohibited is generated. The local senders get an EACCES error.

Throw: "throw"

A special control route used together with policy rules. If such a route is selected, lookup in this table is terminated pretending that no route was found. Without policy routing it is equivalent to the absence of the route in the routing table. The packets are dropped and the ICMP message net unreachable is generated. The local senders get an ENETUNREACH error.

Unicast: "unicast"

The route entry describes real paths to the destinations covered by the route prefix.

Unreachable: "unreachable"

These destinations are unreachable. Packets are discarded and the ICMP message host unreachable is generated. The local senders get an EHOSTUNREACH error.

Generated using TypeDoc