All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christof Schulze <christof.schulze@gmx.net>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] Batman-adv  + lxc
Date: Fri, 21 Mar 2014 11:39:44 +0100	[thread overview]
Message-ID: <17243029.zoeb9UDcFZ@lappi> (raw)
In-Reply-To: <1629001.Cx5dbnsKCT@lappi>

[-- Attachment #1: Type: text/plain, Size: 1610 bytes --]

Hi,

I only saw your replies in the mailing archives, I probably was not
signed up to the list correctly when you answered. The issue is resolved
now but that is why I am breaking my own thread.

> what about bridging the real interface that you want to use for the mesh
> in the container and then load batman-adv inside LXC ?
this is in fact what I tried first. But bridiging the interface causes
the batman-adv information in /sys/class/net to get lost. Maybe because
I have to do things in a different order or because veth is really not
the right interface type.

> > I started by loading batman-adv on the host and bridging it into the
> > container. After adding the interfaces inside the container where
> > meshing should happen I cannot add a gateway because batctl
> > complains that /sys/class/net/bat0/mesh does not exist. Indeed, in
> > the container it does not exist.
> > 
> > How can batman-adv be used from an lxc-container?

> What I usually did was configuring batman-adv properly on the host via
> batctl. And only in the end adding it to the lxc-container.  That
> seemed to work for me (except the reboot crash noted above).
what do you mean by "adding it to the lxc container"?  I tried bridging
the bat0 interface into the container as a separate nic. That did not
yield positive results.

Unfortunately if I risk crashing the host, this option is not viable for
me yet as I cannot simply restart the machine once it crashed.

Christof

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

      parent reply	other threads:[~2014-03-21 10:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-20 18:59 [B.A.T.M.A.N.] Batman-adv + lxc Christof Schulze
2014-03-21 10:12 ` Linus Lüssing
2014-03-21 10:12 ` Antonio Quartulli
2014-03-21 10:39 ` Christof Schulze [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17243029.zoeb9UDcFZ@lappi \
    --to=christof.schulze@gmx.net \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.