Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "ArcosCom Linux User" <linux@arcoscom.com>
To: bridge@lists.linux-foundation.org, linux-net@vger.kernel.org,
	netfilter@vger.kernel.org
Subject: Help with multiple IP networks over an ethernet one
Date: Tue, 9 Sep 2008 10:29:37 +0200 (CEST)	[thread overview]
Message-ID: <ef6cbd7b0cc8d867f0702b0494896b60.squirrel@www.arcoscom.com> (raw)

Hello people,
   I have a little problem with one linux box that route some local IP
networks between them and internet.
   An schema from the IP point of view is this:
        (3 uplinks)
  INTERNET <---> route <---> LANS

  From ethernet point of view is this:

  INET link 1 <--->        <---> INET link 3
  INET link 2 <---> router <---> LANs

  Physically there are 3 ethernet networks, one for the uplink 1, other
for uplink 2, and the third is for the lans and the uplink 3.
  I forced to share the ethernet for the LANs and uplink 3.

  The router has 4 interfaces, eth1 for uplink 1, eth2 for uplink 2, eth3
for uplink 3 and eth0 for the LANs.

  The problem I have is that, without a constant time or reason, sometimes
I detect latences between uplink 3 and the router, and other times
between the router and LAN hosts.

  I think that I need to configure something in eth3 config files
(/proc/sys/net/ipv4/conf/eth3) to disallow local frames and allow only
the router and uplink 3 gateway comunication, but I don't found anything
that help me.

  I tried with arp_filter, rp_filter, and many of them, but without
success (I don't found many documentation about it, and I review lartc
and googled about that parameters).

  I think that only allowing arp traffic betwen eth3 and uplink 3 gateway
(using arptables) will solve this, but I don't know if arptables will be
the solution or not.

  Do anybody help me a bit?

  Thanks!!

             reply	other threads:[~2008-09-09  8:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-09  8:29 ArcosCom Linux User [this message]
2008-09-09 21:49 ` Help with multiple IP networks over an ethernet one Grant Taylor
2008-09-10  7:51   ` ArcosCom Linux User
2008-09-10  8:41     ` Brian Austin - Standard Universal
2008-09-10 14:15     ` Grant Taylor
2008-09-10 19:13       ` ArcosCom Linux User
2008-09-10 20:34         ` Grant Taylor
2008-09-10 22:48           ` ArcosCom Linux User
2008-09-10 23:13             ` 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=ef6cbd7b0cc8d867f0702b0494896b60.squirrel@www.arcoscom.com \
    --to=linux@arcoscom.com \
    --cc=bridge@lists.linux-foundation.org \
    --cc=linux-net@vger.kernel.org \
    --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