Hello all,
I have installed the MIPL 2.0.1 on our testbed(kernel version is 2.6.15). HA
was installed on a host that has 2 NICs, one of
the 2 interfaces was chosen to be the Home Link, and the other be the foreign
link. MN was installed on the other host. I can
ping6 each other before testing.
When started on the foreign link, it seems that the MN can not send a BU to the
Home Agent(I used Ethereal but no BU was
caught), and I can't ping6 HA any more.
Here is the log of HA:
[EMAIL PROTECTED] sbin]# ./mip6d -c /etc/mipv6/ha.conf
mip6d[20929]: MIPL Mobile IPv6 for Linux v2.0.1 started (Home Agent)
main: MIPL Mobile IPv6 for Linux started in debug mode, not detaching from
terminal
conf_show: config_file = /etc/mipv6/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 = 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 = disabled
conf_show: DoRouteOptimizationMN = enabled
conf_show: MnUseAllInterfaces = disabled
conf_show: MnDiscardHaParamProb = disabled
conf_show: SendMobPfxSols = enabled
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:250:f004:401:fdff:ffff:ffff:fffe on
iface 4
mip6d[20929]: 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[20929]: MIPL Mobile IPv6 for Linux v2.0.1 stopped (Home Agent)
[EMAIL PROTECTED] sbin]# ./mip6d -c /etc/mipv6/ha.conf
mip6d[20941]: MIPL Mobile IPv6 for Linux v2.0.1 started (Home Agent)
main: MIPL Mobile IPv6 for Linux started in debug mode, not detaching from
terminal
conf_show: config_file = /etc/mipv6/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 = 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 = disabled
conf_show: DoRouteOptimizationMN = enabled
conf_show: MnUseAllInterfaces = disabled
conf_show: MnDiscardHaParamProb = disabled
conf_show: SendMobPfxSols = enabled
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:250:f004:401:fdff:ffff:ffff:fffe on
iface 4
The log of MN:
[EMAIL PROTECTED] sbin]# ./mip6d -c /etc/mipv6/mn.conf
mip6d[6517]: MIPL Mobile IPv6 for Linux v2.0.1 started (Mobile Node)
main: MIPL Mobile IPv6 for Linux started in debug mode, not detaching from
terminal
conf_show: config_file = /etc/mipv6/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 = enabled
conf_show: MnMaxHaBindingLife = 262140
conf_show: MnMaxCnBindingLife = 420
conf_show: MnRouterProbes = 1
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 = disabled
conf_show: SendMobPfxSols = enabled
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:250:f004:402:20a:ebff:fe04:78db
conf_home_addr_info: HA address 2001:250:f004:402:0:0:0:1
__tunnel_add: created tunnel ip6tnl1 (12) from
2001:250:f004:402:20a:ebff:fe04:78db to 2001:250:f004:402:0:0:0:1 user count 1
conf_home_addr_info: Home address 2001:250:f004:402:20a:ebff:fe04:78db
flag_hoa: set HoA 2001:250:f004:402:20a:ebff:fe04:78db/128 iif 12 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 eth0 (4)
md_change_default_router: add new router fe80:0:0:0:20a:ebff:fe14:e0bd on
interface eth0 (4)
mn_addr_do_dad: DAD succeeded!
mn_addr_do_dad: DAD succeeded!
mn_move: 1535
mn_move: in home net
mv_hoa: move HoA 2001:250:f004:402:20a:ebff:fe04:78db/64 from iface 12 to 4
md_expire_router: expiring router fe80:0:0:0:20a:ebff:fe14:e0bd on iface eth0
(4)
__md_discover_router: discover link on iface eth0 (4)
md_change_default_router: add new router fe80:0:0:0:20f:1fff:fe4e:b84e on
interface eth0 (4)
mn_move: 1535
mn_move: in foreign net
mv_hoa: move HoA 2001:250:f004:402:20a:ebff:fe04:78db/128 from iface 4 to 12
mn_send_home_bu: 686
mn_get_home_lifetime: CoA lifetime 11998 s, HoA lifetime 11989 s, BU lifetime
11988 s
mip6d[6517]: MN lacks the necessary IPsec policies for protecting the home
registration to HA 2001:250:f004:402:0:0:0:1
mn_ro_pol_add: Adding default RO triggering policies for all Correspondent
Nodes
process_first_home_bu: New bule for HA
bul_add: Adding bule
== BUL_ENTRY ==
Home address 2001:250:f004:402:20a:ebff:fe04:78db
Care-of address 2001:250:f004:401:20a:ebff:fe04:78db
CN address 2001:250:f004:402:0:0:0:1
lifetime = 11988, delay = 1500
flags: IP6_MH_BU_HOME IP6_MH_BU_ACK IP6_MH_BU_LLOCAL
mn_send_home_bu: New bule for HA
mh_send: sending MH type 5
from 2001:250:f004:402:20a:ebff:fe04:78db
to 2001:250:f004:402:0:0:0:1
mh_send: local CoA 2001:250:f004:401:20a:ebff:fe04:78db
mh_send: sendmsg: Operation not permitted
mn_send_bu_msg: mh_send failed ret: -1
bul_update_timer: Updating timer
== BUL_ENTRY ==
Home address 2001:250:f004:402:20a:ebff:fe04:78db
Care-of address 2001:250:f004:401:20a:ebff:fe04:78db
CN address 2001:250:f004:402:0:0:0:1
lifetime = 11988, delay = 1500
flags: IP6_MH_BU_HOME IP6_MH_BU_ACK IP6_MH_BU_LLOCAL
tunnel_mod: modifying tunnel 12 end points with from
2001:250:f004:401:20a:ebff:fe04:78db to 2001:250:f004:402:0:0:0:1
__tunnel_mod: modified tunnel iface ip6tnl1 (12)from
2001:250:f004:401:20a:ebff:fe04:78db to 2001:250:f004:402:0:0:0:1
bu_resend: Bul resend [0x8075e38] type 0
mn_get_home_lifetime: CoA lifetime 11997 s, HoA lifetime 11988 s, BU lifetime
11988 s
mh_send: sending MH type 5
from 2001:250:f004:402:20a:ebff:fe04:78db
to 2001:250:f004:402:0:0:0:1
mh_send: local CoA 2001:250:f004:401:20a:ebff:fe04:78db
mh_send: sendmsg: Operation not permitted
mn_send_bu_msg: mh_send failed ret: -1
bul_update_timer: Updating timer
== BUL_ENTRY ==
Home address 2001:250:f004:402:20a:ebff:fe04:78db
Care-of address 2001:250:f004:401:20a:ebff:fe04:78db
CN address 2001:250:f004:402:0:0:0:1
lifetime = 11988, delay = 3000
flags: IP6_MH_BU_HOME IP6_MH_BU_ACK IP6_MH_BU_LLOCAL
bu_resend: Bul resend [0x8075e38] type 0
mn_get_home_lifetime: CoA lifetime 11994 s, HoA lifetime 11985 s, BU lifetime
11984 s
mh_send: sending MH type 5
from 2001:250:f004:402:20a:ebff:fe04:78db
to 2001:250:f004:402:0:0:0:1
mh_send: local CoA 2001:250:f004:401:20a:ebff:fe04:78db
mh_send: sendmsg: Operation not permitted
mn_send_bu_msg: mh_send failed ret: -1
bul_update_timer: Updating timer
== BUL_ENTRY ==
Home address 2001:250:f004:402:20a:ebff:fe04:78db
Care-of address 2001:250:f004:401:20a:ebff:fe04:78db
CN address 2001:250:f004:402:0:0:0:1
lifetime = 11984, delay = 6000
flags: IP6_MH_BU_HOME IP6_MH_BU_ACK IP6_MH_BU_LLOCAL
bu_resend: Bul resend [0x8075e38] type 0
mn_get_home_lifetime: CoA lifetime 11999 s, HoA lifetime 11979 s, BU lifetime
11976 s
mh_send: sending MH type 5
from 2001:250:f004:402:20a:ebff:fe04:78db
to 2001:250:f004:402:0:0:0:1
mh_send: local CoA 2001:250:f004:401:20a:ebff:fe04:78db
mh_send: sendmsg: Operation not permitted
mn_send_bu_msg: mh_send failed ret: -1
bul_update_timer: Updating timer
== BUL_ENTRY ==
Home address 2001:250:f004:402:20a:ebff:fe04:78db
Care-of address 2001:250:f004:401:20a:ebff:fe04:78db
CN address 2001:250:f004:402:0:0:0:1
lifetime = 11976, delay = 12000
flags: IP6_MH_BU_HOME IP6_MH_BU_ACK IP6_MH_BU_LLOCAL
bu_resend: Bul resend [0x8075e38] type 0
mn_get_home_lifetime: CoA lifetime 11994 s, HoA lifetime 11967 s, BU lifetime
11964 s
mh_send: sending MH type 5
from 2001:250:f004:402:20a:ebff:fe04:78db
to 2001:250:f004:402:0:0:0:1
mh_send: local CoA 2001:250:f004:401:20a:ebff:fe04:78db
mh_send: sendmsg: Operation not permitted
mn_send_bu_msg: mh_send failed ret: -1
bul_update_timer: Updating timer
== BUL_ENTRY ==
Home address 2001:250:f004:402:20a:ebff:fe04:78db
Care-of address 2001:250:f004:401:20a:ebff:fe04:78db
CN address 2001:250:f004:402:0:0:0:1
lifetime = 11964, delay = 24000
flags: IP6_MH_BU_HOME IP6_MH_BU_ACK IP6_MH_BU_LLOCAL
bu_resend: Bul resend [0x8075e38] type 0
mn_get_home_lifetime: CoA lifetime 11999 s, HoA lifetime 11943 s, BU lifetime
11940 s
mh_send: sending MH type 5
from 2001:250:f004:402:20a:ebff:fe04:78db
to 2001:250:f004:402:0:0:0:1
mh_send: local CoA 2001:250:f004:401:20a:ebff:fe04:78db
mh_send: sendmsg: Operation not permitted
mn_send_bu_msg: mh_send failed ret: -1
bul_update_timer: Updating timer
== BUL_ENTRY ==
Home address 2001:250:f004:402:20a:ebff:fe04:78db
Care-of address 2001:250:f004:401:20a:ebff:fe04:78db
CN address 2001:250:f004:402:0:0:0:1
lifetime = 11940, delay = 32000
flags: IP6_MH_BU_HOME IP6_MH_BU_ACK IP6_MH_BU_LLOCAL
mip6d[6517]: terminated (SIGINT)
terminate: got SIGINT, exiting
flag_hoa: set HoA 2001:250:f004:402:20a:ebff:fe04:78db/128 iif 12 flags 0
preferred_time 9624 valid_time 11624
mh_send: sending MH type 5
from 2001:250:f004:402:20a:ebff:fe04:78db
to 2001:250:f004:402:0:0:0:1
mh_send: local CoA 2001:250:f004:401:20a:ebff:fe04:78db
mh_send: sendmsg: Operation not permitted
mn_send_bu_msg: mh_send failed ret: -1
mn_pol_ext_cleanup:
mn_ro_pol_del: Deleting default RO triggering policies for all Correspondent
Nodes
bul_delete: Deleting bule
== BUL_ENTRY ==
Home address 2001:250:f004:402:20a:ebff:fe04:78db
Care-of address 2001:250:f004:402:20a:ebff:fe04:78db
CN address 2001:250:f004:402:0:0:0:1
lifetime = 0, delay = 32000
flags: IP6_MH_BU_HOME IP6_MH_BU_ACK IP6_MH_BU_LLOCAL
__tunnel_del: tunnel ip6tnl1 (12) from 2001:250:f004:401:20a:ebff:fe04:78db to
2001:250:f004:402:0:0:0:1 user count decreased
to 0
__tunnel_del: tunnel deleted
md_expire_router: expiring router fe80:0:0:0:20f:1fff:fe4e:b84e on iface eth0
(4)
xfrm_mn_cleanup: Deleting policies and states for MN
xfrm_cn_cleanup: Deleting policies and states for CN
mip6d[6517]: MIPL Mobile IPv6 for Linux v2.0.1 stopped (Mobile Node)
Will anyone tell me what is the problem? Thank you very much!
zch
[EMAIL PROTECTED]
2006-08-16
_______________________________________________
mipl mailing list
[email protected]
http://www.mobile-ipv6.org/cgi-bin/mailman/listinfo/mipl