I bought an AP, router, and switch online so I can have a bit more advanced setup at home. The switch is a tplink sg108pe, which has 8 ports, 4 of them being POE, and a bunch of goodies. The router is an edgerouter x from ubiquiti. I was screwing around with it yesterday and the UI is fantastic. The AP is a ubiquiti uap-lite.
I set up DHCP and vlans on the router yesterday. I didnt set up a routing since its just the one router and switch. Eth0 on the router goes to port 8 of the switch, port 1 on the switch goes to AP, port 7 is my desktop.
Vlans are
20: wireless- 10.0.20.0/24
30: wired- 10.0.30.0/24
i have the ip on the router set to 10.0.0.1 and the switch at 10.0.0.2
DHCP doesnt appear to be working, i have to statically set my addresses
For some reason, I cant get the vlans to work on my switch. There isnt an option(or i dont see it) to set up a trunk from port 8 to the router,
Can you guys help me figure this out, and explain why I am doing what I am doing?
Any help would be appreciated, feel free to ask questions because I amsure I forgot something.