Cisco – Configuring subnet access on a Cisco 2960

cisconetworkingroutingvmware-esx

Greetings,

I want to configure a 24-port Cisco Catalyist 2960 to perform as follows:

  1. Four ports going to a SAN
    • Four ports going to four ESX servers for iSCSI storage traffic
    • Four ports going to the four ESX servers for management traffic (the vmware stuff)
    • Four ports for linking two of these switches together.
  • The switch's management address is 10.10.0.1 (255.0.0.0)
  • The ESX service-console has been setup as 10.20.30.1 and hooked into Gi0/11

Requirement 1 and 2 seem okay – we've put that on a separate VLAN (10):

interface range Gi0/1 - 10
  description Storage
  switchport access vlan 10

Requirement 4 seems okay – we've set those up as a trunk:

interface range Gi0/21 - 24
  description Uplink
  channel-group 1 mode active

The switch-ports for #3 have been setup as their own VLAN to isolate the VM traffic.

interface range Gi0/11 - 20
  description ESX
  switchport access vlan 20

My problem is that the switch can't ping 10.20.30.1 at all. Do I need to setup routing? My ESX console is on the default VLAN (i.e. I've not specified it in the setup), and the laptop I'm using to terminal in to the switch is also on VLAN 1.

Best Answer

You will need to implement some method of InterVLAN Routing to route between the different vlans in your scenario. However, due to the utilization of 2960 Switches you won't have the capability of implementing "ip routing" and configuration of SVIs for a Default Gateway for each subnet. One solution is to implement "Router on a Stick" utilizing a separate Layer 3 Router or Switch to handle the IP Routing and SVIs for each vlan/subnet. The traffic will then be trunked out of the 2960 to the MLS Switch or Router and will be returned over the same trunk port. This isn't the best method has it greatly reduces your throughput due the single interface. You will need to determine wether the amount of throughput is acceptable for your design. If not, I would recommend you upgrade to the 3560G or 3750G switches which would be capable of routing your Layer 3 traffic between subnets.

Also, in your VMWare ESX Configuration, is the Service Console dedicated to a specific eth interface, or do you have it connected to a VSwitch being tagged with a specific vlan id? You'll want to make sure that if you are trunking to that port that you configure the tagging of the Service Console to the requested vlan id, or you implement "switchport trunk native vlan xx" with xx being the vlan you wish the Service Console traffic to be in.