07-20-2009 05:44 PM - edited 03-06-2019 06:52 AM
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.
Solved! Go to Solution.
07-20-2009 07:19 PM
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)
07-20-2009 07:24 PM
Actually, that's the latest IOS on such switch.
On the 3524, create the L2 Vlans;
#vlan database
(vlan)#vlan 2 name web_and_mail
(vlan)#vlan 3 name workstation_lan
(vlan)#exit
interface fx/x
description Cisco 2651 Router
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk native vlan 3
On the Cisco 2651 router:
interface fx/x
description connection to Catalyst 3524xl
interface fx/x.2
description Web_and_Mail
encapsulation dot1q 2
ip address x.x.x.x y.y.y.y
interface fx/x.3
description workstation_lan
encapsulation dot1q 3 native
ip address y.y.y.y x.x.x.x
HTH,
__
Edison.
07-20-2009 07:19 PM
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)
07-20-2009 07:24 PM
Actually, that's the latest IOS on such switch.
On the 3524, create the L2 Vlans;
#vlan database
(vlan)#vlan 2 name web_and_mail
(vlan)#vlan 3 name workstation_lan
(vlan)#exit
interface fx/x
description Cisco 2651 Router
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk native vlan 3
On the Cisco 2651 router:
interface fx/x
description connection to Catalyst 3524xl
interface fx/x.2
description Web_and_Mail
encapsulation dot1q 2
ip address x.x.x.x y.y.y.y
interface fx/x.3
description workstation_lan
encapsulation dot1q 3 native
ip address y.y.y.y x.x.x.x
HTH,
__
Edison.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide