LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-27-2005, 12:40 AM   #1
twsnnva
Member
 
Registered: Oct 2003
Location: Newport News, Va
Distribution: Debian
Posts: 246

Rep: Reputation: 30
ethernet bridging not working


I'm trying to bridge my wireless network to the wired network through my linux box, but I can't add eth0 to the bridge.
Code:
#ifconfig ath0 0.0.0.0
#ifconfig eth0 0.0.0.0
#brctl addbr br0
#brctl addif br0 ath0
#brctl addif br0 eth0
Can't add eth0 to bridge br0: cannot assign requested address.
That's about it. Does anyone have bridging working, and can verify I'm doing this correctly?

Thomas
 
Old 01-27-2005, 11:11 AM   #2
fr_laz
Member
 
Registered: Jan 2005
Location: Cork Ireland
Distribution: Debian
Posts: 384

Rep: Reputation: 32
Hi

I'm using bridging just the way you do... it works fine, but both interfaces are wired ones.

I just read a bit of this : http://davidcoulson.net/writing/pcp/...nuxexpert.pdf,
there's a short part on wireless bridging.

They explain that a wireless interface drops packets which mac destination address is not the one of the interface. So a wireless interface cannot be part of a bridge, EXCEPT if the wireless interface is configured as an access-point (master option).

Maybe that's connected to your problem
 
Old 01-27-2005, 03:49 PM   #3
twsnnva
Member
 
Registered: Oct 2003
Location: Newport News, Va
Distribution: Debian
Posts: 246

Original Poster
Rep: Reputation: 30
fr_laz,
Actually the wireless card (ath0) can be successfully added to the bridge. It's the wired card (eth0) that is having the problem. I dropped a second network card in my box, which comes up as eth1 and successfully created a bridge, between it and the wireless nic, i'm fine with that. Also I am using(trying to use) the wireless nic in master mode. I still can't get the wireless network up. If I set both the windows laptop and the Linux system up in ad-hoc mode they connect and everything works great. I want to use hostap mode (master mode), so my Linux system can act as a WAP. When I set the card to master mode, windows detects the network during a scan, but will not connect to it. My windows laptop also detects two other wireless networks in the area, one of which it was able to connect to, so I'm thinking, I must have something setup wrong on the Linux side.

Thomas
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Ethernet bridging pepolez Linux - Networking 3 06-12-2005 07:07 AM
Getting Ethernet working!!! (again) Diademed Linux - Newbie 13 10-06-2004 09:09 PM
Ethernet Adapter not working or Network not working... phoenix07 Linux - Hardware 2 04-09-2004 07:58 PM
trying to get ethernet working mcd Slackware 9 08-17-2003 03:43 AM
Bridging two ethernet segments over ISDN jweigert Linux - Networking 4 07-16-2002 10:36 AM

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

All times are GMT -5. The time now is 04:38 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