Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Marek Kierdelewicz <marek@piasta.pl>
To: Giacomo Bernardi <mino@minux.it>, netfilter@vger.kernel.org
Subject: Re: Awkward scenario: 3 interfaces and 3 devices with same ip/subnet.
Date: Thu, 2 Sep 2010 17:56:25 +0200	[thread overview]
Message-ID: <20100902175625.2126d7d3@catus> (raw)
In-Reply-To: <AANLkTin_-r=hw-Lz7xa-=vW4BxLPgTLsq1=Bw-AZmSEm@mail.gmail.com>

Hi,

>Using VMs would be a problem as the software application that needs to
>address the device is just one, do you see any way of replicating your
>solution without VMs (e.g. using bridges and "virtual" interfaces)?

The sole purpose of the virtual guests in this solution is limited to
providing three isolated network stacks that can communicate with the
same ip unhindered. It's also achievable (and definitely less
cumbersome) using kernel namespaces - part of lxc [1].

If your software on host system can work with three
different device addresses (10.1.0.3, 10.2.0.3, 10.3.0.3), then you'd
need one instance of the application on host system.

If for some reason application is hardcoded to use 10.0.0.1 for device
access, then my solution won't do you any good :(.

Best regards,
Marek

[1]http://lxc.sourceforge.net/index.php/about/kernel-namespaces/network/

  reply	other threads:[~2010-09-02 15:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-31 11:34 Awkward scenario: 3 interfaces and 3 devices with same ip/subnet Giacomo Bernardi
2010-08-31 13:41 ` Jan Engelhardt
2010-08-31 14:30 ` Grant Taylor
2010-08-31 14:49   ` Giacomo Bernardi
2010-08-31 15:25     ` Grant Taylor
2010-08-31 15:33       ` Giacomo Bernardi
2010-09-01  7:14         ` Marek Kierdelewicz
2010-09-02 11:28           ` Giacomo Bernardi
2010-09-02 15:56             ` Marek Kierdelewicz [this message]
2010-09-02 16:05               ` Giacomo Bernardi
2010-09-02 16:34                 ` Marek Kierdelewicz
     [not found]                   ` <AANLkTi=uKngWrWpxMQJjLP6qTkfsPay9E3+-CKk2+7NO@mail.gmail.com>
2010-09-02 16:54                     ` Giacomo Bernardi
2010-09-02 17:19                       ` Marek Kierdelewicz

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=20100902175625.2126d7d3@catus \
    --to=marek@piasta.pl \
    --cc=mino@minux.it \
    --cc=netfilter@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox