Cisco 2921 Router
Netgear GS752TXS Switch. Tags data with either Vlan1 (192.168.1.0/24) or Vlan2 (192.168.2.0/24) depending on mac address.
I want the cisco router to perform inter-vlan routing. The switch and the router will be connected with one cable on one interface.
I created sub-interfaces for the two VLANs on the router (Gi0/0.1) and (Gi0/0.2) and enabled dot1q encapsulation.
On the switch side if it were cisco, I would do:
switchport trunk encapsulation dot1q
switchport mode trunk
How do I do this on a netgear switch?