All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Raphaël Rigo ML" <ml@twilight-hall.net>
To: bridge@lists.osdl.org
Subject: [Bridge] Bridge and broadcasting (ping)
Date: Wed, 08 Dec 2004 18:57:32 +0100	[thread overview]
Message-ID: <41B7408C.3040706@twilight-hall.net> (raw)

Hello,
first please CC me since i did not subscribe.
i am currently setting up a VPN with some friends, using openvpn.
Let's do some ascii art to explain the (basic) network :



  __________                   ___________
| 10.0.4.1 |  <--- VPN --->  | 10.0.0.10 |
  ----------                   -----------
       |                             | eth0
  __________                   __________
| 10.0.4.2 |                 | 10.0.0.1 |
  ----------                   ----------

The VPN is materialized by a tap ethernet interface. I am 10.0.0.10.
I am bridging eth0 (lan) and tap1 (vpn) together. Everything works fine 
except that broadcast pings from 10.0.4.1 only get a reply from 10.0.0.10.
Here's a tcpdump of the ping on the bridge interface :
18:55:31.683690 IP 10.0.4.1 > 10.0.255.255: icmp 64: echo request seq 30
18:55:31.683733 IP 10.0.0.10 > 10.0.4.1: icmp 64: echo reply seq 30
18:55:31.683841 IP 10.0.0.1 > 10.0.0.10: icmp 64: echo reply seq 30

As you can see .1 answers to .10, which is wrong.

How can I make it work ?

The thing is that it works on 10.0.4.1, I mean, if i ping 10.0.255.255 
from 10.0.0.10, 10.0.4.2 replies. This gateway is using shorewall, I 
think the config of iptables has something to do with this but I cannot 
find what.

I'm using linux 2.6.10-rc3.

Regards,
Raphaël

                 reply	other threads:[~2004-12-08 17:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=41B7408C.3040706@twilight-hall.net \
    --to=ml@twilight-hall.net \
    --cc=bridge@lists.osdl.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.