Ethernet Bridge development
 help / color / mirror / Atom feed
From: David Martin <dmartin@mediatvcom.com>
To: bridge@lists.linux-foundation.org
Subject: [Bridge] Arp & Bridge
Date: Wed, 19 Sep 2007 16:32:26 +0200	[thread overview]
Message-ID: <46F132FA.8050501@mediatvcom.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1138 bytes --]

here is my bridge config :
Let say br0 containing eth0 and eth1, with br0 IP adress is 192.168.0.10

For some reasons, I would like to be able to send packet from the bridge 
machine, only via a specific device.
Thus, I set IP adress for eth0 and eth1 (let's say 192.168.0.11 and 
192.168.0.12).
I know a bridge is not supposed to have IP adress on the interfaces..
 ___________________________
| br0 (192.168.0.10)                |
|  +---   eth0  (192.168.0.11)   --------------------------- ethernet 
wire --------------------- 192.168.0.1
|  +---   eth1  (192.168.0.12)   ----------------------------ethernet 
wire --------------------- 192.168.0.254
|___________________________|

But when I try to send packet's from only one device, it does not work.
ie : ping -I eth0 192.168.0.1  gives no response.

I noticed that arp are sent and received by eth1, but they are of course 
received by br0 too.
So the arp table is completed for br0 but not for eth1...

The question is :
Why does br0 update the arp table, but eth1 doesnt? how is the arp table 
are updated? eth1 is the one sending the request!
Is there any mean to solve that?

[-- Attachment #2: Type: text/html, Size: 1574 bytes --]

             reply	other threads:[~2007-09-19 14:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-19 14:32 David Martin [this message]
2007-09-19 15:24 ` [Bridge] Arp & Bridge Stephen Hemminger

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=46F132FA.8050501@mediatvcom.com \
    --to=dmartin@mediatvcom.com \
    --cc=bridge@lists.linux-foundation.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