07-06-2023 10:50 AM - edited 07-06-2023 10:51 AM
Hi guys, I have a basic and a silly question. I have an old catalyst switch and I want to connect these 2 switches together. One of them will be used as core and the second will be used as acces sw. Normally I do it on new switches easily. Now on this old catalyst, for instance I create 3 vlans and 1 management vlan to manage switches. Everything is fine, clients get IP from DHCP on both switches. But I cannot access to second switch via management ip. I set ip routing , ip default gateway, trunk is fine etc. done everything but couldnt access it. What is the best practice for accessing other switches from an IP address through Web server or SSH?
Physical example is at the attachment.
Thank you so much in advance, sorry for this silly question.
07-06-2023 10:58 AM - edited 07-06-2023 10:59 AM
Hello @bkyuksel,
Does the core and access switch ping each other with their vlan 100 IP ?
Access switch has got IP default Gw to the Core IP vlan 100 ?
The trunk between Core and Access has got vlan 100 ?
07-06-2023 11:02 AM
In new switches, I define native vlan 100 to the trunk port and from the access switch to same port I define vlan 1 (set management ip from vlan 100) and no spanning tree vlan 100,1 and also ip default gw and ip routing. thats it. but in these switches, I shouldnt use vlan 1. so I created vlan 100 on both switches and defined different SVIs. core sw vlan 100 is 192.168.100.1/24 and access sw vlan 100 is 192.168.100.20/24 and from access sw I can ping 192.168.100.1 but cannot reach 192.168.100.20 from anywhere
07-06-2023 10:59 AM
Sure you can
telent to SW1 and from there telnet to SW2
it simple try it sure you will success
07-06-2023 11:07 AM
I tried almost everything but couldnt. that was so weird, tomorrow I will try it again. If you have any ideas, it is always good hear it
07-06-2023 11:21 AM
I will check something about source IP of telnet from SW1 to SW2
Share update today night
07-06-2023 02:46 PM
you can attach your pt file here but it must be in a zip format
check if SVI are up up; check vlans are presents; check trunk ports, turn ip routing on,
Regards, ML
**Please Rate All Helpful Responses **
07-06-2023 03:53 PM
Hello @bkyuksel
If this is physical device, you should try add default route instead the command default-gateway.
conf t
ip route 0.0.0.0 0.0.0.0 <management ip address core switch>
07-06-2023 05:19 PM
as I mention
it easy
I access SW1 via VLAN20 SVI
then I access SW2 via VLAN1 using VLAN1SVI of SW1 as source interface
that it
no complicate routing need here
07-07-2023 12:18 AM
It works now. thank you guys. I did nothing but the same like yesterday, probably missed some point.
07-07-2023 01:15 AM
You are so welcome
Have a nice weekend
MHM
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