How to get ip_gre working on my FC12 server?
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:
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.