cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2354
Views
7
Helpful
17
Replies

Cannot ping from one network to another when using two switches

undercloud
Level 1
Level 1

Hello,
I am trying to ping from network 192.168.0.0 to network 172.162.0.0 with no success. It relates to an exercise, for a back-up network connection. does anyone have any idea why I can't ping from one network to another? Thank you

PC1: Network 192.168.0.0 vlan 10

interface FastEthernet0/1
switch port access vlan 10

interface Gigabit Ethernet0/1
switch port trunk allowed vlan 10
switch port mode trunk
!
interface Gigabit Ethernet0/2
!
interface Vlan1
no ip address
shutdown
!
interface Vlan10
ip address 192.168.0.1 255.255.255.0

PC2: Network 172.162.0.0 vlan 20

interface FastEthernet0/1

switchport access vlan 20

interface GigabitEthernet0/1

switchport trunk allowed vlan 20

switchport mode trunk

!

interface GigabitEthernet0/2

!

interface Vlan1

no ip address

shutdown

!

interface Vlan20

ip address 172.162.0.1 255.255.0.0

 

afb1.png

17 Replies 17

thanks, i did as you said and it works with just the same vlan on the 2960 switch to ping

I run lab using the SW model you mention and as @Martin L  suggest before you need to change the SW this SW not support L3 (can not config ip routing on it) and this cut the inter-vlan. 
so lab can not done as you like with this SW.

thanks for your help both, it worked now

Review Cisco Networking for a $25 gift card