A
A
Alex Smith2014-12-20 15:01:36
linux
Alex Smith, 2014-12-20 15:01:36

How to install ip_gre module on CentOS x64?

The system is accessed via SSH. On the modprobe ip_gre command, it says: FATAL: Module ip_gre not found.
The system is on a VPS at https://www.koddos.com
How do I add a module to the core?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
Puma Thailand, 2014-12-20
@opium

by default, it is in the centos kernel,
if there is openvz virtualization, then you will not be able to enable this module in any way.

A
Archie Kuznetsov, 2014-12-21
@Wolf4ara

good afternoon.
Of course, in kernel modules:
[email protected]:~:21/12/14-14:57$ sudo find /lib/modules/`uname -r` -name "*gre*"
/lib/modules/2.6.32 -431.29.2.el6.centos.plus.i686/kernel/net/ipv4/ip_gre.ko
/lib/modules/2.6.32-431.29.2.el6.centos.plus.i686/kernel/net/ipv4/netfilter /nf_nat_proto_gre.ko
/lib/modules/2.6.32-431.29.2.el6.centos.plus.i686/kernel/net/sched/sch_gred.ko
/lib/modules/2.6.32-431.29.2.el6.centos .plus.i686/kernel/net/sched/sch_ingress.ko
/lib/modules/2.6.32-431.29.2.el6.centos.plus.i686/kernel/net/netfilter/nf_conntrack_proto_gre.ko
/lib/modules/2.6 .32-431.29.2.el6.centos.plus.i686/kernel/drivers/media/rc/keymaps/rc-pinnacle-grey.ko

I
Ilya Evseev, 2014-12-21
@IlyaEvseev

Under OpenVZ self-loading of kernel modules in containers is prohibited.
Modules are loaded on the VPS farm.
In the container settings, you can allow it to access the module.
The permission is configured by farm admins.
Check inside the container:
iptables -A FORWARD -p gre
If it swears, then there is no permission.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question