[hipl-users] Re: BEET Patch

  • From: Miika Komu <miika@xxxxxx>
  • To: hipl-users@xxxxxxxxxxxxx
  • Date: Wed, 29 Mar 2006 18:45:27 +0300 (EEST)

On Wed, 22 Mar 2006 fmoreira@xxxxxxxxxxxxx wrote:

Sorry for the delay, I was in IETF conference last week and I was quite
busy. I think you did not receive any reply, so here we go:

So the actual kernel version is 2.6.13.1, not 2.6.13. You can find it e.g.
from the link below (use of a closer mirror is highly recommended:

ftp://ftp.funet.fi/pub/linux/kernel/v2.6/linux-2.6.13.1.tar.bz2

Extract it with "tar xvjf"

If you download the latest hipl e.g. from the nighly tarball:

http://hipl.hiit.fi/hipl/hipl.tar.gz

You can extract it with "tar xvzf" and see the following patches:

hipl:~/projects/hipl--main--2.6/patches/beet$ ls
beet-patch-2.6.13.1  beet-ph-patch-v1.0-2.6.15.6  interfamily-2.6.14.2
beet-patch-2.6.14.2  interfamily-2.6.13.1

So, you need to do the following:

cd /where/you/extracted/the/linux-2.6.13.1
patch -p1 < 
/where/you/extracted/hipl--main--2.6/patches/beet/beet-patch-2.6.13.1
patch -p1 < 
/where/you/extracted/hipl--main--2.6/patches/beet/interfamily-2.6.13.1

and also these:
patch -p1 < 
/where/you/extracted/hipl--main--2.6/patches/beet/policy-sleep-2.6.13.1-v5.patch
patch -p1 < 
/where/you/extracted/hipl--main--2.6/patches/kernel/ipv6_addr_del.patch.2.6.14.4.slavov

Then recompile your kernel. You usually need a .config file. Usually there
are some examples in "/boot/config*". Remember to read
linux-2.6.13.1/README to understand the details of linux kernel
compilation. There should be also some (distribution optimized) HOWTOs in
the web also.

HTH,

> Hello, thanks for the explaination.
>
> I have just one more doubt: I can only find Beet Simple and Interfamily
> patch for linux kernel 2.6.13 and above but the latest linux hipl patch
> i can find is for 2.6.10
>
> What should i do?
>
> Thank you
>
> -Fernando
>
> Quoting Diego Beltrami <Diego.Beltrami@xxxxxxx>:
>
> > Quoting fmoreira@xxxxxxxxxxxxx:
> >
> > >
> > > Hello all,
> > > I've been testing OpenHIP and i'm going to start some tests with hipl, so
> > > i'll
> > > be dropping by a lot.
> > > For starters, just one question:
> > >
> > > I didn't understand the differences between all the beet patches listed on
> > > infrahip.hiit.fi/beet/
> > > Can any one point me to any document explaining the differences?
> > >
> >
> > Basically the BEET patch consist in two incremental patches.
> > The first patch to be applied is the simple one and the second one is the
> > interfamily.
> > Therefore if you would like to patch Linux kernel 2.6.13.1 you first apply
> > simple-beet-patch-v1.0-2.6.13.1
> > and then
> > interfamily-beet-patch-v1.0-2.6.13.1
> >
> > The main difference between these two patches is that the former supports 
> > the
> > same families between inner and outer addresses (as a result the only 
> > allowed
> > cases are inner=outer=IPv4 and inner=outer=IPv6), whereas the latter 
> > supports
> > also the cross-family transformation.
> > The reason why we created incremental patches is due to requirements from
> > Linux
> > community.
> >
> > Please notice that the latest beet draft is not fully support and only the
> > simple patch is provided: the latest draft specifies how to handle the IPv4
> > options: an additional header (so called pseudo-header -PH-) is added.
> >
> > As a result I would recommend to use the patches named:
> > simple-beet-patch-v1.0-2.6.XX.YY
> > interfamily-beet-patch-v1.0-2.6.XX.YY
> >
> > (where the XX.YY determine the version of the Linux kernel to be patched).
> >
> > Cheers,
> >
> > --
> > Diego
> >
> >
> >
> >
> >
>
>
>
>

-- 
Miika Komu              miika@xxxxxx          http://www.iki.fi/miika/

Other related posts: