From: "Nicolas de Pesloüan" <nicolas.2p.debian@free.fr>
To: Jochen Hebbrecht <jochenhebbrecht@gmail.com>
Cc: bridge@lists.linux-foundation.org
Subject: Re: [Bridge] Ubuntu: network bridging between wireless and wired connection fails
Date: Wed, 06 May 2009 22:07:06 +0200 [thread overview]
Message-ID: <4A01EDEA.8040106@free.fr> (raw)
In-Reply-To: <4A01BF38.4080704@gmail.com>
Jochen Hebbrecht a wrote:
> I think you mean bridge_hw (with an underscore instead of a dash?). I
> can't find any information about bridge-hw in the man pages.
bridge-hw and bridge_hw is exactly the same. (No difference between
underscore and dash). Both will set a variable $IF_BRIDGE_HW, to be used
by the scripts in /etc/network/if-*.d/*.
From interfaces(5) : "Additionally, all options given in an interface
definition stanza are exported to the environment in upper case with
"IF_" prepended and with hyphens converted to underscores and
non-alphanumeric characters discarded."
>> Can you try to use the bridge-hw option of /etc/network/interfaces, to
>> force the bridge MAC address to the MAC address of the wireless
>> interface ? This might solve the communication problem for UBUNTU
>> SERVER... but unfortunately probably not for the bridging function.
>>
> Now the bridge comes up perfectly, and ubuntu server can ping the
> internet. But nobody on the eth0 of ubuntu server can access the network
> :-( ... so no bridging indeed
This is unfortunately what I expected.
Now, you can have a last try with your current bridge configuration, by
upgrading the firmware of your router, ensuring WDS is enabled in the
router, and hope that the driver of your wifi adapter support WDS... By
the way, what is the type of your wifi adapter ?
If that fail, I think we have two options :
- Try to setup a very special bridge configuration, with some sort of
masquerading of the MAC address. This would require at least to use
ebtables to replace the source MAC address in the header (and in the
payload for ARP) of packets sent on the wifi interface, to route packets
in the server, to stop the server from sending ICMP redirect in the wifi
interface and to setup a proxy_dhcp on the server. It would be hard to
setup, hard to debug and impossible to maintain... Probably not a good
idea... Funny to try, but not a good target.
- Setup a simple router configuration on the server, using another
private subnet on location B. Using a simple NAT/Masquerading
configuration (with iptables), it could be possible to hide the subnet
of location B from location A, but still allow access to the printer of
location B from location A and access to location A and to Internet from
location B. If you don't have a really good reason to stick to bridge
(like using a non-IP protocol), I suggest you try this.
Nicolas.
next prev parent reply other threads:[~2009-05-06 20:07 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-27 21:13 [Bridge] Ubuntu: network bridging between wireless and wired connection fails Jochen Hebbrecht
2009-04-27 21:36 ` richardvoigt
2009-04-28 6:44 ` Jochen Hebbrecht
2009-04-28 12:40 ` Ross Vandegrift
2009-04-28 12:52 ` Jochen Hebbrecht
2009-04-28 13:37 ` Ross Vandegrift
2009-04-28 17:36 ` Jochen Hebbrecht
2009-04-28 19:00 ` richardvoigt
2009-04-28 21:16 ` Jochen Hebbrecht
2009-04-28 23:00 ` richardvoigt
2009-04-29 16:16 ` Jochen Hebbrecht
2009-04-29 16:26 ` Ross Vandegrift
2009-04-29 16:40 ` Jochen Hebbrecht
2009-04-29 16:53 ` Ross Vandegrift
2009-04-29 21:21 ` Jochen Hebbrecht
2009-04-30 4:18 ` richardvoigt
2009-04-30 6:30 ` Jochen Hebbrecht
2009-04-30 21:54 ` Nicolas de Pesloüan
2009-05-02 13:15 ` Jochen Hebbrecht
2009-05-03 17:46 ` Nicolas de Pesloüan
2009-05-04 3:59 ` richardvoigt
2009-05-04 19:29 ` Jochen Hebbrecht
2009-05-04 19:28 ` Jochen Hebbrecht
2009-05-04 19:34 ` Nicolas de Pesloüan
2009-05-04 19:42 ` Jochen Hebbrecht
2009-05-04 20:07 ` Nicolas de Pesloüan
2009-05-04 21:06 ` Jochen Hebbrecht
2009-05-04 23:33 ` richardvoigt
2009-05-05 5:49 ` Nicolas de Pesloüan
2009-05-05 16:59 ` Jochen Hebbrecht
2009-05-05 6:20 ` Nicolas de Pesloüan
2009-05-05 17:01 ` Jochen Hebbrecht
2009-05-05 18:08 ` richardvoigt
2009-05-05 19:19 ` Jochen Hebbrecht
2009-05-05 19:53 ` Jonathan Thibault
2009-05-05 20:52 ` Jochen Hebbrecht
2009-05-05 21:44 ` Nicolas de Pesloüan
2009-05-06 6:57 ` Jochen Hebbrecht
2009-05-06 15:37 ` Jochen Hebbrecht
2009-05-06 16:55 ` Jonathan Thibault
2009-05-09 11:15 ` Jochen Hebbrecht
2009-05-06 16:47 ` Jochen Hebbrecht
2009-05-06 20:07 ` Nicolas de Pesloüan [this message]
2009-05-09 11:17 ` Jochen Hebbrecht
2009-05-09 23:30 ` richardvoigt
2009-05-10 15:39 ` Nicolas de Pesloüan
2009-04-29 16:41 ` Jochen Hebbrecht
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=4A01EDEA.8040106@free.fr \
--to=nicolas.2p.debian@free.fr \
--cc=bridge@lists.linux-foundation.org \
--cc=jochenhebbrecht@gmail.com \
/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