You are here

Ubiquiti node not obtaining DHCP lease

12 posts / 0 new
Last post
K7DXS
Ubiquiti node not obtaining DHCP lease
I'm trying to use an Ubiquiti node as a mesh gateway, but the nodes just don't get a DHCP lease. I've tried both a Rocket and Nanostation (both M2) and neither gets a lease. I plug my laptop in and it works fine. Any ideas?
KG6JEI
This sounds like you may not
This sounds like you may not have configured your smart switch correctly to handle vlan mapping for the WAN port.
K5DLQ
K5DLQ's picture
Yes.  Sounds like your
Yes.  Sounds like your external switch isn't configured properly.  Here's a page that describes the VLAN's that we use in AREDN:   http://www.aredn.org/content/device-device-linking-dtdlink
 
K7DXS
I don't have a smart switch.
I don't have a smart switch. Is that required to use these as gateway nodes?
K5DLQ
K5DLQ's picture
yes.  see the link i posted
yes.  see the link i posted for more details
K7DXS
I just did. I've seen that
I just did. I've seen that before. However I still fail to see what DtDLinking has to do with this. Why am I able to use a Linksys node as a gateway without buying extra hardware, but not an Ubiquiti? Would it be possible to get this to work by modifying /etc/vlan?
K5DLQ
K5DLQ's picture
it's not dtdlinking that is

it's not dtdlinking that is providing it, but, it is vlan1 (this is the virtual WAN port).  Since most Ubiquiti devices only have a single ethernet, then virtual lans (vlans) must be used.  If you want a high-quality equivalent of the linksys, then you can look at the Ubiquiti AirRouter.  This device has a dedicated WAN port, dedicated DTDLink port, and 3 LAN ports.  It is supported in our 3.16.1.0b01 firmware.

They have a 600mw radio in them (the HP version), powered by PoE, 32MB storage, 8MB memory, can be upgraded over the air, and can be used on Part97 only frequencies (ch -2).

The lower power unit is around $40  -  http://amzn.com/B004EFLMAE
and the high power unit is around $60 - http://amzn.com/B007ZJ8KLA

 

k1ky
k1ky's picture
Air Router is the answer
Obtain an AirRouter HP - it is capable of WAN Gateway access with AREDN 3.16 Beta01 installed.  $57.35 including shipping from Amazon and EBay.  You get one DTD port and 3 LAN ports for attaching computers, cameras and the like.  It can be changed to support more DTD ports.  No Muss, No Fuss!

I'm using one as a Tunnel Server and another one as a Tunnel Client.  I recently took one to our local EMA office and it was able to punch through the County network without any changes... Plug and Play!

So far, it's much easier than getting another Switch.  It is basically a Linksys WRT54G on steroids!
 
k1ky
k1ky's picture
Oh Yeah - and it has a WAN and USB port too! - AirRouter HP

Forgot to mention the built-in WAN port and a USB port on the AirRouter HP .  What Darryl said above!  I've got two more of the HP units arriving today plus an AR just to try.  Unless you really need to pinch pennies, spend the few extra bucks on the HP model, otherwise the AR would suffice to get started, but it doesn't have POE, External antenna port and I don't know if it has a USB port or not.

I look forward to USB support for shared file storage.

 

K7DXS
/etc/vlan
Would it be possible to dedicate a port on a Nanostation or Rocket using /etc/vlan like you can on Linksys nodes?
K5DLQ
K5DLQ's picture
since Rockets only have one

since Rockets only have one physical port, no.
Nanostations do have two physical ports and there is an open enhancement request for this feature:  http://bloodhound.aredn.org/products/AREDN/ticket/56
However, the workaround is to simply use a $30-$40 external vlan capable switch, in the interim.  it's fairly trivial to setup the vlan switch.

<my_opinion>I think working to add additional support for XW hardware should be priority over this, since the WAN access has a solution (in VLANs) and there is no workaround for expanded XW hardware support today.</my_opinion>


 

K7DXS
If so, do I need to create
If so, do I need to create /etc/vlan myself? Because it doesn't exist on my node.

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer