From: kevin@ouraynet.com
To: bridge@lists.osdl.org
Subject: Re: [Bridge] bridge problem
Date: Thu, 15 Feb 2007 10:27:30 -0700 (MST) [thread overview]
Message-ID: <1031.204.10.124.3.1171560450.squirrel@squirrel.ouraynet.com> (raw)
In-Reply-To: <BAY131-F1857AFF907BF1716A253BBE2960@phx.gbl>
> On the target board
>
> ifconfig eth0 0.0.0.0
> ifconfig eth1 0.0.0.0
> brctl addbr br0
> brctl addif br0 eth0
> brctl addif br0 eth1
> ifconfig br0 10.1.111.1 netmask 255.255.255.0 up
> echo 1 > /proc/sys/net/ipv4/ip_forward
Bridging works transparently and is not routing.
You will not need ip_forwarding set, nor and ip in the same subnet.
forget setting the ip_forward, just bring up your bridge with:
ifconfig br0 0.0.0.0 up
If you have everything plugged in properly, and two ips in the same
subnet on either side, they will start pinging.
As mentioned on this list many times prior it does take 30 seconds for
the forwarding to take place unless you set it to 0 with:
brctl setfd br0 0
Hope that helps,
Kevin Karsh
Ouraynet
next prev parent reply other threads:[~2007-02-15 17:27 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-15 16:36 [Bridge] bridge problem saravanan chanemouganandam
2007-02-15 16:54 ` Jan Engelhardt
2007-02-15 19:51 ` [Bridge] brctl question? Marc.Obbad
2007-02-15 21:37 ` Stephen Hemminger
2007-02-15 21:58 ` Marc.Obbad
2007-02-15 17:27 ` kevin [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-01-23 14:38 [Bridge] bridge problem Metuki Sabhe
2009-06-16 23:04 Paolo NOTARI
2009-06-18 4:26 ` richardvoigt
2009-06-18 5:58 ` Stephen Hemminger
2007-01-03 3:36 [Bridge] Bridge problem Seann Jenner
2004-11-15 18:59 Javier Valencia
2004-12-02 19:09 ` 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=1031.204.10.124.3.1171560450.squirrel@squirrel.ouraynet.com \
--to=kevin@ouraynet.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox