I have setup a "moving" testbed where I can walk the mobile nodes
between two networks: homenet and visitnet.  The mobile node will
start up and 'mn_move' into the home network.  Then, when the node
goes out of range of the home network and into the foreign network, it
will not "move."  In the debug, the default router for the mobile node
will expire, but it will not attempt to bind a new address.  Router
advertisements are sent out by both the home agent and the foreign
router.  They are received by the mobile node and the routes for the
mobile node are updated.  Yet, it doesn't switch networks.

I've attached the debug output from the mobile node, the configuration
files from the mobile node and home agent as well as the radvd.conf
for the home agent.

I would greatly appreciate any help.

Cheers,
Ryan

Mobile Node Configuration file:
======================

         # Mobile IPv6 configuration file: Mobile Node
         #
         # filename: /etc/mip6d.conf

         NodeConfig MN;

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

         MnDiscardHaParamProb enabled;

        Interface "ath0";

        DoRouteOptimizationCN enabled;

        DoRouteOptimizationMN enabled;

        UseCnBuAck enabled;

         MnHomeLink "ath0" {
                 HomeAgentAddress fec0:106:2700::2;
                 HomeAddress fec0:106:2700::4/64;
         }

         ##
         ## IPsec configuration
         ##

        UseMnHaIPsec enabled;

        IPsecPolicySet {
              HomeAgentAddress fec0:106:2700::2;
              HomeAddress fec0:106:2700::4/64;

                 IPsecPolicy HomeRegBinding UseESP;
                IPsecPolicy MobPfxDisc UseESP;
                 IPsecPolicy TunnelMh UseESP;
         }
====================



Home Agent Configuration File
====================
         # Mobile IPv6 configuration file: Home Agent
         #
         # filename: /etc/mip6d.conf

         NodeConfig HA;

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

         ## List of interfaces where we serve as Home Agent
         Interface "ath0";

         UseMnHaIPsec enabled;

         IPsecPolicySet {
                      HomeAgentAddress fec0:106:2700::2;

                      HomeAddress fec0:106:2700::4/64;

                      IPsecPolicy HomeRegBinding UseESP;
                      IPsecPolicy TunnelMh UseESP;
              }
===================================


Home Agent radvd.conf
===================================
interface ath0{
        AdvSendAdvert on;
        MaxRtrAdvInterval 2;
        MinRtrAdvInterval 1;
        AdvHomeAgentFlag on;
        HomeAgentLifetime 10000;
        HomeAgentPreference 20;
        AdvHomeAgentInfo on;
        prefix fec0:106:2700::4/64
        {
                AdvRouterAddr on;
                AdvOnLink on;
                AdvAutonomous on;
        };
};
==================================


Mobile Node Debug Output
==================================

mip6d[7246]: 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 = mipv6/mobile-node-config.sh
conf_show: vt_hostname = localhost
conf_show: vt_service = 7777
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 = enabled
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 = enabled
conf_show: DoRouteOptimizationMN = enabled
conf_show: MnUseAllInterfaces = disabled
conf_show: MnDiscardHaParamProb = enabled
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 fec0:106:2700:0:0:0:0:4
conf_home_addr_info: HA address fec0:106:2700:0:0:0:0:2
__tunnel_add: created tunnel ip6tnl1 (9) from fec0:106:2700:0:0:0:0:4
to fec0:106:2700:0:0:0:0:2 user count 1
conf_home_addr_info: Home address fec0:106:2700:0:0:0:0:4
flag_hoa: set HoA fec0:106:2700:0:0:0:0:4/128 iif 9 flags 10
preferred_time 4294967295 valid_time 4294967295
conf_home_addr_info: Added new home_addr_info successfully
__md_discover_router: discover link on iface ath0 (6)
md_change_default_router: add new router fe80:0:0:0:218:39ff:fe7a:9a96
on interface ath0 (6)
md_change_default_router: add new router fe80:0:0:0:240:96ff:fea8:7162
on interface ath0 (6)
md_expire_router: expiring router fe80:0:0:0:218:39ff:fe7a:9a96 on
iface ath0 (6)
mn_addr_do_dad: DAD succeeded!
mn_move: 1535
mn_move: in home net
mv_hoa: move HoA fec0:106:2700:0:0:0:0:4/64 from iface 9 to 6
md_change_default_router: add new router fe80:0:0:0:218:39ff:fe7a:9a96
on interface ath0 (6)
md_expire_router: expiring router fe80:0:0:0:240:96ff:fea8:7162 on
iface ath0 (6)
md_change_default_router: add new router fe80:0:0:0:240:96ff:fea8:7162
on interface ath0 (6)
md_expire_router: expiring router fe80:0:0:0:218:39ff:fe7a:9a96 on
iface ath0 (6)
md_change_default_router: add new router fe80:0:0:0:218:39ff:fe7a:9a96
on interface ath0 (6)
md_expire_router: expiring router fe80:0:0:0:218:39ff:fe7a:9a96 on
iface ath0 (6)
md_change_default_router: add new router fe80:0:0:0:218:39ff:fe7a:9a96
on interface ath0 (6)
md_expire_router: expiring router fe80:0:0:0:240:96ff:fea8:7162 on
iface ath0 (6)
md_expire_router: expiring router fe80:0:0:0:218:39ff:fe7a:9a96 on
iface ath0 (6)
__md_discover_router: discover link on iface ath0 (6)
md_change_default_router: add new router fe80:0:0:0:240:96ff:fea8:7162
on interface ath0 (6)
mip6d[7246]: terminated (SIGINT)
terminate: got SIGINT, exiting
flag_hoa: set HoA fec0:106:2700:0:0:0:0:4/64 iif 6 flags 0
preferred_time 4294967295 valid_time 4294967295
__tunnel_del: tunnel ip6tnl1 (9) from fec0:106:2700:0:0:0:0:4 to
fec0:106:2700:0:0:0:0:2 user count decreased to 0
__tunnel_del: tunnel deleted
md_expire_router: expiring router fe80:0:0:0:240:96ff:fea8:7162 on
iface ath0 (6)
xfrm_mn_cleanup: Deleting policies and states for MN
xfrm_cn_cleanup: Deleting policies and states for CN
mip6d[7246]: MIPL Mobile IPv6 for Linux v2.0.2 stopped (Mobile Node)
==========================================

_______________________________________________
mipl mailing list
[email protected]
http://www.mobile-ipv6.org/cgi-bin/mailman/listinfo/mipl

Reply via email to