×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

Doubts about vlan interface and gateway in 2960

Unanswered Question
Oct 29th, 2010
User Badges:

Hi all ¡¡

In the switch cisco 2960 i can make some interfaces and some vlans.

Without default route i can't ping any interface configured in the switch from hosts configured in different networks logycally....

Why i can ping vlan 2 from diferent networks if the default route its in the network of vlan 1 ?


interface Vlan1
ip address 192.168.1.1 255.255.255.0
!
interface Vlan2
ip address 192.168.2.1 255.255.255.0
!
ip default-gateway 192.168.1.3

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
glen.grant Fri, 10/29/2010 - 05:39
User Badges:
  • Purple, 4500 points or more

   You would have to supply more info, who is actually doing the L3 routing for all these networks ?   While the 2960 can do routing is this where the routing is actually to be done ?   Where is the 2960 connected to?  As long as that device has a static route pointing back into the 2960 with both networks they would be able to get to those networks on the 2960.

extrandubi Fri, 10/29/2010 - 05:47
User Badges:

hi glen.

I add you a pkt file but, its easy. ¿Why its possible vlan interface 2 can answerd a ping from another network if its default route its for another network?

Try to ping 192.168.2.1  from COPY PC3.... IT works...

Afther, look the default route of the switch its not in the 192.168.2.x network...

Actions

This Discussion