Router on a stick - Adding VLANs to a cisco router
Telnet to your cisco router, enable then go into config t. Passwords may be required depending on how it has been configured…
en
config t
Ensure that ip routing has been enabled…
ip routing
To create the VLAN adapter you’ll need to run the following commands to create a “router on a stick”… Note: the .2 after the interface name creates a virtual adapter on the interface.
interface FastEthernet1/1.2 description “VM Host Network” encapsulation dot1Q 2 ip address 172.25.2.1 255.255.255.0