From: "Mark S. Mathews" <mark@linux-wlan.com>
To: bridge@lists.osdl.org
Subject: Re: [Bridge] Some newbe questions
Date: Fri, 30 Jun 2006 07:48:50 -0400 [thread overview]
Message-ID: <20060630074850.6txc2p2y0w4sg8ok@localhost> (raw)
In-Reply-To: <20060630115910.GC6638@gmx.de>
This is a FAQ. See:
http://linux-net.osdl.org/index.php/Bridge#I_still_don.27t_understand.21.21
Easy solution:
Don't bridge. Route or NAT through the notebook.
Harder solution:
Build your own AP and use a WDS link between the laptop and the AP.
Workable but not a 'plug and chug' solution. ;-)
Have Fun,
-Mark
Quoting Marc Weber <marco-oweber@gmx.de>:
> [desktop] ----- lan ----eth0 [notebook] eth1
> 192.168.?.? ` ----- wlan ----
> [speedport(hub and router)] -- internet
> 192.168.2.x
>
> So on my laptop I have eth0 beeing lan, eth1 beeing wlan ethernet card.
>
> When only using eth0/1 everything is fine.
> Now I want to be able to use internet from both [desktop] and
> [notebook].
>
> Typically you set up a bridge with
>
> brctl addbr br1
> brctl addif br1 eth0
> brctl addif br1 eth1
> ifconfig eth0 0.0.0.0 up
> ifconfig eth1 0.0.0.0 up
> ifconfig br1 up
> , right?
>
> When do I have to set the iwconfig settings? (Web password, essid?)
> When I also want use the internet (connect to desktop via vnc) from the
> notebook I have to assign an ip to the bridge, correct?
> ifconfig br1 192.168.x.y up
>
> eth1 connects to lan having ips of from 192.168.2.x
> Because I want to connect from desktop to speedport (using the bridge)
> This network (192.168.?.?) has to be 192.168.2.x, too. Correct?
>
> Can you recommend a networking documentation which explains these
> things?
>
> Marc
> _______________________________________________
> Bridge mailing list
> Bridge@lists.osdl.org
> https://lists.osdl.org/mailman/listinfo/bridge
>
Mark S. Mathews
AbsoluteValue Systems Web: http://www.linux-wlan.com
721-D North Drive e-mail: mark@linux-wlan.com
Melbourne, FL 32934 Phone: 321.259.0737
USA Fax: 321.259.0286
prev parent reply other threads:[~2006-06-30 11:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-30 11:59 [Bridge] Some newbe questions Marc Weber
2006-06-30 11:48 ` Mark S. Mathews [this message]
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=20060630074850.6txc2p2y0w4sg8ok@localhost \
--to=mark@linux-wlan.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