You are here

VLAN Setup for Ubiquiti AirRouterHP ?

20 posts / 0 new
Last post
n4ldr
VLAN Setup for Ubiquiti AirRouterHP ?

Anyone have a some information for setting up the Air Router HP VLAN ?
Using the WiFi to provide WAN.
Seems every switch has to be completely different.

73 N4LDR
K5DLQ
K5DLQ's picture
Do you mean installing AREDN
Do you mean installing AREDN on it?  If so, once you install the 3.16.1.0b01 firmware:
the PoE is the WAN port
port 4 is DTD
ports 1-3 are LAN
K6AH
K6AH's picture
Pre-configured
We've pre-configured the switch ports as follows: 1-3 LAN, 4 DtD, and WAN as labeled.

Andre
n4ldr
Was looking for setting it up
Was looking for setting it up as a Managed Switch / router.

Will try installing AREDN on it.  I assume the setup is similar to other nodes ?
Default ip ? 192.168.1.20 accessed from WAN port ?

 
K6AH
K6AH's picture
Yep.  You got it right.  BTW,

Yep.  You got it right.  BTW, the AirRouter HP version will connect from the desktop in my home office to a hilltop node I have 3-4 miles away.
 

k1ky
k1ky's picture
Air Router VLAN port Reassignments
I would like to add more than one external DTD port to my Air Router HP.  It looks like the file /etc/aredn.include/swconfig may be the controlling file.  Is there any documentation about changing this and what the port numbers map to?  I see that the DTD article on the Linksys devices has been updated and gives a great description of how those numbers map to the actual ports on the device.  Would be nice if we had something similar for the Air Router.  Suggestions?
wa2ise
wa2ise's picture
Looks like that is the file

Looks like that is the file to modify (make a backup first).  To make port 3 become another DtD port add 2t to make it option ports '0t 1t 2t' to the line under option vlan '2', and remove 2 from the line under option vlan '0' to make it option ports '0t 3 4".   Save it, then via the browser page "setip" save it and then reboot and it should do it.  Worked for me, a SW newbie...  smiley

KG4IKT
Lightening took out my port 4
Lightening took out my port 4, but now I also have port 3 as DtD. Thanks, Jeff.
KG6JEI
The "approved" method is to
The "approved" method is to just add an unmanaged switch plugged into the AirRouter DTDLink port and fan it out to more devices that way.
K5DLQ
K5DLQ's picture
this is what I do.  I just
this is what I do.  I just use a cheap 10/100MB switch.  cascade it to the DTDLink port.  Then, I have as many DTDlink ports as on the dumb switch.
 
wa2ise
wa2ise's picture
I've had problems with such a

I've had problems with such a switch on just the DtD cables losing the DtD connections.  So far, using two ports on my air router (as described in my post above) as DtDs works better. 
Opened up the switch, a Netgear FS608v3, and sure enough it uses a Realtek chip RTL82095B.   Seems Realtek chips have problems maintaining an ethernet connection to the on-board switch when ports are being used in both a tagged and untagged mode.  Source: http://www.broadband-hamnet.org/documentation/202-dtd-linking-on-linksys.html   Is everything on the DtD link tagged? 

KG6JEI
If that is the case I would
If that is the case I would strongly suggest opening a ticket so that the issue can be resolved, or if unresolvable the team can look to how to provide better alternatives and document the failure scenario.
wa2ise
wa2ise's picture
I tried to do a ticket, but I
I tried to do a ticket, but I couldn't figure out how to do "field product must be set" at http://bloodhound.aredn.org/newticket#ticket
 
KG6JEI
Weird, never saw that,  try
wa2ise
wa2ise's picture
Without the switch, I still

Without the switch, I still had connections on my DtD links drop.  So maybe the switch isn't the problem...  Presently my system consists of a Bullet M2, a Netgear GS108Ev3, an AirRouter HP M2 (with a 2nd DtD link added), and a NanoStation Loco M900 with a Netgear GS105E.  All their DtD ports are connected together (via the pair of DtD ports on the AirRouter), and all the WANs are connected to my home network's router.  I also have an IP camera DLink DCS-1100 connected to the Air Router's LAN.  I also have a pair of Linksys WRT54Gs in the house, but those are connected only by RF links, but they are also connected to the house router via their LANs (DHCP disabled).  They also have a DtD link between them, but not to the Ubiquiti's.  Everything has a few services on them, small web pages. 

Rebooting the Bullet didn't clear the problem, but the problem did clear after I then rebooted the NanoStation.  I don't know if only rebooting the NanoStation would have done it.  In the past, power cycling the GS108Ev2 would fix it (when I was using the switch with the Realtek chip in it). 

As a new test, I created a 2nd vlan2 port on my GS105E (the one that feeds the NanoStation) to connect the Bullet M2 to.  The other vlan2 port now goes to the DtD port 4 of the AirRouter.  Maybe the Airrouter doesn't like having two DtDs on it? 

AE6XE
AE6XE's picture
When you added the 2nd
When you added the 2nd DtDlink port on the airRouter, you might need to remove it from being part of the LAN at the same time.   We keep finding problems that the internal switches do not work when doing tagged and untagged on the same port.   ...hence why the NS M5 XW has DtDlink/WAN only on the secondary port.
wa2ise
wa2ise's picture
I think I did just that. 

I think I did just that.  Here is the modified swconfig file:

Image Attachments: 
wa2ise
wa2ise's picture
"As a new test, I created a

"As a new test, I created a 2nd vlan2 port on my GS105E (the one that feeds the NanoStation) to connect the Bullet M2 to.  The other vlan2 port now goes to the DtD port 4 of the AirRouter.  Maybe the Airrouter doesn't like having two DtDs on it? "

That wasn't it.  Tried rebooting the Airrouter, nope, The Nanostation, nope, the Bullet, nope. I rebooted the GS105E and that got the connections reestablished.  Maybe rebooting this tickled the GS108Ev3 into reestablishing the DtD link?.  Okay maybe the GS108Ev3 isn't good for serving both the Bullet's DtD, LAN and WANs along with unrelated computers also connected to WAN ports. I used the Netgear switch to split off these WANs (placed between the house router and the GS108Ev3) so the GS108Ev3 doesn't have to feed computers tied to the WAN.  The Netgear switch is now handling them, and the GS108Ev2 does not now see them.  The GS108Ev3 now only handles the Bullet's WAN,LAN and the DtD.

I'm trying to systemically narrow down to the root cause.  By trial and error, takes a while.  I've done validation at various jobs I've had, and trying to change one variable at a time...

KG6JEI
Were starting to get off
Were starting to get off topic of this thread, a new thread would be better so everyone subscribed to this one doesn't get updates that are not related to the original post.

That said sounds like you have configuration issues going on in your environment. I've used isolated networks with mesh nodes on the same switch (v2 however) and not had any issues at all.
AE6XE
AE6XE's picture
K1KY,  Check out this link.
K1KY,  Check out this link.  gives hardware port to internal logical port number used in the config files:

https://wiki.openwrt.org/toh/ubiquiti/airrouter 

Joe AE6XE

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer