Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Catalyst 5000 IOS help

Status
Not open for further replies.

Namekian

IS-IT--Management
Nov 5, 2004
56
US
Here is the problem, I would like to divide my switch up into several vlans, each preferably with a different gateway. The problem is the IOS, it is version 2.1(6) and there doesn't seem to be any accurate information on it anywhere as far as commands, and Cisco is wanting 10x the cost of the switch to supply an update for the IOS. Does anyone remember how this can be done with this version of the IOS?
 
You are looking for CATOS not IOS and i have to admit i have never seen a version that low if it is truly that low . I would think you still should be able to setup vlans even at that low level. If it is indeed catos just issue "set vlan <vlan#> <slot/port> . If the vlans need to talk to each other then you are going to have to have a router to run this to , either trunk one link up to the router or you would have run individual lines for each vlan . If your switch is that low it probably only run ISL for atrunking protocol and you would have to make sure your router could trunk using this protocol.
 
Sorry, it is CATOS, I am use to splitting them up by CAT IOS and Cisco IOS. I can create vlans, but the problem lies in its communication. I don't know how to, if possible, to assign an IP to each vlan, without this ability I can only assign the number of vlans that I have uplinks, and that is two. I also cant, or don't know how, to set up subinterfaces or secondary ips for the interfaces.
The only thing I know that I can do is create static routes, but that doesn't work unless I can create multiple gateways on the interfaces.
Yes, the version is ancient, but I can justify spending $2400 on an upgrade. For that much I can get several more switchs and routers and create my seperation that way.
 
You are going to need a router or a layer 2/3 switch to route your vlans thru . A cat 5000 is a layer 2 device only , so to route multiple vlans off this switch you would need a router or layer2/3 switch that supports trunking to connect this 5000 to , no way around this .
 
I have a Cisco 2620 router so I can route it but that isn't the problem. The switch ports must go through the interface on the switch inorder for it to hit the router. However, I cant seem to set up multiple ip addresses on the interface. The interface assigns the address to a particular vlan, vlan 1 by default. How can I assign an ip to the other vlans so that they can reach the router to be routed?
 
It's possible your router doesn't support trunking , not all of them do and if they do it sometimes requires certain IOS levels and feature sets in order to work . I don't know about the 2620 in particular , you may have to go out to the cisco website and try and find out if this model will support this . If your model does support this you would set up subinterfaces on your fastethernet port on your router in which you would assign an address for each of your vlans and configure trunking for the link . Each subinterface would have 1 address assigned .
 
Exactly, the router can handle all of that. How would I assign the ips to the vlans is what I don't know how to do?
 
The ip address would be on the router which is then connected to the switch . For instance you put say a 160.1.25.254/24 address on the interface on the router that connects to the switch . Your clients on the vlan would then have addresses in the 160.1.25.1- .253 range and you would put the routers address (160.1.25.254) as your default gateway on each client . Not sure if this is what you are asking , if not I'm not sure what information you need .
 
The switch cant automatically detect the router. It has to have an ip in its sc0 interface that is on the same network as the routers interface. For instance if the router port is 192.168.1.1 then the int on the switch would be 192.168.1.2.

The interface assigns that ip to any one particular vlan, but just one. And as far as I know there isn't away to create secondary and or subinterfaces on the switch, so that means that only one vlan will have the ability to talk to the router and beyond.

If you can't reach the router with multiple Vlans, what is the point of having them?
 
The switch will only have 1 address assigned to it and that is strictly for managing the switch . To set the ip address on the switch use the following syntax "set int sc0 XX ip address netmask . XX is the vlan number you would like the management interface to be in . So it would be like the following set interface sc0 192.168.0.1 255.255.255.0 . If you don't put a vlan number in the ip address statement it it will be in vlan 1 as the default. Also you have to set a default gateway to get to the router . The syntax for that would be like "set ip route default 192.168.0.254 or whatever your router interface is . As I said before you can create multiple vlans on the switch but it is a layer 2 device only so you need a router or a layer 2/3 switch that can support trunking . Trunking is a single connection that carries multiple vlans up to the router or layer2/3 switch where the routing is done and you configure your addressing up there . You need a layer3 device that can support trunking to be able to talk between multiple vlans . The address that you put on the switch is for the purpose of being able to telnet to the switch and manage it remotely and has nothing to do with routing anything .
 
I have the router set up for trunking
int fa0/0.1
encap isl 1
ip add 192.168.2.1

How do I set the trunk on the switch?
 
Use "set trunk slot/port on isl <vlan range allowed> . You put the vlan numbers you want allowed on the trunk in the vlan range . You can put a range in there such as 1-10. On the router side you have to create a subinterface for each vlan you want to route just as you have done for vlan 1 . Looks like you are close now .
 
I have turned on the trunking on the ports, I couldn't specify ISL, but with it being rather old I do believe that, that one is there.

However I wasn't able to have it talk to the router. Even vlan 1 wasn't, that is until I placed an ip address in the interface.

set int sc0 (vlan) (add)

with this command I can place whatever vlan I want to talk the router, however I can only do one.

I have even tried some static routing commands, but I don't think the switch handles different subnets like that.

Sorry if I am not making myself clear and that it is taking while, but the only training I have with CATOS is for much newer versions of the software.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top