Networking Forums

Networking Forums > Computer Networking > Linux Networking > network bridge setup question

Reply
Thread Tools Display Modes

network bridge setup question

 
 
ultimatespamheap@yahoo.com
Guest
Posts: n/a

 
      05-24-2005, 01:16 PM
Hi all,

I would like to set up a network bridge on my notebook running SuSE 9.2
to solve the following problem:

- My notebook has a wlan card and access to a wireless network (which
works).
- My friend needs access to the same network but does not have a wlan
card (but an ethernet port).
- Since I have an unused ethernet device and a patch cable, I would
like to connect both notebooks with the patch cable and set up a bridge
linking this network to the wlan on my notebook. The setup should be as
follows:

notebook 1 notebook 2
+----------------+ +---------------+
WLAN ------|-ath0 | | |
| | | | |
| bridge---eth0-|--------|-eth0 |
+----------------+ +---------------+

Communication between the notebooks works (tested with ping's).

The WLAN network is 192.168.0.X (obtained by DHCP from notebook 1)

The commands I use to set up the bridge are as follows:

ifconfig eth0 inet 0.0.0.0 promisc up
brctl addbr mybr
brctl setfd mybr 0
brctl sethello mybr 0
brctl stp mybr off
brctl addif mybr ath0
brctl addif mybr eth0
ifconfig mybr 192.168.10.1 netmask 255.255.255.0 up

Now, as already mentioned, pinging between the notebooks works, but I
am not sure how the bridge needs to be set up. Does it have to be on
another subnet? Is it possible for notebook 2 to get an IP address by
DHCP via bridge from the WLAN access point? And if these are two
different subnets, do I need to add some routes to the routing table?

Thanks very much for your help

Pascal

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Network setup Question Coop Home Networking 4 10-07-2006 01:59 PM
Network Bridge Setup Problem netty@email.net Windows Networking 0 04-05-2006 06:24 AM
Question for those Network Bridge Intellects Truerarity Wireless Networks 1 12-06-2005 09:28 PM
question re wireless network + bridge Gaz Home Networking 5 02-09-2005 09:58 PM
Dlink 2100AP bridge mode setup question Jac Wireless Internet 5 08-27-2004 07:00 AM



1 2 3 4 5 6 7 8 9 10 11