Hello there!
For a project I am undertaking, I am looking into trunking a Cisco RVS 4000 router to my Dlink DGS-1248T switch for and creating two seperate VLANs. I am using the default vlan 1 to serve addresses to the public, which is my .21 network, and then I want a seperate vlan, vlan 2 for my .22 network to be used for a private network.
Currently, I have no vlans and therefore wi-fi and devices connected on the switch are both receiving .21 ip addresses as that is what the LAN connection to the switch on the router is currently set to. My hope is to create a VLAN 2 on both the RVS 4000 and the DGS-1248T, and set up DHCP for vlan 2 on the RVS 4000 to have it serve .22 addresses to the specified ports on the DGS-1248T.
I am using port 1 on both switch and router as the trunk connection between the two devices . For the Cisco RVS 4000, On Port 1, I set the VLAN port setting to trunk, and the vlan membership for vlan 1 to be trunk and untagged, and vlan 2 to be trunked and tagged. On the switch, I kept the default settings for vlan 1 for port 1, and keep it as untagged, remove ports 4-48 from membership, and for vlan 2, I have the settings for port 1 as tagged, and then I have ports 4-48 as untagged members. With these settings, theoretically should I now be able to connect to any port between 4 and 48 and get a .22 address and internet access? If not, then what should I do to make this setup work?
Thanks in advance. I appreciate any help or pointers you can give me, because I'm having a tough time wrapping my head around this.