Hi Romain, First of all, thanks for your response!
---------- Original Message ----------- > From: Romain KUNTZ <[EMAIL PROTECTED]> > Date: Dec 29, 2006 2:39 PM > Subject: [support] Re: [mipl] NEPL Problems > To: Vitor André Cordeiro dos Santos <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED], [email protected] > > Hi Vitor, > > Vitor André Cordeiro dos Santos wrote: > > Problems: > > --------- > > 1. When the MR (and the NEMO) moves to the Visited Network the MR sends a > > Binding Update to the HA, but the HA doesn't send the Binding > Acknowledgement > > to the MR. In the NEPL debug the HA says that he is going to send the > BAck, > > but he doesn't. Even though, the tunnel is created by the HA and the MR. > In > > fact, because of the fact that HA doesn't send BAcks in response to BUs, > the > > MR allways creates the tunnel, even when he doesn't successfuly register > with > > the HA (because some error I provoked). Any knowledge about this!? > Solutions!? > > I am not sure what is your problem here: the HA does not send BAck, > or the tunnel is created even though the BAck was not sent? > > In the first case, please send the nemod logs. For the second case, > as long as the BU was not acknowledged, the MR blocks the outgoing traffic > > (unless you use the OptimisticHandoff option), so what is your concern? The problem is that the HA never sends BAcks in response to MR's BUs! Neither when the regist of the MR is successfull, nor when it isn't (for example, when I deactivate the support for mobile routers in the HA). I didn't know that until the MR receives the BAck he blocks the outgoing traffic. This seems to be my problem! Concerning the tunnel, when the regist is successful, both HA and MR create the tunnel; but when the regist isn't successful, as I said, because of the fact that HA doesn't send BAcks in response to BUs, the MR allways creates the tunnel, but the HA doesn't. > > 2. When I ping6 the MR from the HA (when the MR successfully registers > with > > the HA), the Echo Requests pass the tunnel and arrive at the MR, but the > MR > > doesn't reply to the HA. Also, I saw that I can't ping6 the HA from the > MR, > > "operation not permitted". Is it possible that my tunnel isn't > bi-direccional, > > but uni-direccional!? Solutions!? > > Could you send the nemod logs and also the output of "ip -6 rule" > when the problem occurs? You said that the MR blocks all tunnel outgoing traffic until he receives the BAck, so this seems to be my problem. > > 3. Even when the NEMO is at home, I can't ping6 anything beyond the HA > from > > the MNN, although the MR has a default route pointing to the HA and the > MNN > > has a default route pointing to the MR. (Note: The MNN is a virtual > machine > > (VMware) inside the MR with host-only network interface - vmnet1.) If I > > explicitly create a route, in the MR, to the Internet pointing to the HA, > I > > can reach the it from the MNN, but this isn't desired because it should be > the > > nemod to control the routes in the MR. Does anyone knows anything about > > routing problems about this with VMware!? > > Actually this is a known but still unresolved bug with NEPL: when > the MR is at home, no traffic is forwarded from the MNN to the > Internet. I'll take a closer look at it in January. Ok, I thought that it could be VMware that was causing this behavior. Any workaround!? Does the manually issued route solves the problem? Even when the MR (and the NEMO) are in the visited network? I'm looking forward for your answer! I'me short in time so I hope that it comes soon! :) Thanks in advance! Best regards, Vítor A. C. Santos --- PS: Here's the *logs* & *debug*: ------------------------------> MR at home <------------------------------ ---- | HA | ---- [EMAIL PROTECTED] ~]# /usr/local/sbin/nemod -c nemo/nemod.conf nemod[4744]: NEPL NEMO Platform for Linux v0.2 started (Home Agent) main: NEPL NEMO Platform for Linux started in debug mode, not detaching from terminal conf_show: config_file = nemo/nemod.conf conf_show: vt_hostname = localhost conf_show: vt_service = 7777 conf_show: mip6_entity = 2 conf_show: debug_level = 10 conf_show: PolicyModulePath = [internal] conf_show: DefaultBindingAclPolicy = 129 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 = disabled 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 = disabled 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:1:0:0:fdff:ffff:ffff:fffe on iface 4 ha_if_addr_setup: Joined anycast group 2001:1:0:0:fdff:ffff:ffff:fffe on iface 4 vt_server_init: VT server listens ::1[7777] OK vt_connect_init: VT connect accepted --- [EMAIL PROTECTED] ~]# telnet localhost 7777 Trying ::1... Connected to ha.nemo (::1). Escape character is '^]'. mip6d> bc mip6d> hal eth1 2001:1:0:0:0:0:0:1 preference 10 lifetime 1800 mip6d> pl eth1 2001:1:0:0:0:0:0:1/64 valid 2591998 / 2592000 preferred 604800 flags OAR mip6d> --- [EMAIL PROTECTED] ~]# ip -6 rule 0: from all lookup local 1004: from all lookup 252 32766: from all lookup main [EMAIL PROTECTED] ~]# ---- | MR | ---- [EMAIL PROTECTED] ~]# /usr/local/sbin/nemod -c nemo/nemod.conf nemod[3691]: NEPL NEMO Platform for Linux v0.2 started (Mobile Node) main: NEPL NEMO Platform for Linux started in debug mode, not detaching from terminal conf_show: config_file = nemo/nemod.conf 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 = disabled conf_show: MnMaxHaBindingLife = 60 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 = disabled 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 = disabled 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:1:0:0:0:0:0:2 conf_home_addr_info: is Mobile Router conf_home_addr_info: Mobile Network Prefix 2001:1:1:0:0:0:0:0/64 conf_home_addr_info: HA address 2001:1:0:0:0:0:0:1 __tunnel_add: created tunnel ip6tnl1 (10) from 2001:1:0:0:0:0:0:2 to 2001:1:0:0:0:0:0:1 user count 1 conf_home_addr_info: Home address 2001:1:0:0:0:0:0:2 flag_hoa: set HoA 2001:1:0:0:0:0:0:2/128 iif 10 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) vt_server_init: VT server listens ::1[7777] OK md_change_default_router: add new router fe80:0:0:0:290:27ff:fe1a:3d9 on interface eth0 (4) mn_addr_do_dad: DAD succeeded! mn_move: 1688 mn_move: in home net mv_hoa: move HoA 2001:1:0:0:0:0:0:2/64 from iface 10 to 4 vt_connect_init: VT connect accepted --- mip6d> Connection closed by foreign host. [EMAIL PROTECTED] ~]# telnet localhost 7777 Trying ::1... Connected to localhost.localdomain (::1). Escape character is '^]'. mip6d> bul mip6d> --- [EMAIL PROTECTED] ~]# ip -6 rule 0: from all lookup local 1000: from all to 2001:1:1::/64 lookup main 1001: from 2001:1::2 lookup 252 1002: from fe80::/64 lookup main 1002: from 2001:1::/64 lookup main 1003: from 2001:1::2 blackhole 1004: from 2001:1:1::/64 lookup 252 32766: from all lookup main [EMAIL PROTECTED] ~]# ---- | HA | ---- [EMAIL PROTECTED] ~]# ping6 2001:1::2 OK! :) ------------------------------> MR at visited <------------------------------ ---- | HA | ---- mh_bu_parse: Binding Update Received ndisc_do_dad: Dad success __tunnel_add: created tunnel ip6tnl1 (8) from 2001:1:0:0:0:0:0:1 to 2001:2:0:0:211:11ff:fe24:5e54 user count 1 mh_send_ba: status 0 mh_send: sending MH type 6 from 2001:1:0:0:0:0:0:1 to 2001:1:0:0:0:0:0:2 mh_send: remote CoA 2001:2:0:0:211:11ff:fe24:5e54 mh_bu_parse: Binding Update Received tunnel_mod: modifying tunnel 8 end points with from 2001:1:0:0:0:0:0:1 to 2001:2:0:0:211:11ff:fe24:5e54 mh_send_ba: status 0 mh_send: sending MH type 6 from 2001:1:0:0:0:0:0:1 to 2001:1:0:0:0:0:0:2 mh_send: remote CoA 2001:2:0:0:211:11ff:fe24:5e54 mh_bu_parse: Binding Update Received tunnel_mod: modifying tunnel 8 end points with from 2001:1:0:0:0:0:0:1 to 2001:2:0:0:211:11ff:fe24:5e54 mh_send_ba: status 0 mh_send: sending MH type 6 from 2001:1:0:0:0:0:0:1 to 2001:1:0:0:0:0:0:2 mh_send: remote CoA 2001:2:0:0:211:11ff:fe24:5e54 --- mip6d> bc hoa 2001:1:0:0:0:0:0:2 status registered coa 2001:2:0:0:211:11ff:fe24:5e54 flags AH-- local 2001:1:0:0:0:0:0:1 lifetime 51 / 60 seq 7554 unreach 0 mpa - / 1320 retry 0 mip6d> hal eth1 2001:1:0:0:0:0:0:1 preference 10 lifetime 1800 mip6d> pl eth1 2001:1:0:0:0:0:0:1/64 valid 2591997 / 2592000 preferred 604800 flags OAR mip6d> --- [EMAIL PROTECTED] ~]# ip -6 rule 0: from all lookup local 1004: from all lookup 252 32766: from all lookup main [EMAIL PROTECTED] ~]# ---- | MR | ---- md_change_default_router: add new router fe80:0:0:0:2e0:29ff:fe92:769d on interface eth0 (4) mn_move: 1688 mn_move: in foreign net mv_hoa: move HoA 2001:1:0:0:0:0:0:2/128 from iface 4 to 10 mn_send_home_bu: 744 mn_get_home_lifetime: CoA lifetime 2591998 s, HoA lifetime 2591962 s, BU lifetime 60 s process_first_home_bu: New bule for HA bul_add: Adding bule == BUL_ENTRY == Home address 2001:1:0:0:0:0:0:2 Care-of address 2001:2:0:0:211:11ff:fe24:5e54 CN address 2001:1:0:0:0:0:0:1 lifetime = 60, 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 2001:1:0:0:0:0:0:2 to 2001:1:0:0:0:0:0:1 mh_send: local CoA 2001:2:0:0:211:11ff:fe24:5e54 bul_update_timer: Updating timer == BUL_ENTRY == Home address 2001:1:0:0:0:0:0:2 Care-of address 2001:2:0:0:211:11ff:fe24:5e54 CN address 2001:1:0:0:0:0:0:1 lifetime = 60, delay = 1500 flags: IP6_MH_BU_HOME IP6_MH_BU_ACK tunnel_mod: modifying tunnel 10 end points with from 2001:2:0:0:211:11ff:fe24:5e54 to 2001:1:0:0:0:0:0:1 __tunnel_mod: modified tunnel iface ip6tnl1 (10)from 2001:2:0:0:211:11ff:fe24:5e54 to 2001:1:0:0:0:0:0:1 bu_resend: Bul resend [0x8082a78] type 0 mn_get_home_lifetime: CoA lifetime 2591999 s, HoA lifetime 2591961 s, BU lifetime 60 s mh_send: sending MH type 5 from 2001:1:0:0:0:0:0:2 to 2001:1:0:0:0:0:0:1 mh_send: local CoA 2001:2:0:0:211:11ff:fe24:5e54 bul_update_timer: Updating timer == BUL_ENTRY == Home address 2001:1:0:0:0:0:0:2 Care-of address 2001:2:0:0:211:11ff:fe24:5e54 CN address 2001:1:0:0:0:0:0:1 lifetime = 60, delay = 3000 flags: IP6_MH_BU_HOME IP6_MH_BU_ACK bu_resend: Bul resend [0x8082a78] type 0 mn_get_home_lifetime: CoA lifetime 2591996 s, HoA lifetime 2591958 s, BU lifetime 60 s mh_send: sending MH type 5 from 2001:1:0:0:0:0:0:2 to 2001:1:0:0:0:0:0:1 mh_send: local CoA 2001:2:0:0:211:11ff:fe24:5e54 bul_update_timer: Updating timer == BUL_ENTRY == Home address 2001:1:0:0:0:0:0:2 Care-of address 2001:2:0:0:211:11ff:fe24:5e54 CN address 2001:1:0:0:0:0:0:1 lifetime = 60, delay = 6000 flags: IP6_MH_BU_HOME IP6_MH_BU_ACK bu_resend: Bul resend [0x8082a78] type 0 mn_get_home_lifetime: CoA lifetime 2591997 s, HoA lifetime 2591952 s, BU lifetime 60 s mh_send: sending MH type 5 from 2001:1:0:0:0:0:0:2 to 2001:1:0:0:0:0:0:1 mh_send: local CoA 2001:2:0:0:211:11ff:fe24:5e54 bul_update_timer: Updating timer == BUL_ENTRY == Home address 2001:1:0:0:0:0:0:2 Care-of address 2001:2:0:0:211:11ff:fe24:5e54 CN address 2001:1:0:0:0:0:0:1 lifetime = 60, delay = 12000 flags: IP6_MH_BU_HOME IP6_MH_BU_ACK bu_resend: Bul resend [0x8082a78] type 0 mn_get_home_lifetime: CoA lifetime 2591999 s, HoA lifetime 2591940 s, BU lifetime 60 s mh_send: sending MH type 5 from 2001:1:0:0:0:0:0:2 to 2001:1:0:0:0:0:0:1 mh_send: local CoA 2001:2:0:0:211:11ff:fe24:5e54 bul_update_timer: Updating timer == BUL_ENTRY == Home address 2001:1:0:0:0:0:0:2 Care-of address 2001:2:0:0:211:11ff:fe24:5e54 CN address 2001:1:0:0:0:0:0:1 lifetime = 60, delay = 24000 flags: IP6_MH_BU_HOME IP6_MH_BU_ACK --- mip6d> bul hoa 2001:1:0:0:0:0:0:2 cn 2001:1:0:0:0:0:0:1 coa 2001:2:0:0:211:11ff:fe24:5e54 flags AH-- type bul ack wait lifetime 49 / 60 seq 7555 resend 6 delay 32(after 22s) mip6d> --- [EMAIL PROTECTED] ~]# ip -6 rule 0: from all lookup local 1000: from all to 2001:1:1::/64 lookup main 1001: from 2001:1::2 lookup 252 1002: from fe80::/64 lookup main 1002: from 2001:2::/64 lookup main 1003: from 2001:1::2 blackhole 1004: from 2001:1:1::/64 lookup 252 32766: from all lookup main [EMAIL PROTECTED] ~]# ---- | HA | ---- [EMAIL PROTECTED] ~]# ping6 2001:1::2 NOT OK! :( ------------------------------> MR at home again <---------------------------- -- ---- | HA | ---- mh_bu_parse: Binding Update Received tunnel_mod: modifying tunnel 8 end points with from 2001:1:0:0:0:0:0:1 to 2001:2:0:0:211:11ff:fe24:5e54 mh_send_ba: status 0 mh_send: sending MH type 6 from 2001:1:0:0:0:0:0:1 to 2001:1:0:0:0:0:0:2 mh_send: remote CoA 2001:2:0:0:211:11ff:fe24:5e54 mh_bu_parse: Binding Update Received tunnel_mod: modifying tunnel 8 end points with from 2001:1:0:0:0:0:0:1 to 2001:2:0:0:211:11ff:fe24:5e54 mh_send_ba: status 0 mh_send: sending MH type 6 from 2001:1:0:0:0:0:0:1 to 2001:1:0:0:0:0:0:2 mh_send: remote CoA 2001:2:0:0:211:11ff:fe24:5e54 __tunnel_del: tunnel ip6tnl1 (8) from 2001:1:0:0:0:0:0:1 to 2001:2:0:0:211:11ff:fe24:5e54 user count decreased to 0 __tunnel_del: tunnel deleted mh_bu_parse: Binding Update Received mh_send_ba: status 133 mh_send: sending MH type 6 from 2001:1:0:0:0:0:0:1 to 2001:1:0:0:0:0:0:2 --- mip6d> bc mip6d> hal eth1 2001:1:0:0:0:0:0:1 preference 10 lifetime 1800 mip6d> pl eth1 2001:1:0:0:0:0:0:1/64 valid 2591998 / 2592000 preferred 604800 flags OAR mip6d> --- [EMAIL PROTECTED] ~]# ip -6 rule 0: from all lookup local 1004: from all lookup 252 32766: from all lookup main [EMAIL PROTECTED] ~]# ---- | MR | ---- md_change_default_router: add new router fe80:0:0:0:290:27ff:fe1a:3d9 on interface eth0 (4) md_expire_router: expiring router fe80:0:0:0:290:27ff:fe1a:3d9 on iface eth0 (4) __md_discover_router: discover link on iface eth0 (4) md_change_default_router: add new router fe80:0:0:0:290:27ff:fe1a:3d9 on interface eth0 (4) mn_move: 1688 mn_move: in home net mv_hoa: move HoA 2001:1:0:0:0:0:0:2/64 from iface 10 to 4 mn_send_home_bu: 744 mn_get_home_lifetime: BU lifetime 0 s mn_send_home_bu: Moved to home network mn_pol_ext_cleanup: mn_send_home_bu: Bule for HA exists. Updating it. mh_send: sending MH type 5 from 2001:1:0:0:0:0:0:2 to 2001:1:0:0:0:0:0:1 mh_send: local CoA 2001:1:0:0:0:0:0:2 bul_update_timer: Updating timer == BUL_ENTRY == Home address 2001:1:0:0:0:0:0:2 Care-of address 2001:1:0:0:0:0:0:2 CN address 2001:1:0:0:0:0:0:1 lifetime = 0, delay = 1000 flags: IP6_MH_BU_HOME IP6_MH_BU_ACK tunnel_mod: modifying tunnel 10 end points with from 2001:1:0:0:0:0:0:2 to 2001:1:0:0:0:0:0:1 __tunnel_mod: modified tunnel iface ip6tnl1 (10)from 2001:1:0:0:0:0:0:2 to 2001:1:0:0:0:0:0:1 mn_recv_ba: 992 mn_recv_ba: Got BA from 2001:1:0:0:0:0:0:1 to home address 2001:1:0:0:0:0:0:2 with coa 0:0:0:0:0:0:0:0 and status 133 mn_recv_ba: Dumping corresponding BULE == BUL_ENTRY == Home address 2001:1:0:0:0:0:0:2 Care-of address 2001:1:0:0:0:0:0:2 CN address 2001:1:0:0:0:0:0:1 lifetime = 0, delay = 1000 flags: IP6_MH_BU_HOME IP6_MH_BU_ACK bul_delete: Deleting bule == BUL_ENTRY == Home address 2001:1:0:0:0:0:0:2 Care-of address 2001:1:0:0:0:0:0:2 CN address 2001:1:0:0:0:0:0:1 lifetime = 0, delay = 1000 flags: IP6_MH_BU_HOME IP6_MH_BU_ACK mn_addr_do_dad: DAD succeeded! mn_move: 1688 mn_move: in home net --- mip6d> bul mip6d> --- [EMAIL PROTECTED] ~]# ip -6 rule 0: from all lookup local 1000: from all to 2001:1:1::/64 lookup main 1001: from 2001:1::2 lookup 252 1002: from fe80::/64 lookup main 1002: from 2001:1::/64 lookup main 1003: from 2001:1::2 blackhole 1004: from 2001:1:1::/64 lookup 252 32766: from all lookup main [EMAIL PROTECTED] ~]# ---- | HA | ---- [EMAIL PROTECTED] ~]# ping6 2001:1::2 OK! :) ----------------------------------------------------------------------------- Here's a capture of a Binding Update from MR to HA (at HA egress by Wireshark): Frame 1 (134 bytes on wire, 134 bytes captured) Ethernet II, Src: Standard_47:21:5d (00:e0:29:47:21:5d), Dst: Intel_24:7c:1b (00:11:11:24:7c:1b) Internet Protocol Version 6 Version: 6 Traffic class: 0x00 Flowlabel: 0x00000 Payload length: 80 Next header: IPv6 destination option (0x3c) Hop limit: 63 Source address: 2001:1::2 Destination address: 2001:1::1 Destination Option Header Next header: Mobile IPv6 (0x87) Length: 2 (24 bytes) PadN: 4 bytes Option Type: 201 (0xc9) - Home Address Option Option Length : 16 Home Address : 2001:2::211:11ff:fe24:5e54 (2001:2::211:11ff:fe24:5e54) Mobile IPv6 / Network Mobility Payload protocol: IPv6 no next header (0x3b) Header length: 6 (56 bytes) Mobility Header Type: Binding Update (5) Reserved: 0x00 Checksum: 0xe1b2 Binding Update Sequence number: 7549 1... .... = Acknowledge (A) flag: Binding Acknowledgement requested .1.. .... = Home Registration (H) flag: Home Registration ..0. .... = Link-Local Compatibility (L) flag: No Link-Local Address Compatibility ...0 .... = Key Management Compatibility (K) flag: No Key Management Mobility Compatibility .... 0... = MAP Registration Compatibility (M) flag: No MAP Registration Compatibility .... .1.. = Mobile Router (R) flag: Mobile Router Compatibility Lifetime: 15 (60 seconds) Mobility Options PadN: 2 bytes Alternate care-of address: 2001:2::211:11ff:fe24:5e54 (2001:2::211:11ff:fe24:5e54) PadN: 4 bytes Mobile Network Prefix Mobile Network Prefix Length: 64 Mobile Network Prefix: 2001:1:1:: (2001:1:1::) _______________________________________________ mipl mailing list [email protected] http://www.mobile-ipv6.org/cgi-bin/mailman/listinfo/mipl
