mip6d.conf(5)
π NAME π
Okay bestie, welcome to mip6d.conf(5) β the Mobile IPv6 and NEMO Daemon Configuration page β aka the MIPL Mobile IPv6 and NEMO Configuration file. It's literally the config file for the MIPL Mobile IPv6 and NEMO daemon, and we're gonna go through every option together, no skipped lore. π«Ά
β¨ SYNOPSIS β¨
/etc/mip6d.conf
π DESCRIPTION π
This is the MIPL Mobile IPv6 and NEMO daemon's configuration file. Main character energy, honestly.
Below is a list of currently supported configuration options. All configuration lines are terminated with a semicolon. Sub-sections are enclosed in { and }. Strings are quoted with double quotes. periodt. π
π COMMON OPTIONS π
The file contains the following common definitions:
include "<pattern>"β Includes content from other files based on the provided pattern. Usual shell wildcards are supported (?,*,[). Seeman (7) globfor details. The number of included files is virtually unlimited, but only five levels of recursion are authorized to prevent loops. Note that if the given pattern does not match any file, a simple warning is issued but parsing continues. Unlike most configuration statements, no;is expected after the pattern. iykyk.
Example:
include "/etc/mip6d.conf.d/*.conf"
NodeConfig CN | HA | MN;β Indicates if the daemon should run in Correspondent Node, Home Agent or Mobile Node mode. Choose your fighter.
Default: CN
DebugLevel number;β Indicates the debug level of the daemon. If the value is greater than zero, the daemon will not detach from tty (i.e. debug messages will be printed on the controlling tty). tty bestie era.
Default: 0
DoRouteOptimizationCN boolean;β Indicates if a node should participate in route optimization with a Mobile Node.
Default: enabled
NonVolatileBindingCache boolean;β This option is currently ignored. Binding cache is always stored in volatile memory, and is not retained between shutdown and startup. Not me thinking this would persist things π
π OPTIONS COMMON TO HOME AGENT AND MOBILE NODE π
These options are used both in the Home Agent and Mobile Node:
Interface name;
Interface name {
MnIfPreference number;
IfType CN | HA | MN;
Tunnel boolean;
}
Interfaceβ Specifies an interface and options associated with it. If no options are present,Interfacecan be terminated with semi-colon. This is used for the home agent to specify which interfaces are used for HA operation. For the home agent to function properly, a Router Advertisement daemon (e.g.radvd) must broadcast advertisements with the Home Agent bit and Home Agent Information Option set on these interfaces. This option is also used by multihomed Mobile Nodes to define which interfaces are used by it. For MN and CN, it is possible to provide interfaces that are not already available when the daemon is started. Those will be used when available. slay, flexible queen.MnIfPreference number;β Sets the interface preference value for an interface in a multi-homed Mobile Node. The most preferred interfaces have preference1, the second most preferred have2, etc. Values between0and10are allowed. A preference of zero means the interface will not be used.
The interface preference has a direct impact on the metric of default routes configured by the daemon from RA information. Note that if two interfaces with associated default routes have the same preference value, the routes will end up having the same metric, except if different default router preference (RFC 4191) values are provided in RA. In a sense, MnIfPreference value is the primary selector for interface and default route selection, and the default router preference value provided in RA can then be used to break a tie.
Default: 10
IfType CN | HA | MN;β Overrides the default node behavior for this interface. If a MN doesn't wish to use this interface for mobility, or a node doesn't act as HA on this interface, the interface type should be set toCN.
Default: same as NodeConfig
Tunnel boolean;β When enabled, this flag explicitly marks the interface as a tunnel interface and modifies the behavior of UMIP regarding the router discovery, address configuration and route addition steps for the interface. Those are expected to be done externally (manually or by another automatic process β for instance when using a Teredo interface). Note that the handling of routing via the interface is still partly handled by UMIP but leaves some latitude to the user or the automatic process that set up the interface. UMIP looks for default routes in the main table that use the interface as output device and replaces them by a default route with a proper preference. If a gateway was present for the route (there is one for6to4, but none whenmiredois used), it is kept in the new route. Other routes that are defined for the device (including other default routes in other tables) are left untouched.
Default: disabled
Limitations and details:
- Tunnel interfaces are only allowed for MN and CN (not HA).
- They are never considered as home link (i.e. you will never be at home on a tunnel).
- Unlike for physical interfaces, link detection is not reliable for tunnel interfaces. If the tunnel interface state is directly dependent on some physical interface link status, that status must be monitored externally (i.e. not by UMIP) and reflected by having either the interface being set down/up or address being removed/added for UMIP to detect the change in interface configuration.
- An address must be configured on the interface for it to be selected. If no address is available, UMIP will simply not consider the interface at all (even if it provides a default route).
- Routes that include specific sources are not considered by UMIP.
Example:
When using a teredo interface, the default route through the teredo device is found and its preference changed. Link local routes are kept unchanged. Address configuration is kept unmodified.
When using a 6to4 tunnel interface, a default route through the 6to4 device exists. It uses the 6to4 relay address (::192.88.99.1 anycast address or another specific one) as gateway. UMIP finds this default route and installs a new default one with the same gateway but an updated metric.
UseMnHaIPsec boolean;β Indicates if the MN-HA MIPv6 signalling should be protected with IPsec.
Default: enabled
KeyMngMobCapability boolean;β If dynamic keying with MIPv6-aware IKE is used, this option should be enabled. It turns on theK-bitfor binding updates and binding acknowledgements. <butterfly>key management wig.</butterfly>
Default: disabled
IPsecPolicySet {
HomeAgentAddress address;
HomeAddress address/length;
IPsecPolicy ...
...
}
IPsecPolicySetβ A set of policies to apply for matching packets. A policy set can contain multipleHomeAddressoptions, but only oneHomeAgentAddressoption. For home agent, the home agent address field contains its own address, and home address fields may contain any number of mobile nodes for which the same policy applies. policy queen behavior.
IPsecPolicy type UseESPnumber number;
IPsecPolicy type UseESPnumber number;β Fieldtypecan be one ofHomeRegBinding,Mh,MobPfxDisc,ICMP,any,TunnelMh,TunnelHomeTesting, orTunnelPayload. Theanyoption protects all transport mode communication between the MN and HA. Currently only the ESP IPsec protocol is supported, but in the future AH and IPComp might also be available. The two remaining numeric fields are the IPsecreqidvalues, the first one used forMN - HA, the second one forHA - MNcommunication. If just one value is defined, the samereqidwill be used in both directions. If noreqidis given,reqidwill not be used.
If more than one IPsec transport mode or tunnel mode policy is defined between the MN and HA in each direction, reqid can be used to provide an unambiguous one-to-one mapping between IPsec policies and SAs. Otherwise the policies will just share a common SA. no cap, that mapping matters.
π HOME AGENT SPECIFIC OPTIONS π
The following definitions are ignored unless the node is configured as a HA:
HaMaxBindingLife number;β Limits the maximum lifetime (in seconds) for Mobile Node home registrations.
Default: 262140
SendMobPfxAdvs boolean;β Controls whether the home agent sends Mobile Prefix Advertisements to mobile nodes in foreign networks.SendUnsolMobPfxAdvs boolean;β Controls whether the home agent sends unsolicited Mobile Prefix Advertisements to mobile nodes in foreign networks.MinMobPfxAdvInterval number;β Sets a minimum interval (in seconds) for Mobile Prefix Advertisements.
Default: 600
MaxMobPfxAdvInterval number;β Sets a maximum interval (in seconds) for Mobile Prefix Advertisements.
Default: 86400
HaAcceptMobRtr enabled | disabled;β Indicates if the HA accepts Mobile Router bindings.
Default: disabled;
HaServedPrefix prefix/length;βprefixis an IPv6 prefix andlengthis the prefix length. Defines the whole aggregated or extended prefix the HA serves. This option is only used for MR bindings and is only needed if the MRs derive their Home Addresses from their Mobile Network Prefixes, instead of one of the home link prefixes.BindingAclPolicy address MNP-list allow | deny;β Defines if a MN is allowed to register with the HA or not. The home address of the MN is given in theaddressfield. The mobile network prefixes belonging to a NEMO Mobile Router are listed in theMNP-list. The list can either be an empty string or a comma separated list of network prefixes enclosed in braces, for example:(3ffe:2620:6:3::/64, 3ffe:2620:6:4::/64)ACL glamour.DefaultBindingAclPolicy allow | deny;β Defines the default policy if no matchingBindingAclPolicyentry is found for a MN.
Default: allow
π MOBILE NODE SPECIFIC OPTIONS π
Okay bestie, heads up: these definitions are ignored unless the node is configured as a MN. So if your node is not in Mobile Node mode, this whole section is basically behind a velvet rope. π«Ά
MnMaxHaBindingLife number;β Limits the maximum lifetime (in seconds) for Mobile Node home registrations. Default:262140MnMaxCnBindingLife number;β Limits the maximum lifetime (in seconds) for Mobile Node Correspondent Node registrations. Default:420MnDiscardHaParamProb boolean;β Toggles if the Mobile Node should discard ICMPv6 Parameter Problem messages from its Home Agent. As the ICMPv6 error messages won't normally be protected by IPsec, a malicious third party can quite easily impersonate the HA to the MN. Having the MN accept these messages therefore leaves it open to Denial of Service attacks, even though its home registration signalling is protected by IPsec. Default:disabledSendMobPfxSols boolean;β Controls whether mobile node sends Mobile Prefix Solicitations to the home network.DoRouteOptimizationMN boolean;β Indicates if the Mobile Node should initialize route optimization with Correspondent Nodes. Default:enabledMnUseAllInterfaces enabled | disabled;β Indicates if all interfaces should be used for mobility. The preference of these interfaces is always1. Unless you use dynamically created and named network interfaces you should normally disable this option and useInterfaceoptions to explicitly list the used interfaces. Default:disabledMobRtrUseExplicitMode enabled | disabled;β Toggles between explicit or implicit mode home registrations in the MR. Default:enabledUseCnBuAck boolean;β Indicates if the Acknowledge bit should be set in Binding Updates sent to Correspondent Nodes. Default:disabledMnRouterProbes number;β Indicates how many times the MN should send Neighbor Unreachability Detection (NUD) probes to its old router after receiving a Router Advertisement (RA) from a new one. If the option is set to zero or the new router advertises a strictly higher default preference value than the old one (as defined in RFC 4191), the MN will move to the new router straight away. Default:0MnRouterProbeTimeout decimal;β Indicates how long (in seconds) the MN should wait for a reply during a access router Neighbor Unreachability Detection probe. If set, it overrides any default Neighbor Solicitation Retransmit Timer value greater thanMnRouterProbeTimeout. For example, if the interface Retransmit Timer is1second, butMnRouterProbeTimeoutis just0.2seconds, the MN will only wait0.2seconds for a Neighbor Advertisement before proceeding with the handoff. Default:0OptimisticHandoff enabled | disabled;β When a Mobile Node sends a Binding Update to the Home Agent, no Route Optimized or reverse tunneled traffic is sent until a Binding Acknowledgement is received. When enabled, this option allows the Mobile Node to assume that the binding was successful right after the BU has been sent, and does not wait for a positive acknowledgement before using RO or reverse tunneling. Default:disabledMnHomeLink name { ... }β EachMnHomeLinkdefinition has aname. This is the name (enclosed in double quotes) of the interface used for connecting to the physical home link. To set up multiple Home Addresses on the Mobile Node, you need to define multipleMnHomeLinkstructures. The interface names don't have to be unique in these definitions. All the home link specific definitions are detailed below:
MnHomeLink name {
HomeAddress address/length MNP list;
HomeAgentAddress address;
MnRoPolicy ...
...
}
HomeAddress address/length MNP list;βaddressis an IPv6 address, andlengththe prefix length of the address, usually64. The MNP list contains the mobile network prefixes belonging to that particular NEMO Mobile Router. The MNP list is of the same format as inBindingAclPolicy. This option must be included in a home link definition.HomeAgentAddress address;βaddressis the IPv6 address of the Mobile Node's Home Agent. DHAAD is used if it is the unspecified address::. Default:::IsMobRtr enabled | disabled;β Defines if the MN is a NEMO MR. Default:disabled
The route optimization policies are of the form:
MnRoPolicy address boolean;
MnRoPolicy address boolean;β Any number of these policies may be defined. If no policies are defined default behavior depends on theDoRouteOptimizationMNoption.
The fields for a route optimization policy entry are as follows:
addressdefines the Correspondent Node this policy applies to, if left undefined the unspecified address is used as a wildcard value.booleansets route optimization either enabled or disabled for packets matching this entry.
β¨ EXAMPLES β¨
A NEMO Home Agent example:
NodeConfig HA;
Interface "eth0";
HaAcceptMobRtr enabled;
HaServedPrefix 3ffe:2620:6::/48;
DefaultBindingAclPolicy deny;
BindingAclPolicy 3ffe:2620:6:1::1234 (3ffe:2620:6:2::/64, 3ffe:2620:6:3::/64) allow;
BindingAclPolicy 3ffe:2620:6:1::1235 allow;
UseMnHaIPsec disabled;
A NEMO Mobile Router example:
NodeConfig MN;
DoRouteOptimizationCN disabled;
DoRouteOptimizationMN disabled;
Interface "eth0";
MnRouterProbes 1;
MobRtrUseExplicitMode enabled;
MnHomeLink "eth0" {
IsMobRtr enabled;
HomeAgentAddress 3ffe:2620:6:1::1;
HomeAddress 3ffe:2620:6:1::1234/64 (3ffe:2620:6:2::/64, 3ffe:2620:6:3::/64);
}
UseMnHaIPsec disabled;
A Correspondent Node example:
NodeConfig CN;
DoRouteOptimizationCN enabled;
A Home Agent example:
NodeConfig HA;
Interface "eth0";
Interface "eth1";
UseMnHaIPsec enabled;
IPsecPolicySet {
HomeAgentAddress 3ffe:2620:6:1::1;
HomeAddress 3ffe:2620:6:1::1234/64;
HomeAddress 3ffe:2620:6:1::1235/64;
IPsecPolicy HomeRegBinding UseESP;
IPsecPolicy TunnelMh UseESP;
}
A Mobile Node example:
NodeConfig MN;
DoRouteOptimizationCN enabled;
DoRouteOptimizationMN enabled;
UseCnBuAck enabled;
MnHomeLink "eth0" {
HomeAgentAddress 3ffe:2620:6:1::1;
HomeAddress 3ffe:2620:6:1::1234/64;
# address opt.
#MnRoPolicy 3ffe:2060:6:1::3 enabled;
#MnRoPolicy disabled;
}
UseMnHaIPsec enabled;
IPsecPolicySet {
HomeAgentAddress 3ffe:2620:6:1::1;
HomeAddress 3ffe:2620:6:1::1234/64;
IPsecPolicy HomeRegBinding UseESP;
IPsecPolicy TunnelMh UseESP;
}
π¦ SEE ALSO π¦
mip6d(1)mipv6(7)RFC3775: Mobility Support in IPv6RFC3776: Using IPsec to Protect Mobile IPv6 Signaling Between Mobile Nodes and Home Agents
And that's the whole vibe, bestie: this is the mip6d.conf(5) manual page, dated January 31, 2006. πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: mipv6d 2.0.2.umip.0.4-bp160.1.12 Β· GPL-2.0
- opensuse-leap 16.0: mipv6d 2.0.2.umip.0.4-bp160.1.12 Β· GPL-2.0
- opensuse-leap 16.0: mipv6d 2.0.2.umip.0.4-bp160.1.12 Β· GPL-2.0
- opensuse-leap 16.0: mipv6d 2.0.2.umip.0.4-bp160.1.12 Β· GPL-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms