[Lxc-users] Virtual Interfaces inside VM

Sergio Charpinel Jr. sergiocharpinel at gmail.com
Tue Feb 28 18:25:32 UTC 2012


Hi,

I want to create virtual network interfaces to use with GRE Tunnels.

Using debootstrap, I've installed debian squeeze, and configured my virtual
interface as below:

auto tun0
iface tun0 inet static
        address 10.1.253.1
        netmask 255.255.255.252
        up ifconfig tun0 multicast
        pre-up iptunnel add tun0 mode gre remote 10.27.1.253 local
10.27.1.1 ttl 255
        pointopoint 10.1.253.2
        post-down iptunnel del tun0

But i get the following error: "ipgre init: can't add protocol" .

I've already tried with debian Lenny from lxc-debian script, but a
different error appears.

Any ideas?

Thanks in advance.

-- 
Sergio Roberto Charpinel Jr.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20120228/af27c45f/attachment.html>


More information about the lxc-users mailing list