netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Grant Taylor <gtaylor@riverviewtech.net>
To: Mail List - Netfilter <netfilter@vger.kernel.org>
Subject: Re: Redirect mirrored traffic to userspace app. [RESOLVED]
Date: Thu, 21 Oct 2010 12:32:47 -0500	[thread overview]
Message-ID: <4CC0793F.9020703@riverviewtech.net> (raw)
In-Reply-To: <AANLkTikQLQ4J0+8-Ao5viwjQ4b4YCUDvuez3mKcf2EF7@mail.gmail.com>

On 10/21/10 11:42, Mateus Caruccio wrote:
> In the end, we came with a very simple solution (no iptables/ip 
> needed):
> 
>    # ifconfig eth1 PROD_SRV_IP netmask PROD_SRV_NETMASK promisc -arp hw 
> ether PROD_SRV_HWADDR up

That looks like you bound it to eth1 when you were talking about eth0 
before.

Are you using eth0 at all?  Or does the box have two nics (0 & 1) in the 
same subnet?

> That is it !

Simple solutions are nice.

> All traffic targeted to PROD_SRV_IP is now being accepted by our 
> mirrored eth1. Since this is an interface aimed to tests only, no 
> matter what's being accepted.

Ok.

Are you accessing (for management) the dev server across the network at 
all?  Or is everything done on console?

> Thanks Jan and Grant for your suggestions and explanations. That 
> worths a lot!

You are welcome.  I'm glad that you got things working, especially as 
simple as you did.



Grant. . . .

  reply	other threads:[~2010-10-21 17:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-21 16:42 Redirect mirrored traffic to userspace app. [RESOLVED] Mateus Caruccio
2010-10-21 17:32 ` Grant Taylor [this message]
2010-10-21 17:46   ` Mateus Caruccio
2010-10-21 17:41 ` Jan Engelhardt
2010-10-21 17:56   ` Mateus Caruccio
2010-10-21 18:11     ` Grant Taylor
2010-10-21 18:18       ` Mateus Caruccio
2010-10-26 11:04     ` Jan Engelhardt
2010-10-21 18:03   ` Grant Taylor

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=4CC0793F.9020703@riverviewtech.net \
    --to=gtaylor@riverviewtech.net \
    --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;
as well as URLs for NNTP newsgroup(s).