Skip to main content
Version: current

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.

FlagNameDescription
Xdisableddisabled
Iinvalidinvalid
Ddynamicdynamic
ArgumentTypeDescription
prefixalt { 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-interfaceiface_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_enumInterface on which stateless autoconfiguration runs.
boolWhen 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.
autonomousboolWhen set, indicates that RouterOS can use this prefix for autonomous address configuration. Otherwise, RouterOS ignores the prefix information.
dhcp6-pd-preferredboolindicates that clients should use DHCPv6 Prefix Delegation according to RFC9762
valid-lifetimealt { 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-lifetimealt { 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

ArgumentTypeDescription
autonomousbool
dhcp6-pd-preferredbool
valid-lifetimealt { enum (infinity) { infinity:0xffffffff } , time }
preferred-lifetimealt { enum (infinity) { infinity:0xffffffff } , time }