04-14-2020 09:59 AM - edited 04-14-2020 10:05 AM
Hello Cisco community,
I am having a problem with pinging between PCs, i have created my VLANs and assigned IPs and Gateways and done intervlan routing and everything seems right, yet when i ping it always gets timed out. if someone could help me with this i'd highly appreciate it. or just guide me on where i should look to fix it.
Solved! Go to Solution.
04-15-2020 05:58 AM
Hello,
I deleted the port security and reapplied it, I have full connectivity (see file attached). I am not sure in which order you entered the commands, my order was:
switchport port-security
switchport port-security maximum 2
switchport port-security mac-address sticky
switchport port-security violation protect
04-14-2020 10:22 AM
What are the passwords for the devices ?
04-14-2020 10:25 AM
sorry, first mode is cisco second mode is project
04-14-2020 10:49 AM
Hello,
there are numerous issues with your setup:
1. You need to create subinterfaces on GigabitEthernet0/0 on the router that match your Vlans. This is required in order to have inter-Vlan routing
2. The IP address spaces of Vlan 70 and 60 were overlapping, as were the IP address spaces of Vlan 10 and 30
3. The switches need a default gateway
Find attached the corrected, working file that should provide end to end connectivty. That said, some of your switches are missing passwords, you might want to add those, for security reasons.
04-14-2020 10:56 AM
04-14-2020 11:26 AM
Hello,
your main switch looks misconfigured. At the very least, the interface connected to the router, GigabitEthernet0/1, needs to be a trunk. What are you trying to accomplish, what are the requirements ?
Is the file I sent working ?
04-14-2020 12:16 PM
04-14-2020 12:29 PM
Hello,
I did some testing, simply configuring port security on the switch ports does not break connecivity. It is one of the additional commands that does that, my guess is that it is the sticky mac address you have configured. Try and add the additional lines one by one to find out which one is the culprit...
04-14-2020 01:40 PM
what do you mean by adding additional lines?which lines?
i tried - no switchport port-security mac-address sticky
in order to add the mac-addresses one by one (which is what i initially understood from your comment)
but that doesn't seem to be doing anything because the addresses are still there, i get a duplicate address message
04-14-2020 02:22 PM
Hello,
is port security a requirement ? Just configure the ports with 'switchport port-security' and nothing else, that should still allow for full connectivity...
04-15-2020 05:10 AM
04-15-2020 05:58 AM
Hello,
I deleted the port security and reapplied it, I have full connectivity (see file attached). I am not sure in which order you entered the commands, my order was:
switchport port-security
switchport port-security maximum 2
switchport port-security mac-address sticky
switchport port-security violation protect
04-15-2020 07:17 AM
Sir thank you so much, I have checked the new file you sent and it works.
I really appreciate your help and time
was that the only change you made? because I'm really interested in knowing why mine didn't work.
07-14-2021 01:18 AM
I tried the port security delete and Retry But that Had no effect.. The problem ended up being that even though I corrected the IP address, An IP address that I had tried before was still in the "show running config" memory .. You need to go in to the CLI and remove the old IP addresses ( "no ip address 1xx-xxx-xxx") from memory ..Even if you change them on interface hey're still there the running config and it gets confused.. You must do it from the CLI.. Good luck.
08-07-2024 03:00 AM
Just give erase command and then reload command on the router and then say no to restore previous commands and then re configure the router and then routing after that you can use it as the problem arises due to overloading.
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