Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    is possible comment/label in routing table?


    Hello,

    is possible to add some identifier to route with iproute command?

    Thanks

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    14,038
    What distribution / version / kernel of Linux are you using? RHEL and derived distributions don't have iproute - they use the route command. AFAIK, there is no comment/annotation capability. That said, you can add comments to the appropriate /etc/iproute2 files.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    -->
    Hi,

    yes, there isn't iproute command

    Iproute2 is a collection of network utilities and it's included in almost every distro by default.

    You could check your OS depending on distibution.

    rpm -qli iproute -> RHEL/CentOS
    rpm -qli iproute2 -> SLES
    dpkg -L iproute2 -> Debian

    @https://en.wikipedia.org/wiki/Iproute2

    As far as I know you can label ip interface or link. For labeling routes I am not sure.

$spacer_open
$spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •