05-24-2023 12:52 PM - last edited on 06-07-2023 11:43 AM by Translator
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.
Solved! Go to Solution.
05-25-2023 05:42 AM - last edited on 06-07-2023 12:06 PM by Translator
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
05-24-2023 01:35 PM - last edited on 06-07-2023 11:58 AM by Translator
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
05-24-2023 02:10 PM - last edited on 06-07-2023 11:52 AM by Translator
05-24-2023 02:29 PM
Good job
Can you ping now? I will look the file later
05-24-2023 02:32 PM
No I can't ping at the switches at all. I only can ping the L3 switches.
05-24-2023 02:36 PM - last edited on 06-07-2023 11:21 AM by Translator
Are You trying to piing from the Access switch? Does the switch have IP address and
default-gateway
?
05-24-2023 02:59 PM - last edited on 06-07-2023 11:51 AM by Translator
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.
05-24-2023 03:11 PM - edited 05-24-2023 03:12 PM
Ok. The interface between access switch and distribution is in trunk? If has to be.
Both sides
Thid is probably the problem now.
05-24-2023 03:22 PM
Yes, between my switches and distribution are in trunk, bc I use multiple VLANs in my network.
05-24-2023 03:26 PM - last edited on 06-07-2023 11:50 AM by Translator
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
05-24-2023 03:29 PM
05-24-2023 03:54 PM - last edited on 06-07-2023 11:49 AM by Translator
05-24-2023 04:31 PM - last edited on 06-07-2023 11:38 AM by Translator
Thx, but I can't ping
SW-01 and SW-02
and the CORE routers. All the rest I can ping and SSH in.
05-24-2023 04:54 PM - last edited on 06-07-2023 11:34 AM by Translator
Sw01 and sw02
you need to add the
vlan1
in all trunk and after that,
Int vlan 1
No shut
You did this?
05-24-2023 04:59 PM - last edited on 06-07-2023 11:34 AM by Translator
Yes I did that to
SW-01 and SW-02
but still can't ping
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide