proto(ip route)

proto(ip route)

Content #

the routing protocol identifier of this route. RTPROTO may be a number or a string from the file /etc/iproute2/rt_protos.

If the routing protocol ID is not given, ip assumes protocol boot.

Several protocol values have a fixed interpretation. Namely:

  1. redirect the route was installed due to an ICMP redirect.
  2. kernel the route was installed by the kernel during autoconfiguration.
  3. boot the route was installed during the bootup sequence. If a routing daemon starts, it will purge all of them.
  4. static the route was installed by the administrator to override dynamic routing. Routing daemon will respect them and, probably, even advertise them to its peers.
  5. ra the route was installed by Router Discovery protocol.

The rest of the values are not reserved and the administrator is free to assign (or not to assign) protocol tags.

From #