Hello, everyone.

I'm trying to build testbed of MIPv6 with multiple interfaces,
but there are some problems.

In case, eth0 and eth1 have different HomeAgentAddress, it works with
two tunnel devices on MN.
When I pull eth0 off, MN hands over to eth1.

But, with the same HomeAgentAddress, there's one tunnel device
and I get the message "Failed to add policy" and resends
BUL repeatedly.

I want to use the same HomeAgentAddress both of eth0 and eth1.
If anyone knows the way to solve this problem, please tell me.

Configuration files and MN log are bellow.

Best Regards,

-----------------------------

kernel : 2.6.16 + mipv6-2.0.2 patch
mip6d  : mipv6-2.0.2


mip6d.conf (HA)
-----------------------------
NodeConfig HA;

DebugLevel 10;
Interface "eth0";
UseMnHaIPsec disabled;
KeyMngMobCapability disabled;
-----------------------------


mip6d.conf (MN)
-----------------------------
NodeConfig MN;
DebugLevel 10;

DoRouteOptimizationCN enabled;
DoRouteOptimizationMN enabled;
UseCnBuAck disabled;
MnDiscardHaParamProb enabled;

Interface "eth0" {
        MnIfPreference 3;
}
Interface "eth1" {
        MnIfPreference 7;
}

MnRouterProbes 1;

MnHomeLink "eth0" {
        HomeAgentAddress 2004:106:2100::2;
        HomeAddress 2004:106:2100::4/64;
}

MnHomeLink "eth1" {
        HomeAgentAddress 2004:106:2100::2;
        HomeAddress 2004:106:2100::4/64;
}

UseMnHaIPsec disabled;
KeyMngMobCapability disabled;
-----------------------------

MN mip6d log (in home link)
-----------------------------
# ./mip6d -c /usr/local/etc/mip6d.conf
mip6d[2591]: 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 = /usr/local/etc/mip6d.conf.test
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 = 1
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 = 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 2004:106:2100:0:0:0:0:4
conf_home_addr_info: HA address 2004:106:2100:0:0:0:0:2
__tunnel_add: created tunnel ip6tnl1 (6) from 2004:106:2100:0:0:0:0:4 to 
2004:106:2100:0:0:0:0:2 user count 1
conf_home_addr_info: Home address 2004:106:2100:0:0:0:0:4
flag_hoa: set HoA 2004:106:2100:0:0:0:0:4/128 iif 6 flags 10 preferred_time 
4294967295 valid_time 4294967295
conf_home_addr_info: Added new home_addr_info successfully
conf_home_addr_info: HoA address 2004:106:2100:0:0:0:0:4
conf_home_addr_info: HA address 2004:106:2100:0:0:0:0:2
tunnel_add: tunnel ip6tnl1 (6) from 2004:106:2100:0:0:0:0:4 to 
2004:106:2100:0:0:0:0:2 user count increased to 2
conf_home_addr_info: Home address 2004:106:2100:0:0:0:0:4
flag_hoa: set HoA 2004:106:2100:0:0:0:0:4/128 iif 6 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_discover_router: discover link on iface eth1 (5)
md_change_default_router: add new router fe80:0:0:0:20f:1fff:fe16:24 on 
interface eth0 (4)
md_change_default_router: add new router fe80:0:0:0:200:39ff:fecf:95d1 on 
interface eth1 (5)
mn_addr_do_dad: DAD succeeded!
mn_move: 1544
mn_move: in home net
mv_hoa: move HoA 2004:106:2100:0:0:0:0:4/64 from iface 6 to 4
mn_addr_do_dad: DAD succeeded!
mn_move: 1544
mn_move: in home net
mv_hoa: move HoA 2004:106:2100:0:0:0:0:4/64 from iface 6 to 4
mn_move: 1544
mn_move: in foreign net
mv_hoa: move HoA 2004:106:2100:0:0:0:0:4/128 from iface 4 to 6
mn_send_home_bu: 691
mn_get_home_lifetime: CoA lifetime 11999 s, HoA lifetime 11998 s, BU lifetime 
11996 s
mn_ro_pol_add: Adding default RO triggering policies for all Correspondent 
Nodesprocess_first_home_bu: New bule for HA
bul_add: Adding bule
== BUL_ENTRY ==
Home address    2004:106:2100:0:0:0:0:4
Care-of address 2004:106:2100:0:2d0:59ff:fea8:3b54
CN address      2004:106:2100:0:0:0:0:2
 lifetime = 11996,  delay = 1500
 flags: IP6_MH_BU_HOME IP6_MH_BU_ACK
mn_send_home_bu: New bule for HA
mh_send: sending MH type 5
from 2004:106:2100:0:0:0:0:4
to 2004:106:2100:0:0:0:0:2
mh_send: local CoA 2004:106:2100:0:2d0:59ff:fea8:3b54
bul_update_timer: Updating timer
== BUL_ENTRY ==
Home address    2004:106:2100:0:0:0:0:4
Care-of address 2004:106:2100:0:2d0:59ff:fea8:3b54
CN address      2004:106:2100:0:0:0:0:2
 lifetime = 11996,  delay = 1500
 flags: IP6_MH_BU_HOME IP6_MH_BU_ACK
tunnel_mod: modifying tunnel 6 end points with from 
2004:106:2100:0:2d0:59ff:fea8:3b54 to 2004:106:2100:0:0:0:0:2
mn_move: 1544
mn_move: in foreign net
mv_hoa: move HoA 2004:106:2100:0:0:0:0:4/128 from iface 4 to 6
mn_send_home_bu: 691
mn_get_home_lifetime: CoA lifetime 11999 s, HoA lifetime 11998 s, BU lifetime 
11996 s
mn_ro_pol_add: Adding default RO triggering policies for all Correspondent 
NodesFailed to add policy:
nlmsg_flags 405
nlmsg_type 19
sel.daddr 0:0:0:0:0:0:0:0
sel.saddr 2004:106:2100:0:0:0:0:4
sel.dport 0
sel.dport_mask 0
sel.sport 0
sel.sport_mask 0
sel.prefixlen_d 0
sel.prefixlen_s 128
sel.proto 0
sel.ifindex 6
priority 18
dir 1
action 0
xfrma_tmpl.id.daddr 0:0:0:0:0:0:0:0
xfrma_tmpl.id.spi 0
xfrma_tmpl.id.proto 60
xfrma_tmpl.saddr 2004:106:2100:0:0:0:0:4
xfrma_tmpl.reqid 0
xfrma_tmpl.mode 3
xfmra_tmpl.optional 0
xfrma_tmpl.aalgos 0
xfrma_tmpl.ealgos 0
xfrma_tmpl.calgos 262144
process_first_home_bu: Failed to initialize new bule for HA
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    2004:106:2100:0:0:0:0:4
Care-of address 2004:106:2100:0:0:0:0:4
CN address      2004:106:2100:0:0:0:0:2
 lifetime = 11996,  delay = 1500
 flags: IP6_MH_BU_HOME IP6_MH_BU_ACK
mn_move: 1544
mn_move: in home net
mv_hoa: move HoA 2004:106:2100:0:0:0:0:4/64 from iface 6 to 4
mn_send_home_bu: 691
mn_get_home_lifetime: BU lifetime 0 s
mn_send_home_bu: Moved to home network
mn_pol_ext_cleanup:
mn_ro_pol_del: Deleting default RO triggering policies for all Correspondent 
Nodes
Failed to del policy:
sel.daddr 0:0:0:0:0:0:0:0
sel.saddr 2004:106:2100:0:0:0:0:4
sel.dport 0
sel.dport_mask 0
sel.sport 0
sel.sport_mask 0
sel.prefixlen_d 0
sel.prefixlen_s 128
sel.proto 0
sel.ifindex 6
dir 1
Failed to del policy:
sel.daddr 2004:106:2100:0:0:0:0:4
sel.saddr 0:0:0:0:0:0:0:0
sel.dport 0
sel.dport_mask 0
sel.sport 0
sel.sport_mask 0
sel.prefixlen_d 128
sel.prefixlen_s 0
sel.proto 0
sel.ifindex 6
dir 0
mn_send_home_bu: Bule for HA exists. Updating it.
mh_send: sending MH type 5
from 2004:106:2100:0:0:0:0:4
to 2004:106:2100:0:0:0:0:2
mh_send: local CoA 2004:106:2100:0:0:0:0:4
bul_update_timer: Updating timer
== BUL_ENTRY ==
Home address    2004:106:2100:0:0:0:0:4
Care-of address 2004:106:2100:0:0:0:0:4
CN address      2004:106:2100:0:0:0:0:2
 lifetime = 0,  delay = 1000
 flags: IP6_MH_BU_HOME IP6_MH_BU_ACK
tunnel_mod: modifying tunnel 6 end points with from 2004:106:2100:0:0:0:0:4 to 
2004:106:2100:0:0:0:0:2
ndisc_send_unspec: sendmsg: Operation not permitted
mn_addr_do_dad: DAD succeeded!
mn_move: 1544
mn_move: in home net
mv_hoa: move HoA 2004:106:2100:0:0:0:0:4/64 from iface 6 to 4
mn_recv_ba: 937
mn_recv_ba: Got BA without corresponding BUL entry from 2004:106:2100:0:0:0:0:2 
to home address 2004:106:2100:0:0:0:0:4 with coa 0:0:0:0:0:0:0:0
bu_resend: Bul resend [0x807b2d0] type 0
mh_send: sending MH type 5
from 2004:106:2100:0:0:0:0:4
to 2004:106:2100:0:0:0:0:2
mh_send: local CoA 2004:106:2100:0:0:0:0:4
bul_update_timer: Updating timer
== BUL_ENTRY ==
Home address    2004:106:2100:0:0:0:0:4
Care-of address 2004:106:2100:0:0:0:0:4
CN address      2004:106:2100:0:0:0:0:2
 lifetime = 0,  delay = 2000
 flags: IP6_MH_BU_HOME IP6_MH_BU_ACK
mn_recv_ba: 937
mn_recv_ba: Got BA without corresponding BUL entry from 2004:106:2100:0:0:0:0:2 
to home address 2004:106:2100:0:0:0:0:4 with coa 0:0:0:0:0:0:0:0
bu_resend: Bul resend [0x807b2d0] type 0
mh_send: sending MH type 5
from 2004:106:2100:0:0:0:0:4
to 2004:106:2100:0:0:0:0:2
mh_send: local CoA 2004:106:2100:0:0:0:0:4
bul_update_timer: Updating timer
== BUL_ENTRY ==
Home address    2004:106:2100:0:0:0:0:4
Care-of address 2004:106:2100:0:0:0:0:4
CN address      2004:106:2100:0:0:0:0:2
 lifetime = 0,  delay = 4000
 flags: IP6_MH_BU_HOME IP6_MH_BU_ACK
mn_recv_ba: 937
mn_recv_ba: Got BA without corresponding BUL entry from 2004:106:2100:0:0:0:0:2 
to home address 2004:106:2100:0:0:0:0:4 with coa 0:0:0:0:0:0:0:0
bu_resend: Bul resend [0x807b2d0] type 0
mh_send: sending MH type 5
from 2004:106:2100:0:0:0:0:4
to 2004:106:2100:0:0:0:0:2
mh_send: local CoA 2004:106:2100:0:0:0:0:4
bul_update_timer: Updating timer
== BUL_ENTRY ==
Home address    2004:106:2100:0:0:0:0:4
Care-of address 2004:106:2100:0:0:0:0:4
CN address      2004:106:2100:0:0:0:0:2
 lifetime = 0,  delay = 8000
 flags: IP6_MH_BU_HOME IP6_MH_BU_ACK
mn_recv_ba: 937
mn_recv_ba: Got BA without corresponding BUL entry from 2004:106:2100:0:0:0:0:2 
to home address 2004:106:2100:0:0:0:0:4 with coa 0:0:0:0:0:0:0:0
bu_resend: Bul resend [0x807b2d0] type 0
mh_send: sending MH type 5
from 2004:106:2100:0:0:0:0:4
to 2004:106:2100:0:0:0:0:2
mh_send: local CoA 2004:106:2100:0:0:0:0:4
bul_update_timer: Updating timer
== BUL_ENTRY ==
Home address    2004:106:2100:0:0:0:0:4
Care-of address 2004:106:2100:0:0:0:0:4
CN address      2004:106:2100:0:0:0:0:2
 lifetime = 0,  delay = 16000
 flags: IP6_MH_BU_HOME IP6_MH_BU_ACK
mn_recv_ba: 937
mn_recv_ba: Got BA without corresponding BUL entry from 2004:106:2100:0:0:0:0:2 
to home address 2004:106:2100:0:0:0:0:4 with coa 0:0:0:0:0:0:0:0

--- press CTRL+C ----

mip6d[2591]: terminated (SIGINT)
terminate: got SIGINT, exiting
flag_hoa: set HoA 2004:106:2100:0:0:0:0:4/64 iif 4 flags 0 preferred_time 9999 
valid_time 11999
mh_send: sending MH type 5
from 2004:106:2100:0:0:0:0:4
to 2004:106:2100:0:0:0:0:2
mh_send: local CoA 2004:106:2100:0:0:0:0:4
bul_delete: Deleting bule
== BUL_ENTRY ==
Home address    2004:106:2100:0:0:0:0:4
Care-of address 2004:106:2100:0:0:0:0:4
CN address      2004:106:2100:0:0:0:0:2
 lifetime = 0,  delay = 16000
 flags: IP6_MH_BU_HOME IP6_MH_BU_ACK
__tunnel_del: tunnel ip6tnl1 (6) from 2004:106:2100:0:0:0:0:4 to 
2004:106:2100:0:0:0:0:2 user count decreased to 1
flag_hoa: set HoA 2004:106:2100:0:0:0:0:4/64 iif 4 flags 0 preferred_time 9999 
valid_time 11999
__tunnel_del: tunnel ip6tnl1 (6) from 2004:106:2100:0:0:0:0:4 to 
2004:106:2100:0:0:0:0:2 user count decreased to 0
__tunnel_del: tunnel deleted
md_expire_router: expiring router fe80:0:0:0:20f:1fff:fe16:24 on iface eth0 (4)
md_expire_router: expiring router fe80:0:0:0:200:39ff:fecf:95d1 on iface eth1 
(5)
xfrm_mn_cleanup: Deleting policies and states for MN
xfrm_cn_cleanup: Deleting policies and states for CN
mip6d[2591]: MIPL Mobile IPv6 for Linux v2.0.2 stopped (Mobile Node)
You have new mail in /var/spool/mail/root
[EMAIL PROTECTED] src]#

-----------------------------


-- 
/****************************************************
/ mailto:[EMAIL PROTECTED]
/ Takenori KATO  Brains Corp.
/ http://www.brains.co.jp/



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

Reply via email to