cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1522
Views
1
Helpful
35
Replies

Unable to ping my switches and routers for SSH

Student HoGent
Level 1
Level 1

I am new to cisco, and I got a project for school. I have to make a small office.
I got a couple of problems that I would like to solve.

1. I gave my switches and routers a IP on

VLAN 1

but I can only ping one switch

(L3-SW-01)

All the rest i can't ping.
2. I have also to do SSH on my switches and routers. But only my IT department has to do it. And this is in VLAN 60.

All the passwords on the switches and routers are: robbie

Here is the network file.

Thanks in advance.

1 Accepted Solution

Accepted Solutions

Take a look now. 

Remembering you are not going to ping the routers on

vlan 1

anything else should be pinging. 

I did the static routing in the way as if one switch crashs, the route will be send to the next one so you will see some configuration like

ip route 0.0.0.0 0.0.0.0 192.168.125.210

ip route 0.0.0.0 0.0.0.0 192.168.125.218 2

The 2 in front of the ip route command tells the device to send the packet to another destination in case it can not send to the first destination

 

View solution in original post

35 Replies 35

 Hi

 I will show you what is one of your problem and you try to fix it. 

You have no communication between your distributions switch. That because the Port-channel between them was blocked by

spanning-tree

That´s why you can ping one switch but not the other from the PC IT

If you look at the switch  SW-05, it is the root for the

 Vlan1

As root, both its ports remain UP and then, the Distribution has not option but shutdown Port-channel 1. 

 To fix this, you need that the Distribution and not the access be the Root for

vlan 1

Do some research in how do you change the root bridge for one vlan. 

Let me know once you get this fixed and we can see what else is wrong. 

 

SW-05#sh spanning-tree vlan 1

VLAN0001

Spanning tree enabled protocol ieee

Root ID Priority 32769

Address 0001.C78C.5CCB

This bridge is the root

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec




Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)

Address 0001.C78C.5CCB

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Aging Time 20




Interface Role Sts Cost Prio.Nbr Type

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

Fa0/1 Desg FWD 19 128.1 P2p

Fa0/2 Desg FWD 19 128.2 P2p

Thx for the fast response.

I fix the problem in the spanning tree. Now

 L3-SW-01

is the root for

VLAN 1

 

Good job

 Can you ping now? I will look the file later

No I can't ping at the switches at all. I only can ping the L3 switches.

Are You trying to piing from the Access switch? Does the switch have IP address and

default-gateway

?

I have tried pinging from the PC and from the acces switches. All the switches/routers have a IP address, I forgot the

default gateway

I just set the

default gateway

up for all the switches and routers.

But I see now that on the Acces Switches

VLAN 1

up is but the line protocol is down. And this is not in the case with my L3 Switches. But I don't know how to set this to up.

Ok. The interface between access switch and distribution is in trunk? If has to be.

Both sides

Thid is probably the problem now. 

Yes, between my switches and distribution are in trunk, bc I use multiple VLANs in my network.

Then

vlan 1

should be up up.

I will take a look on the file, must be something simple. Give me 5 minutes.

 Attach your lastest file here please

Here is the latest file

Hi

 You need to do two things. Add the

 vlan 1

on the trunk everywhere and then no shut on the

 vlan 1

This file I am attaching the PC IT is pinging the access switches

Thx, but I can't ping

SW-01 and SW-02

and the CORE routers. All the rest I can ping and SSH in. 

Sw01 and sw02

you need to add the

vlan1

in all trunk and after  that,

Int vlan 1

 No shut

You did this?

Yes I did that to

SW-01 and SW-02

but still can't ping

Review Cisco Networking products for a $25 gift card