cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1126
Views
0
Helpful
3
Replies

Doubts about vlan interface and gateway in 2960

ciscolover
Level 1
Level 1

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

3 Replies 3

glen.grant
VIP Alumni
VIP Alumni

   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.

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...

Anyone ? Thanks¡¡