<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/4.2.3">
</HEAD>
<BODY>
Just a random thought, do you have the gre drivers in the kernel of the host machine. Either compiled in, or modprobe-d? <BR>
<BR>
On Tue, 2012-02-28 at 15:25 -0300, Sergio Charpinel Jr. wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
Hi,
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
I want to create virtual network interfaces to use with GRE Tunnels.
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
Using debootstrap, I've installed debian squeeze, and configured my virtual interface as below:
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
auto tun0
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
iface tun0 inet static
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
address 10.1.253.1
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
netmask 255.255.255.252
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
up ifconfig tun0 multicast
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
pre-up iptunnel add tun0 mode gre remote 10.27.1.253 local 10.27.1.1 ttl 255
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
pointopoint 10.1.253.2
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
post-down iptunnel del tun0
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
But i get the following error: "ipgre init: can't add protocol" .
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
I've already tried with debian Lenny from lxc-debian script, but a different error appears.
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
Any ideas?
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
Thanks in advance.
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
-- <BR>
Sergio Roberto Charpinel Jr.<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<PRE>
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
<A HREF="http://p.sf.net/sfu/learndevnow-d2d">http://p.sf.net/sfu/learndevnow-d2d</A>
_______________________________________________ Lxc-users mailing list <A HREF="mailto:Lxc-users@lists.sourceforge.net">Lxc-users@lists.sourceforge.net</A> <A HREF="https://lists.sourceforge.net/lists/listinfo/lxc-users">https://lists.sourceforge.net/lists/listinfo/lxc-users</A>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>