RRENUMD.CONF(5)
๐ RRENUMD.CONF(5) โ File Formats Manual, bestie ๐
โจ NAME โจ
rrenumd.conf โ configuration file for router renumbering daemon. ๐
๐ฆ DESCRIPTION ๐ฆ
Okay so the rrenumd config file is the main character here: it describes how the router renumbering packet must be constructed and to which destinations it should be sent. ๐
This file consists of a sequence of statements terminated by a semi-colon (;). Statements are composed of tokens separated by white space, which can be any combination of blanks, tabs and newlines. This structure simplifies identification of the parts of the configuration associated with each other. Lines beginning with # are comments. ๐
๐ธ Meta Syntax ๐ธ
Keywords and special characters that the parser expects exactly are displayed using the bold font. Parameters are specified with underline. Parameters shown in square brackets ([ and ]) are used to show optional keywords and parameters. The vertical bar (|) is used to indicate between a choice of optional parameters. Curly braces ({ and }) are used to group keywords and parameters when necessary. ๐
๐ง Interface specification ๐ง
There are some statements that may or have to specify interface. Interfaces are specified in the form of "name unit", such as lo0 and ep1. ๐ซถ
๐ Configuration Statements ๐
This is where the real config magic lives, bestie. Every statement, every token, no skips. ๐
debug on|off;โ Enables configuration file parser debugging. Ifonis specified, then debugging is enabled, Ifoffis specified, then debugging is disabled. It is disabled by default. ๐dest dest-list [retrycmd];โ Specifies destinations to which router renumbering messages should be sent.dest-listcan be any combination of single or multiple numerical IPv6 addrs, or Full Qualified Domain Names.retrycmdhas following syntax. ๐ฌ
retry retry-num
retryretry-numโretry-numspecifies how many router renumbering messages are sent repeatedly. ๐
[add|change|setglobal]โ Specifies contents of sending router renumbering message withseqnum 0. Ifadd|change|setglobalis not specified, thenaddis assumed. The full syntax is: โจ
[add|change|setglobal]
match-prefix match-prefix-val [/match-prefix-len]
[maxlen maxlen-val] [minlen minlen-val]
[use-prefix use-prefix-val] [/use-prefix-len]
[keeplen keeplen-val] [use-prefix-values];
use-prefix-values has following syntax.
{ [vltime vltime-val] [pltime pltime-val] [raf_onlink on|off]
[raf_auto on|off] [rrf_decrprefd on|off] [rrf_decrvalid on|off]
}
Each value has following meaning. ๐
match-prefixmatch-prefix-val[/match-prefix-len] โ Specifymatch-prefix-valthat is used for matching with preassigned prefixes to whichadd|change|setglobalcommand should be applied./match-prefix-lenSpecify the starting part ofmatch-prefix-valto be used for matching with preassigned prefixes, as decimal bit number. ๐ฏmaxlenmaxlen-valโ Specify the maximum length of prefixes which is allowed to be matched tomatch-prefix-val, as decimal bit number. ๐minlenminlen-valโ Specify the minimum length of prefixes which is allowed to be matched tomatch-prefix-val, as decimal bit number. ๐use-prefixuse-prefix-val[/usr-prefix-len] โ Specifyuse-prefix-valthat is used for prefixes to be added onadd|change|setglobalcommand./use-prefix-lenSpecify the starting part ofuse-prefix-valcopied to the starting part of prefixes to be added onadd|change|setglobalcommand, as decimal bit number. ๐งฉkeeplenkeeplen-valโ Specify the medium part ofuse-prefix-valjust next to the starting part specified byuse-prefix-len, as decimal bit number. Contiguous bits part in the same bit position of an existent prefix matched withmatch-prefix-valis copied to the same bit position of prefixes to be added. ๐งฌvltimevmtime-valโ Assign an time as prefix valid life time for a prefix to be added. Valid value for time is decimal seconds number or special format as"d00h00m00s00", where00can take any decimal number, and"d"means days,"h"means hours,"m"means minutes,"s"means seconds. And alternatively, special keyword"infinity"can be also be specified. โณpltimepltime-valโ Assign an time as prefix preferred life time for a prefix to be added. Valid value for time is same as forvltime-val. โฐraf_onlink on|offโ Let the prefix to be added to have on-link or off-link nature for the assigned interface. Ifonis specified, the prefix have on-link nature (e.g. the prefix belong to the link). Ifoffis specified, the prefix have off-link nature (e.g. the prefix does not belong to the link). ๐raf_auto on|offโ Enable or disable the autonomous address auto configuration for the prefix to be added. Ifonis specified, autonomous address auto configuration is enabled. Ifoffis specified, it is disabled. ๐คrrf_decrprefd on|offโ Enable or disable the decrementation of thepltime. Ifonis specified, decrementation of thepltimeis enabled. Ifoffis specified, decrementation of thepltimeis disabled. ๐rrf_decrvalid on|offโ Enable or disable the decrementation of thevltime. Ifonis specified, decrementation of thevltimeis enabled. Ifoffis specified, decrementation of thevltimeis disabled. ๐
seqnum seqnum-val { rrenum-cmd };โ Specifies contents of sending router renumbering message with some specificseqnum. Multiple of this statement can be specified if they have differentseqnum-valeach other.rrenum-cmdhas just same syntax with aboveadd|change|setglobalstatement. ๐ข
๐ซ EXAMPLES ๐ซ
For each configuration file example shown below, we suppose every IPv6 subnet has its own prefix beginning with fec0:0:0::/48 and with its own subnet number (in this case, subnet number is 7th and 8th octet value of the prefix). ๐
If you want to assign prefixes beginning with 3ffe:501:ffff::/48 to each subnet, then following configuration will be enough, if each of your routers supports IPv6 multicast forwarding. The subnet number of the existing fec0:0:0::/48 prefix and the newly assigned 3ffe:501:ffff::/48 prefix will be same. ๐ฆ
dest ff05::2;
add match-prefix fec0:0:0:: /48 use-prefix 3ffe:501:ffff:: /48 keeplen 16;
If your routers do not support IPv6 multicast forwarding, you will need to specify each destination at dest command. ๐ฎ
dest fec0:0:0:1:260:8ff:fe24:fb3a fec0:0:0:2:200:eff:fe2e:dfe1 fec0:0:0:3:5254:ff:fedc:5217;
add match-prefix fec0:0:0:: /48 use-prefix 3ffe:501:ffff:: /48 keeplen 16;
If you are going to do renumbering, then following procedure will be natural. ๐
- Assign a new prefix.
- Set old prefix lifetimes to some appropriate transition period. In the following example we use 1 week for valid lifetime, and 0 for preferred lifetime. Also, enable old prefix lifetime expiration (By default, it is static and does not expire).
- After the transition period, old prefixes should become invalid, and may have been deleted. To make sure that they are deleted, send new router renumbering message, which specifies old prefixes as match prefix, and no use prefix.
The following configuration file will do 1 and 2. ๐
dest ff05::2;
seqnum 0 {
add match-prefix fec0:0:0:: /48 use-prefix 3ffe:501:fffe:: /48 keeplen 16;
};
seqnum 1 {
change match-prefix 3ffe:501:ffff:: /48 use-prefix 3ffe:501:ffff:: /48 keeplen 16 vltime d7 pltime 0 rrf_decrvalid on rrf_decrprefd on;
};
And the following configuration file will do 3 (should be used for the router renumbering message to be sent 1 week afterward). โฑ๏ธ
dest ff05::2;
change match-prefix 3ffe:501:ffff:: /48;
In the above example, only add and change commands are used, and there is no example for setglobal command. setglobal command is almost same with change command except that it deletes all pre-defined IPv6 global address. ๐๏ธ
๐ SEE ALSO ๐
prefix(8)rrenumd(8)
๐ HISTORY ๐
The rrenumd.conf configuration file was first appeared in KAME IPv6 protocol stack kit. ๐ง
xoxo, bestie โ this RRENUMD.CONF(5) page is from Debian, dated November 5, 1998. ๐โจ
๐ฆ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms