cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
929
Views
5
Helpful
4
Replies

Intervlan routing WS-C2960S-24PS

Hi all,

Good Morning.

 

I am in a little project for a client, it is about connecting 2 different networks, there is the case.

 

Problem / facts

 

  • Network 10.200.50.x.x cannot reach network 192.168.x.x
  • All the switches are Factory Default Configuration, except 2960 that has and an administrative IP address.
  • The client wants to have access to the web client on each camera on network 192.168.x.x
  • Also the switches cisco SG-200 are factory default, they just have and administrative IP Address.
  • The client can access the IP camera by reaching the Recording Servers connected to BOTH, 10.200.X.X network and 192.168.x.x network, those servers have two networks cards, and both configured to reach both segments.

 

  • The only way the client can access the video is by entering to the administrative appliance on the recorder servers, from that application, the server can see cameras on 192.168.x.x network.

 

Proposed solution.

 

Inter-vlan routing

  1. Configure 2960 to have vlan 10 and vlan 20 addressing.
  2. Assign ports to the corresponding vlan 10
  3. On the trunk port for vlan 20.
    1. ¿Since this port only can reach 192.168.x.x network, can it be access port on vlan 2
  4. Configure port on SG-200 to tag the frames for vlan 20.
  5. On conf terminal, write the command “IP Routing”.

 

Questions.

1.- Does my switch supports  the “IP Routing command” (it is necessary?)?

2.- It is necessary to configure ports on SG-200 to tag the frames for vlan 20? (I think right now they are everyone on vlan 1)

3.- Does my switch supports more than 2 SVI’s?

 

Example:

interface Vlan10

 ip address 10.200.50.220 255.255.254.0

!

interface Vlan20

 ip address 192.168.190.254 255.255.255.0

 

#show vlan brief

VLAN Name                             Status    Ports

---- -------------------------------- --------- -------------------------------

1    default                          active    Gi1/0/1, Gi1/0/2….

2    CAMARAS                          active    Gi1/0/23 (The “trunk” one).

(Conf t)#interface GigabitEthernet1/0/23

(Conf if)#switchport  mode access

(Conf if)#switchport access vlan 20

(Conf if)#spanning-tree portfast

 

What could be the routing?

I attach the physical topology for this case, I hope you would help me.

Thank you in advance.

Juan

:)

1 Accepted Solution

Accepted Solutions

Did you enable the lanbase-routing-template? Without that, you can't enable ip routing:

switch(config)#sdm prefer lanbase-routing

And yes, these devices support ip routing. I even use it on older 2960 switches.

View solution in original post

4 Replies 4

glen.grant
VIP Alumni
VIP Alumni

   I believe the switch has to be at a certain revision before it will support ip routing. See this page  http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960/software/release/12-2_55_se/configuration/guide/scg_2960/swipstatrout.html

Some people say that it does not support IP Routing command, some people says it does..

Look at this reference.

 

https://supportforums.cisco.com/discussion/11343751/can-2960-switch-support-ip-routing

They guy in that link was able to enter the command #ip routing, for intervlan routing.

 

I have the IOS version,

c2960s-universalk9-mz.122-55.SE7.bin

 

that entered Cisco features navigation, http://tools.cisco.com/ITDIT/CFN/jsp/SearchBySoftware.jsp

It says the image has IP Routing feature.

 

but I entered to global configuration exec mode to attempt to deploy the command, and the switch did not accept it.

 

 



SW2960S_CORE(config)#ip routing       ?
Global IP configuration subcommands:
  access-list           Named access-list
  accounting-list       Select hosts for which IP accounting information is kept
  accounting-threshold  Sets the maximum number of accounting entries
  accounting-transits   Sets the maximum number of transit entries
  address-pool          Specify default IP address pooling mechanism
  admission             Network Admission Control (NAC)
  alias                 Alias an IP address to a TCP port
  arp                   IP ARP global configuration
  arp                   IP Arp features
  auth-proxy            Authentication Proxy
  default-gateway       Specify default gateway (if not routing IP)
  device                Device tracking
  dhcp                  Configure DHCP server and relay parameters
  dhcp-client           Configure parameters for DHCP client operation
  dhcp-server           Specify address of DHCP server to use
  domain                IP DNS Resolver
  domain-list           Domain name to complete unqualified host names.
  domain-lookup         Enable IP Domain Name System hostname translation
  domain-name           Define the default domain name
  finger                finger server
  ftp                   FTP configuration commands
  gdp                   Router discovery mechanism
  gratuitous-arps       Generate gratuitous ARPs for PPP/SLIP peer addresses
  host                  Add an entry to the ip hostname table
  host-routing          Enable host-based routing (proxy ARP and redirect)
  hp-host               Enable the HP proxy probe service
  http                  HTTP server configuration
  icmp                  ICMP options
  igmp                  IGMP global configuration
  local                 Specify local options
  name-server           Specify address of name server to use
  options               IP Options treatment
  port-map              Port to application mapping (PAM) configuration commands
  radius                RADIUS configuration commands
  rcmd                  Rcmd commands
  reflexive-list        Reflexive access list
  scp                   Scp commands
  security              Specify system wide security information
  sla                   IP Service Level Agreement
  source                IP source
  source-route          Process packets with source routing header options
  ssh                   Configure ssh options
  sticky-arp            Allow the creation of sticky ARP entries
  subnet-zero           Allow 'subnet zero' subnets
  tacacs                TACACS configuration commands
  tcp                   Global TCP parameters
  telnet                Specify telnet options
  tftp                  tftp configuration commands


Can someone verify with this exact model of switch verify if ip routing command is valid?

Thank you.

 

 

 

 

Did you enable the lanbase-routing-template? Without that, you can't enable ip routing:

switch(config)#sdm prefer lanbase-routing

And yes, these devices support ip routing. I even use it on older 2960 switches.

Thank you!

It actually worked, I created some SVI interfaces after resetting the router.

Review Cisco Networking for a $25 gift card