01-16-2025 08:54 PM - edited 01-17-2025 04:18 AM
Hello, im having problem with pinging among the devices with the multilayer switch. All the devices (PC, Router and Server) are able to ping among each other, but when any of the device try to ping to multilayer switch, then it show failed or no functional port.
Solved! Go to Solution.
01-16-2025 11:21 PM
Hello @anonymoushe ,
I looked at your topology and the two multilayer switch configurations and they are lacking the configuration for the Vlan interfaces you are using.
I see that you are using multiple vlans in your topology and in order to be able to ping from a PC that is in vlan 5 for example, on the switch you have to have configured an interface vlan 5 with an IP address from the subnet assigned to vlan 5.
HTH
01-16-2025 11:32 PM - edited 01-16-2025 11:44 PM
you must have SVI- switch virtual interface- on L3 switch (or routed port but not sure if PT support it). if u run show run u will see missing IP and no shut on SVI vlan1:
interface Vlan1
no ip address
this SVI is a gateway for anyother end device on the same vlan x. Mulitlayer switch can have several SVIs, 1 per each vlan x; where vlan 1 is a default one. when any traffic that comes on vlan 1 via access port in vlan 1 will reach switch interface in vlan 1 and move to all other ports in the same vlan id if needed; when u ping the switch itself, SVI of that vlan will respond with reply ping. if u ping a device in other vlan, mulitlayer switch will do re-routing via SVIs similarly to what router does.
Also, u need to add ip routing command on to allow L3 routing
Regards, ML
**Please Rate All Helpful Responses **
01-16-2025 11:21 PM
Hello @anonymoushe ,
I looked at your topology and the two multilayer switch configurations and they are lacking the configuration for the Vlan interfaces you are using.
I see that you are using multiple vlans in your topology and in order to be able to ping from a PC that is in vlan 5 for example, on the switch you have to have configured an interface vlan 5 with an IP address from the subnet assigned to vlan 5.
HTH
01-17-2025 02:41 AM
hello may i have the example? i should assign the ip for each int used in the multilayer switch or for int vlan id? what should the ip assigned be like?
01-17-2025 03:53 AM
According to your topology, I see that Vlan 1 is assigned subnet 212.21.2.0/24, plan 2 is assigned subnet 212.21.2.0/24 and so on.
You would have to configure something like this:
interface vlan 1
ip address 212.21.1.1 255.255.255.0
interface vlan 2
ip address 212.21.2.2 255.255.255.0
interface vlan 3
ip address 212.21.3.3 255.255.255.0
The example is for the Multilayer switch 1 - the top one - and based on the default gateways configured on the hosts connected in this switch.
01-17-2025 04:05 AM
Are you pretty new to networking? I ask, because from the issues the other replies have noted and your follow up questions, it seems you might be.
There's nothing wrong with being new and lacking much basic knowledge, as we too all were at some point, but understanding your knowledge level helps up provide information that will, hopefully, assist your learning.
A SVI (switch virtual interface) is assigned much like any other host address for the relevant subnet. If it's being used as a gateway address, it's often the lowest or highest address host address the subnet provides, but it can be any possible subnet host address.
A "virtual" interface is not attached to any physical interface but it behaves much like a physical port if the switch, as a host, had a physical attachment to the subnet.
Although a SVI doesn't need to be used as a gateway, i.e. interface that allows traffic to and from other networks, that's its most common usage.
If the subnet was 192.168.1.0/24, again a SVI could use .1..254, but if being used as a gateway, often either .1 or .254 will be used.
01-16-2025 11:32 PM - edited 01-16-2025 11:44 PM
you must have SVI- switch virtual interface- on L3 switch (or routed port but not sure if PT support it). if u run show run u will see missing IP and no shut on SVI vlan1:
interface Vlan1
no ip address
this SVI is a gateway for anyother end device on the same vlan x. Mulitlayer switch can have several SVIs, 1 per each vlan x; where vlan 1 is a default one. when any traffic that comes on vlan 1 via access port in vlan 1 will reach switch interface in vlan 1 and move to all other ports in the same vlan id if needed; when u ping the switch itself, SVI of that vlan will respond with reply ping. if u ping a device in other vlan, mulitlayer switch will do re-routing via SVIs similarly to what router does.
Also, u need to add ip routing command on to allow L3 routing
Regards, ML
**Please Rate All Helpful Responses **
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