One of the few problems of using UBNT gear for Broadband Hamnet is that there is only one Ethernet port available. With the Linksys WRT54G, we had a WAN port to connect to the internet, and four LAN ports to connect to peripheral devices such as computers, printers VOIP phones etc. Fortunately for us, by using an Ethernet Switch with 802.1Q VLAN capability we are able to duplicate and even improve on the ports available for us to use.
The instructions below are specific to a Netgear GS108E switch. Netgear also makes a GS105E and the GS116E switch that are similar. Other manufactures also make suitable switches and the basic concepts below should be applicable to those as well.
This setup is for two BBHN Ubiquiti Nodes. The nodes are connected back-to-back and both nodes have internet access. The 1st node has three LAN ports available, the 2nd node has two LAN ports available.
The ports of the switch are used as follows:
Port 1 Internet into the switch
Port 2 Connected to the 1st Node
Port 3 Node 1 Lan Port A
Port 4 Node 1 Lan Port B
Port 5 Node 1 Lan Port C
Port 6 Connected to the 2nd Node
Port 7 Node 2 Lan Port A
Port 8 Node 2 Lan Port B
I have set up 4 VLANs:
2 Back-to-Back Linking
10 Node 1 LAN
20 Node 2 LAN
Below is a screen shot of the top level configuration.
VLAN 1 is used to identify the internet connection into a UBNT node. The input from the internet is untagged and the ports that the Nodes attach to are tagged.
VLAN 2 carries the back-to-back linking information between the two nodes. Nodes that are to be connected back-to-back have the ports they plug into tagged.
Setting up LAN ports for a node is done by creating another VLAN and adding the node and the desired ports to that VLAN. For Node 1, I am using VLAN 10, for Node 2 I am using VLAN 20.
The PVID are set as
If you do not need as many LAN ports, you can support a third Node. This would require adding a VLAN 30.
The basic concept would be:
If you need more LAN Ports, then delete VLAN 2 and VLAN 20 and add Ports 6, 7 and 8 to VLAN 10 as Untagged. It would look like:
I hope this helps to get your Network up and running.