I am attempting to enable routing on a Catalyst 3750 (EMI) switch. I only need to do static routing, currently routing is entirely disabled.
And the default gateway is set to : 192.168.2.254
The network that is routed to this gateway is 10.10.66.0 and the routing is done through a PIX515E.
Here is a diagram:[192.168.2.254] | | ([192.168.2.1] PIX [10.10.66.1]) | | [10.10.66.0]
This is all done with one switch and two VLANs.
Nodes on the 10.10.66.0 network have 10.10.66.1 as their default gateway. The PIX uses 192.168.2.254 as its default route.
I have another network, 10.10.42.0, that I want to connect to this switch, and allow for IP traffic between 10.10.66.0 and 10.10.42.0.
The 10.10.42.0 network is connected to a Cisco 2960 switch, which is unlinked to the 3750 switch.
I've been pouring over the 3750s Configuration Guide and I think I've figured out the proper sequence of commands to enable this type of routing.
Here are the commands:3750>ip routing 3750>route static 3750>ip route 0.0.0.0 0.0.0.0 10.10.66.1 1 3750>ip route 10.10.42.0 255.255.255.0 10.10.42.3 1
10.10.66.1 and 10.10.42.3 are both ports in VLAN 2.
Will this configuration properly route IP traffic destined for outside networks to 10.10.66.1, IP traffic destined for 10.10.42.0 to 10.10.42.3 and IP traffic destined for 10.10.66.0 to the right node on the switch?