Hello Romain,
On Wed, May 22, 2013 at 7:32 AM, Romain KUNTZ <r.kuntz at gmail.com> wrote:
>
> Hello Ibrahim,
>
> On May 20, 2013, at 18:52 , ibrahim sulaiman <isukity at gmail.com> wrote:
> > Hello Romain,
> >
> > I have tried the updated kernel patch and it works for me, thank you!
> >
> > I also tried the MCoA patch with kernel 3.9.2 but did not work as it
> > seems that this patch only works for kernel 3.8.2 (which it is not very
> > stable for me), so I am wondering if there is another patch for that
kernel
> > (or the newer ones) or if there is going to be one.
>
> At the moment there are no patches for kernel 3.9.2 but it should not be
> too hard to port the current patch to a new kernel version. On my side, I
> don't have much time to dedicate to this task at the moment.
>
All right, I will try myself to port it to the new kernel as soon I have
time for that, if this is going to be fine with you.
> > Another issue is that I am only interested in running MCoA without
> > DSMIPv6 and wondering how the configuration file should look like (I
have
> > tried some possibilities but did not work for me).
>
> Can you send your configuration file ?
>
> If you plan to use only MCoA, it should look like this on the HA side:
>
> ######################################
> # Sample UMIP configuration file for a
> # NEMO and MCoA-enabled Home Agent
> NodeConfig HA;
>
> # Set DebugLevel to 0 if you do not want debug messages
> DebugLevel 10;
>
> # Replace eth0 with the interface connected to the home link
> Interface "eth0";
>
> # Accept registrations from Mobile Routers
> HaAcceptMobRtr enabled;
>
> # Accept MCoA and DSMIPv6 registrations
> HaAcceptMCoA enabled;
>
> # Binding informations
> BindingAclPolicy 2001:db8:ffff:0::1 (2001:db8:ffff:ff01::/64) MCoA allow;
> DefaultBindingAclPolicy allow;
>
> # Disable IPsec. It is not compatible with MCoA
> UseMnHaIPsec disabled;
> KeyMngMobCapability disabled;
> ######################################
>
I have the same config file but when I run mipv6 I had this message:
Error in configuration file /usr/local/etc/mip6d.conf at line 18: syntax
error at 'MCoA'
> And on the MR side:
>
> ######################################
> # Sample UMIP configuration file for a
> # NEMO and MCoA-enabled Mobile Router
> NodeConfig MN;
>
> # Set DebugLevel to 0 if you do not want debug messages
> DebugLevel 10;
>
> # Enable the optimistic handovers
> OptimisticHandoff enabled;
>
> # The Binding Lifetime (in sec.)
> MnMaxHaBindingLife 60;
>
> # Disable RO
> DoRouteOptimizationCN disabled;
> DoRouteOptimizationMN disabled;
> UseCnBuAck disabled;
> MnDiscardHaParamProb enabled;
>
> # Use NEMO Explicit Mode
> MobRtrUseExplicitMode enabled;
>
> # List here the interfaces that you will use
> # on your mobile node. All of the interfaces will
> # be used at the same time (with MCoA).
> Interface "eth0" {
> MnIfPreference 1;
> # BID of the interface
> Bid 10;
> }
> Interface "wlan0" {
> MnIfPreference 2;
> # BID of the interface
> Bid 20;
> }
>
> # Replace eth0 with one of your interface used on
> # your mobile node.
> MnHomeLink "eth0" {
> IsMobRtr enabled;
> HomeAgentAddress 2001:db8:ffff:0::1000;
> HomeAddress 2001:db8:ffff:0::1/64 (2001:db8:ffff:ff01::/64);
>
> # Enable MCoA and register the interfaces used for MCoA
> # Replace eth0 and wlan0 with your egress interface names.
> MCoAReg enabled;
> MCoAIface "eth0", "wlan0";
> }
>
> # Disable IPsec. It is not compatible with MCoA
> UseMnHaIPsec disabled;
> KeyMngMobCapability disabled;
> ######################################
>
>
> > Following the instructions in the example explained at the umip.org
> > website and configuring the HA and MR to enable MCoA, I got everything
> > working fine until a few seconds after I execute the script enforcing
the
> > routing policies, that is the tunnels were deleted by the HA and no
cache
> > entries exist\
>
> What is the content of the script? Is it the same as the one provided in
> the documentation?
>
Yes, it is the same as the one provided in the documentation.
> > This is what I have got at the HA side just seconds after applying the
> > routing policies (see the last 13 lines):
> >
> > Mon May 20 15:13:20 mh_bu_parse: Binding Update Received
> > Mon May 20 15:13:21 ndisc_do_dad: Dad success
> > Mon May 20 15:13:21 ha_recv_bu_worker: retrieved 1 IPv4 MNPs
> > Mon May 20 15:13:21 __tunnel_add: MCOA_DFLT_TNL_ADD for BID 10
> > Mon May 20 15:13:21 __tunnel_add: created tunnel 7 from 2001:db8:444::1
> > to 2001:db8:1:0:6670:2ff:feec:ccd6 user count 1
> > Mon May 20 15:13:21 mh_send_ba: status Binding Update accepted (0)
> > Mon May 20 15:13:21 mh_send: sending MH type 6
> > from 2001:db8:444:0:0:0:0:1
> > to 2001:db8:444:0:0:0:0:2
> > Mon May 20 15:13:21 mh_send: remote CoA 2001:db8:1:0:6670:2ff:feec:ccd6
> > Mon May 20 15:13:21 ha_recv_bu_worker: BID option (BID = 10), and HA is
> > configured for MCoA.
> > Mon May 20 15:13:21 ha_recv_bu_worker: retrieved 1 IPv4 MNPs
> > Mon May 20 15:13:21 tunnel_mod: modifying tunnel 7 end points with from
> > 2001:db8:444::1 to 2001:db8:1:0:6670:2ff:feec:ccd6
> > Mon May 20 15:13:21 mh_send_ba: status Binding Update accepted (0)
> > Mon May 20 15:13:21 mh_send: sending MH type 6
> > from 2001:db8:444:0:0:0:0:1
> > to 2001:db8:444:0:0:0:0:2
> > Mon May 20 15:13:21 mh_send: remote CoA 2001:db8:1:0:6670:2ff:feec:ccd6
> > Mon May 20 15:13:36 mh_bu_parse: Binding Update Received
> > Mon May 20 15:13:36 ha_recv_bu_worker: BID option (BID = 20), and HA is
> > configured for MCoA.
> > Mon May 20 15:13:36 ha_recv_bu_worker: retrieved 1 IPv4 MNPs
> > Mon May 20 15:13:36 __tunnel_add: MCOA_DFLT_TNL_UPDATE from BID 10 to
> > BID 20
> > Mon May 20 15:13:36 __tunnel_add: created tunnel 7 from 2001:db8:444::1
> > to 2001:db8:6:0:a2f3:c1ff:fe70:717c user count 1
> > Mon May 20 15:13:36 mh_send_ba: status Binding Update accepted (0)
> > Mon May 20 15:13:36 mh_send: sending MH type 6
> > from 2001:db8:444:0:0:0:0:1
> > to 2001:db8:444:0:0:0:0:2
> > Mon May 20 15:13:36 mh_send: remote CoA 2001:db8:6:0:a2f3:c1ff:fe70:717c
> > Mon May 20 15:14:21 xfrm_del_bce_dsmip: No need to remove UDP encaps.
> > policies and states
> > Mon May 20 15:14:21 __tunnel_del: tunnel 7 from 2001:db8:444::1 to
> > 2001:db8:1:0:6670:2ff:feec:ccd6 user count decreased to 0
> > Mon May 20 15:14:21 __tunnel_del: Not the default tunnel, no default
> > policies to clean
> > Mon May 20 15:14:21 __tunnel_del: XFRM tunnel deleted
> > Mon May 20 15:14:36 xfrm_del_bce: Last IPv6 entry for the peer, deleting
> > XFRM output policy for the MPA
> > Mon May 20 15:14:36 xfrm_del_bce: Last entry for the peer, deleting XFRM
> > output policy for the BA
> > Mon May 20 15:14:36 xfrm_del_bce: Last IPv6 entry for the peer, deleting
> > XFRM RH2 state for the BA
> > Mon May 20 15:14:36 xfrm_del_bce: Last IPv6 entry for the peer, deleting
> > XFRM input policy for the BU
> > Mon May 20 15:14:36 xfrm_del_bce: Last IPv6 entry for the peer, deleting
> > XFRM Dest. Opt. state for the BU
> > Mon May 20 15:14:36 xfrm_del_bce_dsmip: No need to remove UDP encaps.
> > policies and states
> > Mon May 20 15:14:36 __tunnel_del: tunnel 7 from 2001:db8:444::1 to
> > 2001:db8:6:0:a2f3:c1ff:fe70:717c user count decreased to 0
> > Mon May 20 15:14:36 __tunnel_del: Last tunnel for peer: deleting XFRM
> > dflt policy for BID 20
> > Mon May 20 15:14:36 __tunnel_del: XFRM tunnel deleted
>
>
> The tunnel are deleted because the MR does not send any new binding
> update. If you have set "MnMaxHaBindingLife" to 60 in the MR configuration
> file, it is supposed to send a refresh BU every 60 seconds. From the above
> logs, it does not seem to be the case. Please check the MR logs in order
to
> see why the MR does not send the refresh BU.
Yes, it seems that the MR fails to send the refresh BU but what do you
think the problem behind that?
here is the MR logs:
Sun May 26 16:51:49 bu_refresh: BU refresh type: 0
Sun May 26 16:51:49 mn_get_home_lifetime: CoA lifetime 86395 s, HoA
lifetime 84864 s, BU lifetime 60 s
Sun May 26 16:51:49 xfrm_pre_bu_add_bule: total BULE: 2 (2 IPv6 - 0 IPv4)
Sun May 26 16:51:49 xfrm_pre_bu_add_bule: Adding Dest. Opt. state
Sun May 26 16:51:49 mh_send: sending MH type 5
from 2001:db8:444:0:0:0:0:2
to 2001:db8:444:0:0:0:0:1
Sun May 26 16:51:49 mh_send: local CoA 2001:db8:6:0:6670:2ff:feec:cce5
Sun May 26 16:51:49 mh_send: sendmsg: Operation not permitted
Sun May 26 16:51:49 mn_send_bu_msg: mh_send failed ret: -1
Sun May 26 16:51:49 bul_update_timer: Updating timer
== BUL_ENTRY ==
IPv6 Home address 2001:db8:444:0:0:0:0:2
IPv4 Home address 10.10.10.100
Care-of address 2001:db8:6:0:6670:2ff:feec:cce5
CN address 2001:db8:444:0:0:0:0:1
lifetime = 60, delay = 1000
BID = 20
flags: IP6_MH_BU_HOME IP6_MH_BU_ACK IP6_MH_BU_MR
Sun May 26 16:51:50 bu_resend: BU resend type 0
Sun May 26 16:51:50 mn_get_home_lifetime: CoA lifetime 86394 s, HoA
lifetime 84863 s, BU lifetime 60 s
Sun May 26 16:51:50 xfrm_pre_bu_add_bule: total BULE: 2 (2 IPv6 - 0 IPv4)
Sun May 26 16:51:50 xfrm_pre_bu_add_bule: Adding Dest. Opt. state
Sun May 26 16:51:50 mh_send: sending MH type 5
from 2001:db8:444:0:0:0:0:2
to 2001:db8:444:0:0:0:0:1
Sun May 26 16:51:50 mh_send: local CoA 2001:db8:6:0:6670:2ff:feec:cce5
Sun May 26 16:51:50 mh_send: sendmsg: Operation not permitted
Sun May 26 16:51:50 mn_send_bu_msg: mh_send failed ret: -1
Sun May 26 16:51:50 bul_update_timer: Updating timer
== BUL_ENTRY ==
IPv6 Home address 2001:db8:444:0:0:0:0:2
IPv4 Home address 10.10.10.100
Care-of address 2001:db8:6:0:6670:2ff:feec:cce5
CN address 2001:db8:444:0:0:0:0:1
lifetime = 60, delay = 2000
BID = 20
flags: IP6_MH_BU_HOME IP6_MH_BU_ACK IP6_MH_BU_MR
Sun May 26 16:51:51 md_update_router_stats: Adding CoA
2001:db8:6:0:6670:2ff:feec:cce5 on interface (6)
Sun May 26 16:51:51 mcoa_mn_chk_ho_verdict: Verdict 4 for iface 6
Sun May 26 16:51:51 mcoa_mn_chk_ho_verdict: Verdict 5 for iface 6
Sun May 26 16:51:51 bu_refresh: BU refresh type: 0
Sun May 26 16:51:51 mn_get_home_lifetime: CoA lifetime 86395 s, HoA
lifetime 84861 s, BU lifetime 60 s
Sun May 26 16:51:51 xfrm_pre_bu_add_bule: total BULE: 2 (2 IPv6 - 0 IPv4)
Sun May 26 16:51:51 xfrm_pre_bu_add_bule: Adding Dest. Opt. state
Sun May 26 16:51:51 mh_send: sending MH type 5
from 2001:db8:444:0:0:0:0:2
to 2001:db8:444:0:0:0:0:1
Sun May 26 16:51:51 mh_send: local CoA 2001:db8:1:0:a2f3:c1ff:fe70:717c
Sun May 26 16:51:51 mh_send: sendmsg: Operation not permitted
Sun May 26 16:51:51 mn_send_bu_msg: mh_send failed ret: -1
Sun May 26 16:51:51 bul_update_timer: Updating timer
== BUL_ENTRY ==
IPv6 Home address 2001:db8:444:0:0:0:0:2
IPv4 Home address 10.10.10.100
Care-of address 2001:db8:1:0:a2f3:c1ff:fe70:717c
CN address 2001:db8:444:0:0:0:0:1
lifetime = 60, delay = 1000
BID = 10
flags: IP6_MH_BU_HOME IP6_MH_BU_ACK IP6_MH_BU_MR
Sun May 26 16:51:52 bu_resend: BU resend type 0
Sun May 26 16:51:52 mn_get_home_lifetime: CoA lifetime 86398 s, HoA
lifetime 84861 s, BU lifetime 60 s
Sun May 26 16:51:52 xfrm_pre_bu_add_bule: total BULE: 2 (2 IPv6 - 0 IPv4)
Sun May 26 16:51:52 xfrm_pre_bu_add_bule: Adding Dest. Opt. state
Sun May 26 16:51:52 mh_send: sending MH type 5
from 2001:db8:444:0:0:0:0:2
to 2001:db8:444:0:0:0:0:1
Sun May 26 16:51:52 mh_send: local CoA 2001:db8:6:0:6670:2ff:feec:cce5
Sun May 26 16:51:52 mh_send: sendmsg: Operation not permitted
Sun May 26 16:51:52 mn_send_bu_msg: mh_send failed ret: -1
Sun May 26 16:51:52 bul_update_timer: Updating timer
== BUL_ENTRY ==
IPv6 Home address 2001:db8:444:0:0:0:0:2
IPv4 Home address 10.10.10.100
Care-of address 2001:db8:6:0:6670:2ff:feec:cce5
CN address 2001:db8:444:0:0:0:0:1
lifetime = 60, delay = 4000
BID = 20
flags: IP6_MH_BU_HOME IP6_MH_BU_ACK IP6_MH_BU_MR
Sun May 26 16:51:52 bu_resend: BU resend type 0
Sun May 26 16:51:52 mn_get_home_lifetime: CoA lifetime 86394 s, HoA
lifetime 84860 s, BU lifetime 60 s
Sun May 26 16:51:52 xfrm_pre_bu_add_bule: total BULE: 2 (2 IPv6 - 0 IPv4)
Sun May 26 16:51:52 xfrm_pre_bu_add_bule: Adding Dest. Opt. state
Sun May 26 16:51:52 mh_send: sending MH type 5
from 2001:db8:444:0:0:0:0:2
to 2001:db8:444:0:0:0:0:1
Sun May 26 16:51:52 mh_send: local CoA 2001:db8:1:0:a2f3:c1ff:fe70:717c
Sun May 26 16:51:52 mh_send: sendmsg: Operation not permitted
Sun May 26 16:51:52 mn_send_bu_msg: mh_send failed ret: -1
Sun May 26 16:51:52 bul_update_timer: Updating timer
== BUL_ENTRY ==
IPv6 Home address 2001:db8:444:0:0:0:0:2
IPv4 Home address 10.10.10.100
Care-of address 2001:db8:1:0:a2f3:c1ff:fe70:717c
CN address 2001:db8:444:0:0:0:0:1
lifetime = 60, delay = 2000
BID = 10
flags: IP6_MH_BU_HOME IP6_MH_BU_ACK IP6_MH_BU_MR
Sun May 26 16:51:54 bu_resend: BU resend type 0
Sun May 26 16:51:54 mn_get_home_lifetime: CoA lifetime 86392 s, HoA
lifetime 84858 s, BU lifetime 60 s
Sun May 26 16:51:54 xfrm_pre_bu_add_bule: total BULE: 2 (2 IPv6 - 0 IPv4)
Sun May 26 16:51:54 xfrm_pre_bu_add_bule: Adding Dest. Opt. state
Sun May 26 16:51:54 mh_send: sending MH type 5
from 2001:db8:444:0:0:0:0:2
to 2001:db8:444:0:0:0:0:1
Sun May 26 16:51:54 mh_send: local CoA 2001:db8:1:0:a2f3:c1ff:fe70:717c
Sun May 26 16:51:54 mh_send: sendmsg: Operation not permitted
Sun May 26 16:51:54 mn_send_bu_msg: mh_send failed ret: -1
Sun May 26 16:51:54 bul_update_timer: Updating timer
== BUL_ENTRY ==
IPv6 Home address 2001:db8:444:0:0:0:0:2
IPv4 Home address 10.10.10.100
Care-of address 2001:db8:1:0:a2f3:c1ff:fe70:717c
CN address 2001:db8:444:0:0:0:0:1
lifetime = 60, delay = 4000
BID = 10
flags: IP6_MH_BU_HOME IP6_MH_BU_ACK IP6_MH_BU_MR
Kind regards
Ibrahim
>
> Best,
> Romain
>
>
> >
> >
> > could you please help?
> >
> >
> > Thank you
> >
> >
> > Ibrahim
> >
> >
> > On Wed, May 15, 2013 at 10:10 AM, ibrahim sulaiman <isukity at gmail.com>
> > wrote:
> > Hello Romain,
> >
> > Thank you very much for updating the patch. I will give it a try today
> > and let you know of any issue if there is any.
> >
> > Kind regards
> >
> > Ibrahim
> >
> >
> > On Wed, May 15, 2013 at 8:51 AM, Romain KUNTZ <r.kuntz at gmail.com> wrote:
> > Hello Ibrahim,
> >
> > I have updated the kernel patch. The new version is located at the same
> > place as before:
> > http://umip.org/contrib/patchs/linux-3.8.2-mcoa-dsmip6.patch
> >
> > Can you give it a try and report any issues on this mailing list?
> >
> > Thank you,
> > Romain
> >
> >
> > On May 14, 2013, at 21:23 , Romain KUNTZ <r.kuntz at gmail.com> wrote:
> >
> > > Hello Ibrahim,
> > >
> > > Thank you for this report. It seems that the kernel patch provided on
> > > umip.org is not correct.
> > > Let me create a new patch, I will upload it tomorrow. I will let you
> > > know when it is done.
> > >
> > > Sorry for the inconvenience,
> > > Romain
> > >
> > > On May 14, 2013, at 14:08 , ibrahim sulaiman <isukity at gmail.com>
> > > wrote:
> > >
> > >> Dear,
> > >>
> > >> When compiling kernal 3.8.2 after patching the MCoA patch and
> > >> following the steps in sections "building mobility-ready kernel" and
> > >> "building a DSMIPv6 and MCoA-ready kernel", I got these errors:
> > >>
> > >> net/core/skbuff.c: In function ?__copy_skb_header?:
> > >> net/core/skbuff.c:709:5: error: ?struct sk_buff? has no member named
> > >> ?udp_encap_info?
> > >> net/core/skbuff.c:709:33: error: ?const struct sk_buff? has no member
> > >> named ?udp_encap_info?
> > >> net/core/skbuff.c:710:5: error: ?struct sk_buff? has no member named
> > >> ?udp_encap_info?
> > >> net/core/skbuff.c:710:33: error: ?const struct sk_buff? has no member
> > >> named ?udp_encap_info?
> > >> make[2]: *** [net/core/skbuff.o] Error 1
> > >> make[1]: *** [net/core] Error 2
> > >> make: *** [net] Error 2
> > >>
> > >> Could you please help?
> > >>
> > >>
> > >> Thank you
> > >>
> > >> Ibrahim
> > >> _______________________________________________
> > >> Support mailing list
> > >> Support at ml.nautilus6.org
> > >> http://ml.nautilus6.org/mailman/listinfo/support
> > >
> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ml.nautilus6.org/pipermail/support/attachments/20130526/c8761796/attachment-0001.html>