dd-wrt, Unifi AP, bridge?

Post new topic   Reply to topic    DD-WRT Forum Index -> Ubiquiti Devices
Author Message
tucansam
DD-WRT Novice


Joined: 23 Jul 2012
Posts: 8

PostPosted: Sat May 03, 2014 6:33    Post subject: dd-wrt, Unifi AP, bridge? Reply with quote
Hello all.

I have a pair of Unifi APs (802.11n), and it was my understanding that Ubiquity's "uplink" feature would allow me to bridge two wired LAN segments with a wifi network between both APs.

LAN <--> unifi <--> air <--> unifi <--> LAN

I was unable to get this to work, and a few forums posts on Ubiquity's site revealed that this functionality is NOT possible.

I had no idea dd-wrt was even available for the Unifi platform, but I remember using client-bridge mode on an old Linksys AP I had to gain this functionality. I was hoping to do this in the AC band, but the Unifi AC is having all sorts of issues, so I settled for N until that product matures.

Does dd-wrt provide client-bridge functionality on the Unifi AP? Will I be able to connect (bridge) two wired LAN segments?

I understand I have to purchase the software... Do I need two copies or one?

Thanks.



Done some reading and have some followup questions:

- Does dd-wrt support the Unifi AC? I only see the AP listed; any plans for the AC?

- Can I connect multiple devices behind the second (remote) AP and have their MAC addresses sent across the link (for pfsense rules, dhcp, etc)?

- Seems like WDS does that (sends individual client MAC addresses) but all bandwidth for wireless clients is halved? On both APs? One will be the main AP for all wireless clients, the second will only extend the network for two or three wired clients behind it.

- Client Bridge or Repeater Bridge... Looking at the table here (http://www.dd-wrt.com/wiki/index.php/Repeating_Mode_Comparisons) it looks like one client/one AP solves all problems, but then the remote segment is on a different subnet? Trying to make sense of it all, sorry. Will the Unifi act as a router, in this case (ie does dd-wrt give it routing functionality)?
Sponsor
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17619
Location: Hesse/Germany

PostPosted: Mon May 12, 2014 18:23    Post subject: Reply with quote
-no AC support atm.
-wiki: wds
-wiki: vap

u need 1 licence per unit

_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
tucansam
DD-WRT Novice


Joined: 23 Jul 2012
Posts: 8

PostPosted: Mon May 12, 2014 23:27    Post subject: Reply with quote
Not sure I need VAP... Want everything on the same LAN/VLAN. WDS might work. Any ideas when the UniFi AC might be stable (and provide uplink) with dd-wrt?
Bib
DD-WRT Guru


Joined: 07 Jul 2008
Posts: 629
Location: France

PostPosted: Mon Jun 23, 2014 8:35    Post subject: Reply with quote
I don't know the unify thing.
But another restriction you must be aware before looking on WDS side: can't work with WPA2.
I know (a very little bit more) the original ubiquity devices, and I recently discovered a new wireless mode is available: Client Bridge (Routed).
But I don't know much on this, e.g. what is the fate of end clients MACs in this mode when jumping the wireless link to the gateway or even any host on the main ethernet segment.
As far as I know, this mode like the standard AP<->Client one, won't eat you half the bandwidth as long as you don't use a VAP at Client Bridge (Routed) side.
You don't need a different [sub]net on both side of the wireless link. In my recent trials I got 2 clients in what I call the slave segment. Each got a dhcp lease. The only thing I didn't reach is to have the AP & Client Bridge (Routed) that make the 2 segments wireless link have their own IP dhcp assigned.
Have a look:
Everything is DHCP client (192.168.1.0/24) of the DLS router but specified.
My laptop wireless (wlan0) is linked to my main home wifi.
Note: arp-scan normal behaviour doesn't show my laptop interfaces.
Code:
~$ sudo arp-scan -I wlan0 -B20000 -r1 --localnet
Interface: wlan0, datalink type: EN10MB (Ethernet)
Starting arp-scan 1.8.1 with 256 hosts (http://www.nta-monitor.com/tools/arp-scan/)
192.168.1.6      00:15:6d:da:a2:96   Ubiquiti Networks Inc. #(Actually my Android smartphone, wl linked to 1.230 - see below)
192.168.1.9      00:13:d3:66:70:95   MICRO-STAR INTERNATIONAL CO., LTD. #(Desktop in main segment)
192.168.1.50    00:15:6d:f0:9b:bb   Ubiquiti Networks Inc. #(Master AP in master segment - static IP)
192.168.1.51    00:15:6d:da:a2:96   Ubiquiti Networks Inc. #(Client Bridge (Routed) - static IP)
192.168.1.51    00:15:6d:da:a2:96   Ubiquiti Networks Inc. (DUP: 2) #Mystery
192.168.1.101   00:80:77:34:1b:d7   BROTHER INDUSTRIES, LTD. #(Printer in main segment)
192.168.1.106   00:15:6d:da:a2:96   Ubiquiti Networks Inc. #(old laptop in slave segment)
192.168.1.230   00:15:6d:da:a2:96   Ubiquiti Networks Inc. #(set as Wireless access point in slave segment)
192.168.1.253   00:16:01:84:a3:82   Buffalo Inc. #(Main Wireless Access Point in main segment - see Wiki for WAP setup - I know you know, this is broadcom actually)
192.168.1.254   00:07:cb:91:a3:6f   Freebox SA #(Main DLS router is also THE dhcp server)

10 packets received by filter, 0 packets dropped by kernel
Ending arp-scan 1.8.1: 256 hosts scanned in 131.707 seconds (1.94 hosts/sec). 10 responded


Then, my laptop still being also wired (eth0) into the slave segment at the same time.
Code:
~$ sudo arp-scan -I eth0 -B20000 -r1 --localnet
Interface: eth0, datalink type: EN10MB (Ethernet)
Starting arp-scan 1.8.1 with 256 hosts (http://www.nta-monitor.com/tools/arp-scan/)
192.168.1.6      00:16:d4:9a:24:11   Compal Communications, Inc. #(smartphone in slave segment)
192.168.1.9      00:15:6d:db:a2:96   Ubiquiti Networks Inc. #(Desktop in main segment)
192.168.1.50    00:15:6d:db:a2:96   Ubiquiti Networks Inc. #(Master AP in master segment - static IP)
192.168.1.51    00:15:6d:db:a2:96   Ubiquiti Networks Inc. #(Client Bridge (Routed) - static IP)
192.168.1.51    00:15:6d:db:a2:96   Ubiquiti Networks Inc. (DUP: 2)
192.168.1.101   00:15:6d:db:a2:96   Ubiquiti Networks Inc. #(Printer in main segment)
192.168.1.106   00:0e:35:89:57:9e   Intel Corp # (old laptop in slave segment)
192.168.1.230   00:24:a5:42:7c:20   Buffalo Inc. #(WAP in slave segment)
192.168.1.253   00:15:6d:db:a2:96   Ubiquiti Networks Inc. #(Main WAP in main segment)
192.168.1.254   00:15:6d:db:a2:96   Ubiquiti Networks Inc. #(Main DLS router)

10 packets received by filter, 0 packets dropped by kernel
Ending arp-scan 1.8.1: 256 hosts scanned in 131.703 seconds (1.94 hosts/sec). 10 responded


I believe there is nothing as a wire to gain a really transparent bridge

_________________
): FoReVeR nEwB Sad
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Ubiquiti Devices All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum