Question : Vlan Routing

How to configure inter-routing between Vlans on core catalyst switch 4500?

Answer : Vlan Routing

Yes, you can use a 4500 series switch as a router as well.  This is one of the many Cisco Layer 3 switches.  The 4500 is a little more complex in that it is a modular switch and the "brain" of the switch is determined by what "SUP" module is installed.  I would take a guess that you are using a SUP V.

What was said earlier is completely accurate, but I will expound on this a little bit for you.

You normally know a switch to be a "layer 2" device, meaning that it is dealing with mac addresses and therefore not doing any routing.  Over the past several years vendors have managed to increase the capabilities of your standard "layer 2" switch to take on the basic functionality of an ethernet router as well.  Some of these switching platforms include Cisco 3550, 3560, 3750, 4000, 4500, 4948, and of course the 6500 series switches.  Matter of fact the default interface config on a 6500 series switch is that of a routed port versus a switchport!  

Now that you have a little bit of history we can focus on your issue at hand.

You have a Cisco Catalyst 4500 series switch and you want it to be able to route traffic between VLANs for you.  The first thing you will have to do is make sure all the VLANs that you want are configured in the switch.  You can accomplish this manually by setting your switch to

vtp mode transparent

or you can accomplish this by configuring your switch to become a vtp client/server.  

vtp mode (client/server)

You will now have to create a Switch Virtual Interface (SVI) for each VLAN that you wish the 4500 to route for.  You will do this exactly as stated in the previous post.

config t
!
ip routing
!(enables the switch to perform layer 3 functions. Inter-vlan routing between the configured SVIs below)
!
interface vlan 10 (just for example)
 ip address 192.168.1.1 255.255.255.0 (this will be the default gateway for the machines in this VLAN)
 ip helper 172.16.1.254 (this is the address of the DHCP server | statement only needed if using DHCP)
 no shut
!
interface vlan 20 (etc...)
 ip address x.x.x.x "enter appropriate subnet mask"
 ip helper "ip address"
 no shut
!
!In order to have the switch also route to external devices like a router that provides the LAN with
!internet access you need to configure a gateway of last resort.
!
ip route 0.0.0.0 0.0.0.0 "ip address of router"
!
! This will take care of sending traffic out for any networks it doesn't know directly.
! In order for the router to know what networks are on the LAN you can either configure static routes pointing to the 4500 for each subnet or you can configure a dynamic routing protocol.
!
! On the 4500 if you decide to use a routing protocol I would recommend using either RIP or if all your routing devices are Cisco you could also use EIGRP.  OSPF is a choice, but if you are not familiar with it stick to RIP or EIGRP.
!
! If you use RIP.

conf t
!
router rip
version 2
redistribute connected
end
!
!If you use EIGRP
!
router eigrp "autonomous system number"
redistribute connected
end
!
Keep in mind that if you decide to use a routing protocol you need to have it configured on your router as well.  Do not use "redistribute connected" on the routers setup unless you are absolutely sure that you should.  
!
! Keep in mind that this is very generalized and should not be considered an engineering solution, but rather a theoretical guide as to one way you could set up inter-VLAN routing on a layer 3 switch.
Random Solutions  
 
programming4us programming4us