WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: gre tunnel  (Read 2612 times)

Offline gregg_a_g

  • Newbie
  • *
  • Posts: 28
gre tunnel
« on: November 21, 2011, 09:11:50 AM »
Hi, I'm trying to setup a GRE tunnel to pair with a Cisco router.  I installed the "iproute2" extension, but  evidently the ip_gre module is not in the kernel for TC4.0.2.
Can someone direct me to either ip_gre.o module location, or the source code so I can compile the module myself?

Thanks!

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: gre tunnel
« Reply #1 on: November 21, 2011, 10:10:49 AM »
The kernel source and config can be found on any mirror, such as
http://ftp.nluug.nl/pub/metalab/distributions/tinycorelinux/4.x/x86/release/src/kernel
The only barriers that can stop you are the ones you create yourself.

Offline gregg_a_g

  • Newbie
  • *
  • Posts: 28
Re: gre tunnel
« Reply #2 on: November 21, 2011, 10:19:11 AM »
So would I need to recompile the kernel with "CONFIG_NET_IPGRE_DEMUX", or is there any easier way to simply compile the module and then use MODPROBE?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: gre tunnel
« Reply #3 on: November 21, 2011, 10:25:46 AM »
If you enable them as modules, they should work.
The only barriers that can stop you are the ones you create yourself.

Offline gregg_a_g

  • Newbie
  • *
  • Posts: 28
Re: gre tunnel
« Reply #4 on: November 21, 2011, 10:34:01 AM »
I'm sorry to be dense!  I need the ip_gre module and don't know how to build or get it other than recompiling the entire kernel.  Is there a simple way to just compile the ip_gre module by itself?  Would I simply use the linux-headers-3.0.3-tinycore.tcz?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: gre tunnel
« Reply #5 on: November 21, 2011, 12:51:34 PM »
No, you need the whole kernel source. "make modules" will only build the modules.
The only barriers that can stop you are the ones you create yourself.