cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
763
Views
5
Helpful
2
Replies

I can ping vlan 1 from routers but can not from pc

John wick
Level 1
Level 1

Hi guy,

I have topology below, I can ping to vlan 1: 10.0.0.158/28 from all routers: Core1, core2, R1. But I can't ping to vlan 1 from PC 1 and PC2. both pc1 and pc2 can ping all routers and loopback0.

Below the picture are my configs

Please help me, thank you.

Capture.PNG

SW1:

hostname SW1

!

!

!

!

!

spanning-tree mode pvst

spanning-tree extend system-id

!

interface FastEthernet0/1

!

interface FastEthernet0/2

!

interface FastEthernet0/3

!

interface FastEthernet0/4

!

interface FastEthernet0/5

!

interface FastEthernet0/6

!

interface FastEthernet0/7

!

interface FastEthernet0/8

!

interface FastEthernet0/9

!

interface FastEthernet0/10

!

interface FastEthernet0/11

!

interface FastEthernet0/12

!

interface FastEthernet0/13

!

interface FastEthernet0/14

!

interface FastEthernet0/15

!

interface FastEthernet0/16

!

interface FastEthernet0/17

!

interface FastEthernet0/18

!

interface FastEthernet0/19

!

interface FastEthernet0/20

!

interface FastEthernet0/21

!

interface FastEthernet0/22

!

interface FastEthernet0/23

!

interface FastEthernet0/24

!

interface GigabitEthernet0/1

!

interface GigabitEthernet0/2

!

interface Vlan1

ip address 10.0.0.158 255.255.255.240

!

ip default-gateway 10.0.0.158

!

!

!

!

line con 0

!

line vty 0 4

login

line vty 5 15

login

!

!

!

!

end

 

Core1:

hostname Core1

!

!

!

!

!

!

!

!

no ip cef

no ipv6 cef

!

!

!

!

!

!

!

!

!

!

!

!

spanning-tree mode pvst

!

!

!

!

!

!

interface FastEthernet0/0

ip address 10.0.0.254 255.255.255.224

duplex auto

speed auto

!

interface FastEthernet0/1

ip address 10.0.0.156 255.255.255.240

duplex auto

speed auto

!

interface Vlan1

no ip address

shutdown

!

ip classless

ip route 10.0.0.192 255.255.255.224 10.0.0.155

ip route 10.0.0.160 255.255.255.224 10.0.0.157

!

ip flow-export version 9

!

!

!

!

!

!

!

!

line con 0

!

line aux 0

!

line vty 0 4

login

!

!

!

end

Core2:

hostname Core2

!

!

!

!

!

!

!

!

no ip cef

no ipv6 cef

!

!

!

!

!

!

!

!

!

!

!

!

spanning-tree mode pvst

!

!

!

!

!

!

interface FastEthernet0/0

ip address 10.0.0.222 255.255.255.224

duplex auto

speed auto

!

interface FastEthernet0/1

ip address 10.0.0.155 255.255.255.240

duplex auto

speed auto

!

interface Vlan1

no ip address

shutdown

!

ip classless

ip route 10.0.0.224 255.255.255.224 10.0.0.156

ip route 10.0.0.160 255.255.255.224 10.0.0.157

!

ip flow-export version 9

!

!

!

!

!

!

!

!

line con 0

!

line aux 0

!

line vty 0 4

login

!

!

!

end

R1:

hostname Router

!

!

!

!

!

!

!

!

no ip cef

no ipv6 cef

!

!

!

!

!

!

!

!

!

!

!

!

spanning-tree mode pvst

!

!

!

!

!

!

interface Loopback0

ip address 10.0.0.190 255.255.255.224

!

interface FastEthernet0/0

no ip address

duplex auto

speed auto

shutdown

!

interface FastEthernet0/1

ip address 10.0.0.157 255.255.255.240

duplex auto

speed auto

!

interface Vlan1

no ip address

shutdown

!

ip classless

ip route 10.0.0.224 255.255.255.224 10.0.0.156

ip route 10.0.0.192 255.255.255.224 10.0.0.155

!

ip flow-export version 9

!

!

!

!

!

!

!

!

line con 0

!

line aux 0

!

line vty 0 4

login

!

!

!

end

 

1 Accepted Solution

Accepted Solutions

luis_cordova
VIP Alumni
VIP Alumni

Hi @John wick 

 

Try this change:

SW1

 

interface Vlan1

ip address 10.0.0.158 255.255.255.240

!

ip default-gateway 10.0.0.157

 

Regards

View solution in original post

2 Replies 2

luis_cordova
VIP Alumni
VIP Alumni

Hi @John wick 

 

Try this change:

SW1

 

interface Vlan1

ip address 10.0.0.158 255.255.255.240

!

ip default-gateway 10.0.0.157

 

Regards

it works. Thank you so much!

Review Cisco Networking for a $25 gift card