# This is a configuration file for a mobile node
NodeConfig MN;
DebugLevel 10;
DoRouteOptimizationCN enabled;
DoRouteOptimizationMN enabled;
# The interface ath0 for WLAN is preffered over ethernet interface eth0
Interface "ath0"
{
MnIfPreference 1;
}
Interface "eth0"
{
MnIfPreference 2;
}
MnHomeLink "ath0"
{
HomeAgentAddress 2001::1:213:46ff:fe3b:241b; HomeAddress 2001::1:20f:3dff:fe50:1b2e/64; }
UseMnHaIPsec disabled;
KeyMngMobCapability disabled;
IPsecPolicySet
{
HomeAgentAddress 2001::1:213:46ff:fe3b:241b; HomeAddress 2001::1:20f:3dff:fe50:1b2e/64;
IPsecPolicy HomeRegBinding UseESP;
IPsecPolicy MobPfxDisc UseESP;
IPsecPolicy TunnelMh UseESP;
}
---------------------------------------------------------------------------------------------------------
Output from running the MIP daemon for the MN +++++++++++++++++++++++++++++++++++
mip6d[4152]: MIPL Mobile IPv6 for Linux v2.0.2 started (Mobile Node)
main: MIPL Mobile IPv6 for Linux started in debug mode, not detaching from terminal
conf_show: config_file =
/root/Desktop/mipv6-2.0.2/configurations/mip6d-MN.conf
conf_show: mip6_entity = 1
conf_show: debug_level = 10
conf_show: PolicyModulePath = [internal]
conf_show: DefaultBindingAclPolicy = 0
conf_show: NonVolatileBindingCache = disabled
conf_show: KeyMngMobCapability = disabled
conf_show: UseMnHaIPsec = disabled
conf_show: MnMaxHaBindingLife = 262140
conf_show: MnMaxCnBindingLife = 420
conf_show: MnRouterProbes = 0
conf_show: MnRouterProbeTimeout = 0.000000
conf_show: InitialBindackTimeoutFirstReg = 1.500000
conf_show: InitialBindackTimeoutReReg = 1.000000
conf_show: UseCnBuAck = disabled
conf_show: DoRouteOptimizationMN = enabled
conf_show: MnUseAllInterfaces = disabled
conf_show: MnDiscardHaParamProb = disabled
conf_show: SendMobPfxSols = enabled
conf_show: OptimisticHandoff = disabled
conf_show: SendMobPfxAdvs = enabled
conf_show: SendUnsolMobPfxAdvs = enabled
conf_show: MaxMobPfxAdvInterval = 86400
conf_show: MinMobPfxAdvInterval = 600
conf_show: HaMaxBindingLife = 262140
conf_show: DoRouteOptimizationCN = enabled
xfrm_cn_init: Adding policies and states for CN
xfrm_mn_init: Adding policies and states for MN
conf_home_addr_info: HoA address 2001:0:0:1:20f:3dff:fe50:1b2e
conf_home_addr_info: HA address 2001:0:0:1:213:46ff:fe3b:241b
__tunnel_add: SIOCADDTUNNEL failed status 19 No such device
tunnel_add: failed to create tunnel from 2001:0:0:1:20f:3dff:fe50:1b2e to 2001:0:0:1:213:46ff:fe3b:241b
conf_home_addr_info: failed to create MN-HA tunnel
flag_hoa: set HoA 2001:0:0:1:20f:3dff:fe50:1b2e/64 iif 4 flags 80 preferred_time 4294967295 valid_time 4294967295
tunnel_del: tunnel -1 doesn't exist
xfrm_mn_cleanup: Deleting policies and states for MN
xfrm_cn_cleanup: Deleting policies and states for CN
mip6d[4152]: MIPL Mobile IPv6 for Linux v2.0.2 stopped (Mobile Node)
----------------------------------------------------------------------------------------------------------
Configuration file for HA
+++++++++++++++++
# This is a configuration file for a home agent
NodeConfig HA;
DebugLevel 10;
# Interface of the home agent that is in the home network
Interface "dev30513";
UseMnHaIPsec disabled;
KeyMngMobCapability disabled;
IPsecPolicySet
{
HomeAgentAddress 2001::1:213:46ff:fe3b:241b;
HomeAddress 2001::1:20f:3dff:fe50:1b2e/64;
IPsecPolicy HomeRegBinding UseESP;
IPsecPolicy MobPfxDisc UseESP;
IPsecPolicy TunnelMh UseESP;
}
-------------------------------------------------------------
Output after running HA daemon
++++++++++++++++++++++++
mip6d[3584]: MIPL Mobile IPv6 for Linux v2.0.2 started (Home Agent)
main: MIPL Mobile IPv6 for Linux started in debug mode, not detaching from terminal
conf_show: config_file =
/root/Desktop/mipv6-2.0.2/configurations/mip6d-HA.conf
conf_show: mip6_entity = 2
conf_show: debug_level = 10
conf_show: PolicyModulePath = [internal]
conf_show: DefaultBindingAclPolicy = 0
conf_show: NonVolatileBindingCache = disabled
conf_show: KeyMngMobCapability = disabled
conf_show: UseMnHaIPsec = disabled
conf_show: MnMaxHaBindingLife = 262140
conf_show: MnMaxCnBindingLife = 420
conf_show: MnRouterProbes = 0
conf_show: MnRouterProbeTimeout = 0.000000
conf_show: InitialBindackTimeoutFirstReg = 1.500000
conf_show: InitialBindackTimeoutReReg = 1.000000
conf_show: UseCnBuAck = disabled
conf_show: DoRouteOptimizationMN = enabled
conf_show: MnUseAllInterfaces = disabled
conf_show: MnDiscardHaParamProb = disabled
conf_show: SendMobPfxSols = enabled
conf_show: OptimisticHandoff = disabled
conf_show: SendMobPfxAdvs = enabled
conf_show: SendUnsolMobPfxAdvs = enabled
conf_show: MaxMobPfxAdvInterval = 86400
conf_show: MinMobPfxAdvInterval = 600
conf_show: HaMaxBindingLife = 262140
conf_show: DoRouteOptimizationCN = enabled
xfrm_cn_init: Adding policies and states for CN
xfrm_ha_init: Adding policies and states for HA
ha_if_addr_setup: Joined anycast group 2001:0:0:1:fdff:ffff:ffff:fffe on iface 3
mip6d[3584]: terminated (SIGINT)
terminate: got SIGINT, exiting
xfrm_ha_cleanup: Deleting policies and states for HA
xfrm_cn_cleanup: Deleting policies and states for CN
mip6d[3584]: MIPL Mobile IPv6 for Linux v2.0.2 stopped (Home Agent)
----------------------------------------------------------------------------------------------------------
Configuration file for radvd
++++++++++++++++++++
#Interface eth1 will be receiving advertisements when the MN moves to this subnet
interface eth1
{
AdvSendAdvert on;
AdvManagedFlag off;
AdvOtherConfigFlag off;
MinRtrAdvInterval 2;
MaxRtrAdvInterval 3;
AdvIntervalOpt on;
prefix 2001:0:0:2::/64
{
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr on;
};
};
#The router is a home agent on this subnet
interface dev30513
{
AdvSendAdvert on;
AdvManagedFlag off;
AdvOtherConfigFlag off;
AdvHomeAgentFlag on;
AdvHomeAgentInfo on;
MinRtrAdvInterval 2;
MaxRtrAdvInterval 3;
HomeAgentPreference 10;
AdvIntervalOpt on;
prefix 2001:0:0:1::/64
{
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr on;
};
};
----------------------------------------------------------------------------------------------------------
Note: Please note that i would not be needing route optimization so i will disable it in my next try, is that ok or is there anything that would be affected by this?
Please also note that am a newbie to linux so if there's some details to stuff please mention them.....
I really would like to thank you all for your help and time....
Mahmoud
_______________________________________________ mipl mailing list [email protected] http://www.mobile-ipv6.org/cgi-bin/mailman/listinfo/mipl
