OpenWrt Forum Archive

Topic: OpenWRT Wifi Bridge

The content of this topic has been archived on 11 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I like to bridge an wifi network to an ethernet device (The goal is to bring a TV without wifi into the internet.
I am using an NEXX WT3020 with Chaos Calmer on it.
I thought I could establish the connectioin by briding the wifi and the lan interface. I am already connected to the wifi network but I could not connect to the internet.
I guess that there is a problem because the two interfaces use two different IP ranges. How can I bring them together?


http://abload.de/img/bridge2ujql.png


I just discovered that wifi is not connected, I did a scan and connected to the network with the correct passphrase. Signal is 77%
http://abload.de/img/wlan_fail8usy1.png

(Last edited by theincogtion on 25 Nov 2015, 00:53)

Well for a wifi to ethernet bridge you will need the packages relayd and luci-proto-relay to get it to work.
With those both packages you can go on the luci interface Network -> wifi and add a new Interface. On the protocol section there must be a item called relay - bridge ot something like that( sry im using Luci on german language).
Now you should be able to bridge your two interfaces you need. After that you have to allow those settings on your Firewall on network-> Firewall -> general settings. Allow Input/Output reject forwarded. And on zone lan allow everything. I used a german guide for this and can send you the URL from it so you can even see the settings on pictures.
It works for me and i hope it will also work for you

http://blog.wenzlaff.de/?p=3718

(Last edited by Taulin on 25 Nov 2015, 10:55)

You can also do this directly as you have done provided both ends of the wireless have WDS enabled.

(Last edited by J1mbo on 25 Nov 2015, 12:13)

1. No WDS enabled.
2. @danymarc can I do this without the addons?
What do you mean with default router?
Subnet is already different.

Forget it, I meant reset router to defaults
Don't know what add-ons

(Last edited by danymarc on 26 Nov 2015, 01:27)

I dont think there's need in relayd provided that external network gives its own DHCP and DNS.

1) Disable router's own DHCP (or just disable dnsmasq)
2) Configure wifi interface in AP client mode
3) Create bridge between ETH and radio
4) Configure bridge interface as DHCP client or static address in the range of upstream network

(Last edited by bolvan on 26 Nov 2015, 10:22)

That won't work without WDS because the wifi encapsulation only has three MAC addresses (we need four, source and destination plus the two wifi devices, this is precisely what WDS does).

The discussion might have continued from here.