I am wondering what, if anything, this content of the /etc/iproute2/rt_realms file mean?

# reserved values
# 0 cosmos
# local
#1 inr.ac
#2 inr.ruhep
#3 freenet
#4 radio-msu
#5 russia
#6 internet

1 Answer 1


Realms in iproute2 are a way of clustering sets of routes into groups. Packets following each route will be considered part of the corresponding realm, this classification can then be used to do bandwidth throttling, apply filters (e.g. with iptables), track usage statistics, and more, realm-wise.

Realm IDs are integers, but can also be called by name if configured. The file you mention (/etc/iproute2/rt_realms) is where you link the names to the numerical value of the realm. The contents as you show them are just examples of how the file can be constructed (all lines are commented with #).

You can find more information regarding realms in iproute2 here: http://www.policyrouting.org/iproute2.doc.html#ss9.9

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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