I have a cisco 2651 router and a catalyst 3524XL switch. I am trying to setup the router to act as a router-on-a-stick, using dot1q encapsulation. I want to run 2 vlans currently, one using the IP of the router, and the other using another of my static IPs. I want to host a webserver and mail server on one VLAN and have another vlan for workstations. Any configuration help is greatly appreciated. I have done this before, but with a 3550 switch (which doesn't even need router-on-a-stick) and I can't seem to remember how to set it up again. The IOS on the switch is also a very old version of IOS, 12.0.5. Any help is greatly appreciated. Thanks again.
Actually, that's the latest IOS on such switch.
On the 3524, create the L2 Vlans;
(vlan)#vlan 2 name web_and_mail
(vlan)#vlan 3 name workstation_lan
description Cisco 2651 Router
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk native vlan 3
On the Cisco 2651 router:
description connection to Catalyst 3524xl
encapsulation dot1q 2
ip address x.x.x.x y.y.y.y
encapsulation dot1q 3 native
ip address y.y.y.y x.x.x.x
Grrrrrrrreat. With that old IOS, I have only one question: Does your router have FastEthernet connection?
If the answer is NO, then you can't go any further.
Configuring ISL and 802.1q Trunking Between a CatOS Switch and an External Router (InterVLAN Routing)