You are here

VLAN Issues

11 posts / 0 new
Last post
KE6MTO
VLAN Issues
I just got a NSM5 node, which is my first. I have the software upgraded and can communicate with it via the LAN. When I configure my switches to trunk VLAN 1 and 2 with the device it just doesn't work. I've tried with two different switches, one being a Cisco 2950 with the config posted on the forum. Both sides on the TX I see traffic going out but on both sides see nothing on the RX.  Is there any way to test the VLANs on the node side? I've tested the switches with each other and they will trunk the VLAN's without issue. A bit lost why the node isn't communicating via the VLANs.

I'm running code version 3.16.1.0 on the node.

Chris
KG6JEI
XM or XW NSM5?
XM or XW NSM5?
KE6MTO
XW
It's a XW...

Chris
KG6JEI
VLAN 1 and 2 are on the
VLAN 1 and 2 are on the secondary port on XW NanoStations and LAN is on the Primary.

Make sure you connected to the second port for these uplinks.
KE6MTO
Will give that a shot
Ok, I will give that a shot. When looking at the interfaces on the NSM5, it looked like they all were on eth0 (IE: eth0, eth0.1 and eth0.2).

One recommendation would be set these as the default but for the WAN and DtD have options for changing the VLAN IDs. Say on the page with the IP settings, have an option to for the VLAN with the default value but can be changed. On the same token, for the XW NSM5, having an option for which port the WAN and DtD are on would be great. I have a PoE device on the tower that will now have to use 2 ports vs. 1 to provide all the needed connections to the device. 

Chris
KG6JEI
Yes the XW and XM hardware is
Yes the XW and XM hardware is significantly different internally.  This is a hardware/driver limitation and at this time can not be changed because of how the hardware is internally laid out (Technical Details: Can't have tagged vlans and untagged networks on same port on XW)

As for being able to change the VLAN, I can say the whole point of the DtDLink,  is that you plug ANY mesh node into another mesh node and it just works, this design for emcomm deployments requires that this not be changeable for reliable "plug and play" interop, I can't see this being made a configuration paramater to adjust anytime soon because of the mandatory requirement for "just plug the DtDLink ports together and it works."
KE6MTO
Understood
Ok, that makes sense. Maybe have an option to bring the LAN out eth2 tagged too?

Just setup my switch for eth2 and now getting an IP address on the WAN interface.

Chris
KX5DX
I posted the Cisco switch
I posted the Cisco switch configs a while back. Let me know if you need help.

Carlos
 
KE6MTO
XW Version
Didn't realize the XW needed the 2nd NIC connected, so I have that resolved. Was using the Cisco switch as a test bed to ensure I didn't have a VLAN1 issue with my other switch/router. Hope this weekend to start working on split DNS, sending mesh.local requests to the node and anything else to public DNS servers. Couple that with some routing and firewall rules, I should be able to setup my home laptop to get to either public internet or the mesh network and keep the traffic separate. At the same time keep the other devices on my local network from accessing the mesh.

Chris
K5DLQ
K5DLQ's picture
the setup i have works really
the setup i have works really well.

Laptop connected via switch (LAN port of a node). 
That node also has internet access (via VLAN1 on the switch).
Internet gateway option is NOT enabled (not required for the "node" to have internet access.

So, from my laptop, if i want to access mesh resources, i simply use the mesh names (ie.  k5dlq-blah.local.mesh).
If i want internet resources, i use www.whatever.com
It's seamless. 

The only drawback is that my internet traffic has to route thru my node before being forwarded to my home internet, but, one extra hop is barely noticeable.


 
AE6XE
AE6XE's picture
Ditto.   And no part 97 RF
Ditto.   And no part 97 RF rules were harmed in the making of this story.   All internet traffic on cat5 cables.

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer