Sorry this will be vague, but basically i believe you would set up the interfaces as trunks and allow the vlans you want to traverse you connection. One would probably use 802.1Q encapsulation / tagging and depending on the ios version, you might also have to declare a native vlan for the vlan tagged traffic to travel on. Also assuming you are using some sort of switch to connect your end points to router, the same would be needed for the connected port to the router say something like switchport mode trunk on the port connected to the router and the workstation port would have something like switchport mode access and switchport access vlanx as part of the configuration for that particular port..
Well this is actually a test situation, I know it’s not recommended, I have configured the first router, and configured the vlans on the router using dot1q encapsulation, what I wanted to know is how to configure the second router to seethe vlans and so the workstation can access those vlans after they come through the second router
I agree with Saturno / Labnuke: You would just basically set-up the same VLANs on both sites – routers switches and the like. With VLAN tagging, the devices would sort through the traffic and funnel it appropriately.
Short answer: set up both “LANs” with identical VLAN info…