# This is an example of mip6d Mobile Node configuration file

NodeConfig MN;

## If set to > 0, will not detach from tty
#DebugLevel 0;

## Support route optimization with other MNs
DoRouteOptimizationCN enabled;

## MN may not send BU or receive BA in correct interval on some
## environment, so enlarge the first interval to send the second BU
## since the MN moves to the another link.
# InitialBindackTimeoutFirstReg 2.0;
# InitialBindackTimeoutReReg 2.0;

## Use route optimization with CNs
DoRouteOptimizationMN enabled;

UseCnBuAck enabled;

Interface "eth0" { 
	MnIfPreference -1;
}

MnRouterProbesRA 1;
MnRouterProbesLinkUp 0;

MnHomeLink "eth0" {
	HomeAddress 3ffe:501:ffff:100::1/64;
}

##
## IPsec configuration
##

UseMnHaIPsec enabled;

## Key Management Mobility Capability
KeyMngMobCapability disabled;

IPsecPolicySet {
	HomeAgentAddress 3ffe:501:ffff:100:200:ff:fe00:a0a0;
	HomeAddress 3ffe:501:ffff:100::1/64;
	IPsecPolicy Mh UseESP 1 2;
	IPsecPolicy TunnelMh UseESP 3 4;
	IPsecPolicy ICMP UseESP 5 6;
}
