Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is it possible to add in the routing table a description for a route?

Something like:

ip route add 192.168.10.1/24 via 192.168.1.1 description "route to the example network"

I would like when I am running ip route show to see these descriptions to be able to manage easier the routing table.

share|improve this question
    
No - but you can add comments in the files containing the route data (/etc/sysconfig/network-scripts/route-* on a nearby RHEL box) –  symcbean Aug 30 '12 at 12:53

1 Answer 1

up vote 0 down vote accepted

Like iptables' -m comment --comment foo?

Unfortunately not.

share|improve this answer
    
I am afraid that this might be the answer - not implemented, yet. –  Mircea Vutcovici Aug 29 '12 at 23:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.