All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Soltys <soltys@ziu.info>
To: Greg Scott <GregScott@Infrasupport.com>
Cc: David Lamparter <equinox@diac24.net>, netdev@vger.kernel.org
Subject: Re: ebtables on a stick
Date: Fri, 02 Dec 2011 17:44:03 +0100	[thread overview]
Message-ID: <4ED90053.4020203@ziu.info> (raw)
In-Reply-To: <925A849792280C4E80C5461017A4B8A2A0491E@mail733.InfraSupportEtc.com>

On 11-12-02 17:20, Greg Scott wrote:
> OK.  But I dunno....  I set eth0 on the router with the same address as
> the real host behind it on eth1.  So something comes in on eth0 for
> 1.2.115.157.  The router has that as its own address now, plus a route
> to somebody else with the same address on eth1.  But as far as the
> router/firewall is concerned, that packet is already delivered - why
> would it forward it out on eth1?
>

Where the packet gets delivered is decided by the routing - and the very 
first table traversed is local - which is auto filled by the kernel. But 
that routing rule still can be forcibly removed, after which the next 
matching one is the one added manually - after which the packet will end 
in FORWARD, instead of INPUT.

(and keep in mind earlier David's warning about confusing 
programs/services - it's still doable, but requires more manual labor - 
proxy is certianly cleaner and just works)

  reply	other threads:[~2011-12-02 16:44 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <925A849792280C4E80C5461017A4B8A2A04879@mail733.InfraSupportEtc.com>
2011-11-26  8:27 ` ebtables on a stick Greg Scott
2011-11-27 15:10   ` Greg Scott
2011-11-28  2:53     ` Greg Scott
2011-11-28 14:39     ` David Lamparter
2011-11-28 14:54       ` Greg Scott
2011-11-28 15:30         ` David Lamparter
2011-11-29 10:05           ` Greg Scott
2011-11-29 10:23             ` David Lamparter
2011-11-29 10:48               ` Greg Scott
2011-11-29 23:11       ` Michal Soltys
2011-12-01  5:46         ` Greg Scott
2011-12-01  7:14           ` David Lamparter
2011-12-01 14:10             ` Greg Scott
2011-12-01 14:39             ` Greg Scott
2011-12-01 14:47               ` David Lamparter
2011-12-01 15:29                 ` Greg Scott
2011-12-01 16:50                   ` David Lamparter
2011-12-01 16:56                     ` Greg Scott
2011-12-02 15:40                       ` Michal Soltys
2011-12-02 16:04                         ` David Lamparter
2011-12-02 16:09                           ` Greg Scott
2011-12-02 16:06                         ` Greg Scott
2011-12-02 16:16                           ` Michal Soltys
2011-12-02 16:20                             ` Greg Scott
2011-12-02 16:44                               ` Michal Soltys [this message]
2011-12-01 17:44           ` Michal Soltys
2011-12-01 17:51             ` Greg Scott

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=4ED90053.4020203@ziu.info \
    --to=soltys@ziu.info \
    --cc=GregScott@Infrasupport.com \
    --cc=equinox@diac24.net \
    --cc=netdev@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 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.