Cisco 3750 Switch - inter vlan routing question...

in CCNA & CCENT
Just landed 3 cisco 3750 switches all connected with stackwise cables. Across all the switches I've configured 3 VLANS. Since the 3750 is a layer 2/3 device, no router on stick config is required or additional layer 3 device for that matter. My question is how do we enable routing between these three vlans without running a routing protocol such as rip on the switch. Surely this can be done statically. These routes don't need to be advertised to any other devices.
Thanks to anyone who replies with helpful info...
Thanks to anyone who replies with helpful info...
Matt of England
Comments
-
dtlokee Member Posts: 2,378 ■■■■□□□□□□
Enable IP routing and use the "ip route" command to add your static routes, keep in mind you won't need to add a static route to a directly connected VLAN interface.The only easy day was yesterday! -
Cucumber Member Posts: 192
Also, you must create one SVI (Switch Virtual Interface) per VLAN
I.e. if your 3 VLANs were Vlan1=10.1.1.0/24, Vlan2= 10.1.2.0/24 and Vlan3=10.1.3.0/24
(config)#interface vlan 1
(config-if)#ip address 10.1.1.1 255.255.255.0
(config-if)#no shutdown
(config)#interface vlan 2
(config-if)#ip address 10.1.2.1 255.255.255.0
(config-if)#no shutdown
(config)#interface vlan 3
(config-if)#ip address 10.1.3.1 255.255.255.0
(config-if)#no shutdownI hate pandas -
mattipler Member Posts: 175
thanks it is working now. i already had it set up as shown.
i disabled ip routing and removed the vlan interfaces. then i enabled ip routing and recreated the vlan interfaces and it started working. very strange but probably a mistake in the original config I haven't spotted.
thanks.Matt of England