[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: wlan0 eth0 bridging problem



On Wed, Jan 28, 2009 at 2:01 PM, Alex Samad <alex@samad.com.au> wrote:
> On Tue, Jan 27, 2009 at 02:44:42PM +0800, Jerome BENOIT wrote:
>> Hello List !
>>
>> Alex Samad wrote:
>>> On Sun, Jan 25, 2009 at 12:03:47AM -0500, Wayne Topa wrote:
>>>> Deephay wrote:
>>>>> Greetings all,
>>>>>
>>>>>   I have two NICs on my laptop: eth0 and wlan0, I tried to bridge them
>>>>> and use a ad-hoc connection with my cellphone to share the internet
>>>
>>> I don't think bridging of wireless and ethernet  works, why not just
>>> route the packets! use iptables to setup nat if you need
>>>
>>>
>>
>> Indeed bridging with wireless is not a good idea: I experienced it !
>> Nevertheless, I have not yet understand in detail the suggested alternative:
>> is there an howto somewhere about it ?
>
> its just 2 networks and if the default gateway doesn't have a route back
> to the wireless then you need NAT (from iptables)
>
> have a google for linux routing

normal iptables NAT won't do in this case, the gateway machine is
gonna ask the MAC address of the remote Ad-Hoc device through eth0,
which won't get an anwser at all, that is why I need a damn bridge.
But finally I found the solution, layer 3 ARP bridge: parprouted.

I just do not understand why a 2009 linux box won't do a 2001 win XP
job (wired - wireless bridge).

>
>>
>> Thanks in advance,
>> Jerome
>>
>>>
>
> [snip]
>
>>
>
> --
> "You know, when I was one time campaigning in Chicago, a reporter said, 'Would you ever have a deficit?' I said, 'I can't imagine it, but there would be one if we had a war, or a national emergency, or a recession.' Never did I dream we'd get the trifecta."
>
>        - George W. Bush
> 06/14/2002
> Houston, TX
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkl/9M8ACgkQkZz88chpJ2NryACeOofXKahmfLXZry2n2sVVHtw5
> am4AoI7S6AY+DaOa7EuSp9DR05WOhB7r
> =koI6
> -----END PGP SIGNATURE-----
>
>


Reply to: