LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-15-2005, 09:29 AM   #1
CARLiCiOUS
LQ Newbie
 
Registered: Mar 2005
Location: /dev/sda2
Distribution: slackware 10.0 [nptl]
Posts: 5

Rep: Reputation: 0
Question bridge configuration


Hello,
recently I have bought 2 wireless network adapters, 1 for in my server/router and 1 for in an older computer (t-bone), I have another (newer) computer (n2o) connected with the server through ethernet.
So this is the situation:
Code:
                                       [internet]
                                            |
old computer                            [ eth0 ]                     new computer
[ t - bone ][ wlan0 ] ------- [ wlan0 ][ server ][ eth1 ] ------- [ eth0 ][ n2o ]
on my server, wlan0 and eth1 are bridged in br0, eth0 is routed to br0 to let everything access the internet.
This is all good and fine, no problems, but when i'm behind t-bone I can't ping n2o and vice versa.
How to get this fixed ? I thought this would work with the bridge br0, but I found out it wouldn't
I have the bridge module compiled and loaded into the kernel,
I used the following commands to get the bridge up:
ifconfig eth1 0.0.0.0 promisc up
ifconfig wlan0 0.0.0.0 promisc up
brctl addbr br0
brctl addif br0 eth1
brctl addif br0 wlan0
ifconfig br0 10.0.0.2 netmask 255.0.0.0 up

cheers.

Last edited by CARLiCiOUS; 03-15-2005 at 10:10 AM.
 
Old 03-15-2005, 11:18 AM   #2
fr_laz
Member
 
Registered: Jan 2005
Location: Cork Ireland
Distribution: Debian
Posts: 384

Rep: Reputation: 32
Hi,

Just a remark, I don't think it will solve your problem.
When I use "ifconfig eth0 10.0.0.1 netmask 255.255.255.0", I don't have the right broadcast address : my Linux box uses 10.255.255.255 and not 10.0.0.255.
So I use ifconfig eth0 10.0.0.1 netmask 255.255.255.0 broadcast 10.0.0.255...

Another thing : you've got the brctl show command so as to check your bridge topology... maybe that will give you more infos.
 
Old 03-15-2005, 01:17 PM   #3
CARLiCiOUS
LQ Newbie
 
Registered: Mar 2005
Location: /dev/sda2
Distribution: slackware 10.0 [nptl]
Posts: 5

Original Poster
Rep: Reputation: 0
that broadcast/netmask thingy won't be the problem, since the whole network uses dhcp, which is configured to give everyone 255.0.0.0 and bcast 10.255.255.255.

this is the output from brctl show:
Code:
bridge name     bridge id               STP enabled     interfaces
br0             8000.000b6a23de6a       yes             eth1
                                                        wlan0
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help setting up bridge Random`Zero Linux - Networking 2 01-01-2005 05:08 PM
What exactly is a bridge. zaicheke Linux - Networking 7 10-23-2004 06:12 PM
NIC Configuration and bridge problem Fonk Red Hat 0 05-24-2004 02:09 AM
NIC Configuration and bridge problem Fonk Linux - Networking 2 05-21-2004 02:36 AM
bridge Cubiq Linux - Networking 9 08-10-2002 11:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration