prefix
ipv6/nd/prefix
Package: ipv6
Type: Directory
Prefix information sent in router advertisement (RA) messages used for stateless address autoconfiguration (RFC 4862). By default, autoconfiguration applies only to hosts and not routers.
| Flag | Name | Description |
|---|---|---|
| X | disabled | disabled |
| I | invalid | invalid |
| D | dynamic | dynamic |
| Argument | Type | Description |
|---|---|---|
| prefix | alt { enum (none) { none:0 } , ip6Prefix } | Prefix used for stateless address autoconfiguration. If the option "none" is selected, RouterOS advertises only options and does not include a specific prefix. |
| 6to4-interface | iface_enum { none:0xffffffff } | If set, RouterOS combines this prefix with the interface IPv4 address to produce a valid 6to4 prefix. RouterOS replaces the first 16 bits with 2002 and the next 32 bits with the interface's configured IPv4 address. It advertises the remaining 80 bits, including the SLA ID, as configured. |
| interface ( mandatory ) | iface_enum | Interface on which stateless autoconfiguration runs. |
| on-link | bool | When set, indicates that RouterOS can treat this prefix as on-link. When not set, RA messages do not make any statement about the prefix's on-link or off-link status. The prefix might still be used for address configuration while some addresses in the prefix remain off-link. |
| autonomous | bool | When set, indicates that RouterOS can use this prefix for autonomous address configuration. Otherwise, RouterOS ignores the prefix information. |
| dhcp6-pd-preferred | bool | indicates that clients should use DHCPv6 Prefix Delegation according to RFC9762 |
| valid-lifetime | alt { enum (infinity) { infinity:0xffffffff } , time } | Length of time after the packet is sent that an address remains valid. The valid lifetime must be greater than or equal to the preferred lifetime. Read more >> |
| preferred-lifetime | alt { enum (infinity) { infinity:0xffffffff } , time } | Time after the packet is sent when the generated address becomes deprecated. A deprecated address is used only for existing connections and remains usable until the valid lifetime expires. Read more >> |
ipv6/nd/prefix/default
Package: ipv6
Type: Settings Directory
| Argument | Type | Description |
|---|---|---|
| autonomous | bool | |
| dhcp6-pd-preferred | bool | |
| valid-lifetime | alt { enum (infinity) { infinity:0xffffffff } , time } | |
| preferred-lifetime | alt { enum (infinity) { infinity:0xffffffff } , time } |