Switched to dot1q mode and setup as shown below. got internet connectivity on all clients. On the unifi side of the trunk, all the vlans are tagged ( 99 for management and 1001 - 1005). And yet, the connection seems to be bouncing around the different vlans as before. See the screenshot where the mac address of the SG-3100 is shown on the home network? In a few seconds it will rotate to another of the vlans. Not sure why this is happening ... I am hoping folks here who have setup the same trunk with a unifi switch can explain this or help solve it.
Screenshot 2019-07-07 21.45.58.png
Screenshot 2019-07-07 21.46.15.png
Screenshot 2019-07-07 21.47.19.png
Screenshot 2019-07-07 21.48.33.png