All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bridge] Some newbe questions
@ 2006-06-30 11:59 Marc Weber
  2006-06-30 11:48 ` Mark S. Mathews
  0 siblings, 1 reply; 2+ messages in thread
From: Marc Weber @ 2006-06-30 11:59 UTC (permalink / raw)
  To: bridge

[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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-06-30 11:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-30 11:59 [Bridge] Some newbe questions Marc Weber
2006-06-30 11:48 ` Mark S. Mathews

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.