How to get ip_gre working on my FC12 server?

I want to add the ipgre module because I'm trying set up a PPTP VPN server which requires ipgre. Looking at the box LiNode seem to use non standard kernels, rather than the default ones for Fedora (which already come compiled with ip_gre).

I've download the kernel source, or I think I have:

> [root@li131-147 2.6.32.12-linode25]# uname -a

Linux li131-147 2.6.32.12-linode25 #1 SMP Wed Apr 28 19:25:11 UTC 2010 i686 i686 i386 GNU/Linux

[root@li131-147 2.6.32.12-linode25]#

Which presumably means I need this:

http://www.linode.com/src/2.6.32.12-linode25.tar.bz2

I'm wondering how I compile (which I presume is a simple make), install (make install) but then switch over boot up to start that kernel ?

Also how do I build to ensure that the ip_gre module is available ?

Finally why do LiNode use non standard kernels ? This stuff is all available in the default FC12 rpms which would be much simpler to get this stuff up and running.

1 Reply

cflx% uname -a Linux cflx 2.6.18.8-linode22 #1 SMP Tue Nov 10 16:12:12 UTC 2009 i686 GNU/Linux cflx% zgrep -i gre /proc/config.gz CONFIG_NET_IPGRE=y CONFIG_NET_IPGRE_BROADCAST=y
You don't need to install ipgre module; ipgre is compiled statically into the kernel and available all the time. That's the common case applying to most of the stuff that's usually modules in standard distro kernels. If you have a crappy script that greps through module list, tries to modprobe blindly, or something like that, comment out the check, and it'll work.

…well, assuming that GRE is still compiled-in in 2.6.32 that you're using. Run my zgrep line at your Linode to verify.

As for why Linode doesn't use distro kernels… it's pretty simple - they won't work as good in a Xen environment, and would be a burden to maintain. Now, if you really, really want to use a distro or custom-build kernel, there's a way of doing it via pv-grub - check Linode Library for details.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct