You are not logged in.

#1 2009-06-01 13:57:41

arch0r
Member
From: From the Chron-o-John
Registered: 2008-05-13
Posts: 597

network bridge from laptop to two desktop machines

hi all :>
i'm trying to establish a network bridge (using bridge utils) from my laptop (wireless interface = eth1) to two desktop machines which will be connected to the two ethernet devices of the laptop (eth0 and eth2).


                                                                             eth0 ---> DESKTOP 1
                                                                          /
Router --- WLAN ---> eth1 LAPTOP --- WIRED --->
                                                                          \
                                                                             eth2 ---> DESKTOP 2


After installing the bridge-utils i unset the ip adresses of my devices:
ifconfig eth0 0.0.0.0 promisc up
ifconfig eth1 0.0.0.0 promisc up
ifconfig eth2 0.0.0.0 promisc up

... created the bridge:
brctl addbr br0

... added the interfaces to the bridge:
brctl addif br0 eth0
brctl addif br0 eth1
brctl addif br0 eth2

but i couldn't get an IP for br0 from the router
dhcpcd br0 ... timed out

are there any things i have to consider running a bridge with a wlan device? do i have to run a dhcp server on the laptop that ips can be assigned?

best regards :>

Offline

#2 2009-06-04 02:18:08

darthaxul
Member
Registered: 2008-09-24
Posts: 156

Re: network bridge from laptop to two desktop machines

first make sure the router works and is able to give an ip address normal setpp(without bridge) I  don't know ur setup but maybe ur router only gives one ip address and doesn't know which gets it?
then u should try making the bridge again but without eth0 or eth2 and see if u get an ip from router.
then try adding eth0 bridge.
then eth2.

Offline

#3 2009-06-04 21:46:11

Kenni
Member
From: Denmark
Registered: 2007-01-25
Posts: 64

Re: network bridge from laptop to two desktop machines

arch0r wrote:

brctl addif br0 eth1

Have you checked if your wireless card (eg. the firmware) supports bridgemode? As far as I know, most wireless cards isn't capable of running in bridge mode. A quick search on Google returned this:
http://www.linuxfoundation.org/en/Net:B … ss_card.21

Offline

#4 2009-06-04 22:03:06

arch0r
Member
From: From the Chron-o-John
Registered: 2008-05-13
Posts: 597

Re: network bridge from laptop to two desktop machines

yeah, i think this is the point! i got a 500mw alfa card using the rtl8187 chipset which seems to be impossible to set in master mode or add it to a networkbridge -.-

edit: lol, it's working big_smile i just loaded the patched module (which i usually use for airckrack) and set the card into master mode tongue

Last edited by arch0r (2009-06-04 22:21:22)

Offline

Board footer

Powered by FluxBB