# Sample UMIP configuration file for a MIPv6 Mobile Node
NodeConfig MN;

# Set DebugLevel to 0 if you do not want debug messages
DebugLevel 10;

UseMnHaIPsec enabled;
KeyMngMobCapability enabled;

# Disable RO with other MNs (it is not compatible with IPsec Tunnel Payload)
DoRouteOptimizationMN disabled;
 
# The Binding Lifetime (in sec.)
# C'est quoi la longueur normale?
# MnMaxHaBindingLife 60;

Interface "eth0";

MnHomeLink "eth0" {
    HomeAgentAddress 2001:200:0:68f0::1000;
    HomeAddress 2001:200:0:68f0::1/64;
}

IPsecPolicySet {
    HomeAgentAddress 2001:200:0:68f0::1000;
    HomeAddress 2001:200:0:68f0::1/64;
 
    IPsecPolicy Mh UseESP 1;
    IPsecPolicy TunnelPayload UseESP 2;
}

