bridge on linux


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers bridge on linux
# 1  
Old 05-21-2005
bridge on linux

Hello.
I expirince some problems with bridging, i'm pretty new to that technology

I've 2 nic's 1 - wireless rt2500 ra0 canyon cn511 card
2 - e100 intel,
ifconfig ra0 up && iwconfig ra0 essid xxx channel x mode managed bring me wireless connection up
then i do following: brctl addbr br0
brctl addif br0 ra0
brctl addif br0 eth0
ifconfig br0 up
dhcpcd br0

and br0 iface is working. problem is following: when i try to ping something behind the wireless card from clients that are on eth0 (e100) - i cant
i can ping only br0 ipaddress, anyone can suggest what am i doing wrong?

# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.0010a72c2dc0 no ra0
eth0

-------
# brctl showmacs br0
port no mac addr is local? ageing timer
1 00:04:e2:1f:08:95 no 0.00
1 00:08:a1:25:95:cf no 77.10
1 00:10:a7:2c:2d:c0 yes 0.00
1 00:30:bd:f5:02:a8 no 35.32
2 00:50:8d:f5:bc:4c no 5.05
2 00:80:5f:77:58:a5 yes 0.00
1 00:80:c8:93:8b:47 no 60.10
1 00:c0:df:f1:95:c3 no 16.20



Seems bridge is working, but still cant communicate to network that behind wireless segment.
Thx a lot
# 2  
Old 05-22-2005
hm, i found following information in the internet, i think you all should know this, and thx all who tried to help.
Quote:
Originally Posted by http://gentoo-wiki.com/HOWTO_setup_a_gentoo_bridge#The_Gentoo_802.1d_Bridge_Guide
Creating 802.11/802.3 Bridges

Quite simply, Linux does not support this easily. From Jean Tourrilhes' site:
The conventional Ethernet bridging method (promiscuous sniffing) doesn't work with most wireless LAN standard, because of the header encapsulation and the interactions with link layer retransmissions. In other word, most often, when you use a software bridge on a wireless LAN (such as the Linux bridge on a 802.11 card), it doesn't work (moreover, quite often promiscuous is broken as well).
The driver could work around this restriction by creating its own MAC headers (802.11 headers instead of 802.3, and putting the right bits in the right place), but in fact most vendors don't provide the specification on how to this with their hardware (when they don't explicitely prevent it in hardware, to force you to buy their Access Points). (http://www.hpl.hp.com/personal/Jean_...ess.usage.html)

The eventual goal is to bridge a wireless network to a wired network. Fortunately, this is exactly what an access point does. There are several out there from which to choose. If you have lots of money or need VLAN/QoS support, the Cisco Aironet 1100 and Aironet 1200 access points are a great investment. If your budget is more of a requirement, the Linksys WAP54G or WRT54G are cheap and quite effective. (The Linksys Cable/DSL "routers" can easily be turned into a regular access point via a single selection box in the configuration.)

So rather than trying to hack a Linux 802.11/802.3 bridge together, spend the $100 and save yourself a lot of headach
 
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. IP Networking

Linux bridge routing failing on Proxmox3.2/Debian7.0

I am having problems configuring bridged networking on Proxmox3.2/Debian7.0 I have 2 bridges - vmbr0 and vmbr1. I want to attach a gateway/firewall running in a virtual machine between the 2 and use it to connect out to the WAN through vmbr0. I have removed the IP, mask and gateway from... (0 Replies)
Discussion started by: OSSVirt
0 Replies

2. OS X (Apple)

Hostroute => Bridge and IP-Forwardings

Hello unix community, Could anyone tell me what is the macosx command for: 1) ip hostroute to bridge: ip route add 188.40.1.40/32 dev br0 (linux command) /32 ist for netmask? Because I use /29. 2) and IP-Forwarding: net.ipv4.ip_forward = 1 (linux command) I hope anyone could... (1 Reply)
Discussion started by: girlusingunyx
1 Replies

3. Ubuntu

Wireless Bridge/Repeater ?

I have a laptop running Ubuntu Netbook Remix. What I want to do is use it to connect to my routers wifi, and then plug my desktop into the laptops ethernet port and be hooked to my routers network without any NAT or ICS. Desktop>>>>>>Laptop/Wired>>Laptop/Wireless>>>>>Router I want it to look... (6 Replies)
Discussion started by: schwasskin
6 Replies

4. IP Networking

Connecting two machines with an ethernet bridge

Hello, I want to connect 2 machines with a bridge between them to control the traffic i.e. delay, loss rate, etc. I am using the following solution: 2 end machines with ip-adresses 192.168.0.8 and 192.168.0.16. 1 machine with 2 NIC interface cards: 192.168.0.40 and 192.168.0.41 I have... (9 Replies)
Discussion started by: abhishek2301
9 Replies

5. IP Networking

SNMP in a Bridge device

Hello all, recently we've created a Bridge on a machine that was being used as an snmp, and we haven't assigned an IP for the bridge interface, instead we've used one extra NIC to make all the administrations, but SNMP is simply not working, any one have a clue on how to do this? Thanks. (0 Replies)
Discussion started by: Zarnick
0 Replies
Login or Register to Ask a Question