09-24-2025 04:54 AM
Hello,
Very much a novice question, but i am having problems getting traffic to route across vlans on my C1300 switch. I have done the following from both web interface and CLI interface at separate times without success:
Created VLAN 10
Created VLAN 20
Allocated port 2 to VLAN 10
Allocated port 5 to VLAN 20
Created IP Address of 192.168.20.1 /24 for VLAN 10
Created IP Address of 192.168.23.1 /24 for VLAN 20
Enabled IP Routing checkbox
PC on VLAN 10 configured with static IP and Gateway of 192.168.20.1 connected to port 2
PC on VLAN 20 configured with static IP and Gateway of 192.168.23.1 connected to port 5
At this point, i understood (from various online materials i have consulted) that pings between the machines should just work but they don't. I would be most grateful for any pointers as to what i am doing wrong, or any steps i may have missed.
Many thanks
Tim
09-24-2025 05:04 AM
Hi Tim,
first of all, assuming that the subnet mask in your PCs is correctly configured as /24, check your L2 connection to see if works. Try to ping, 192.168.20.1 from the machine connected to port 2 and 192.168.23.1 from the machine connected to port 5.
Regards
09-24-2025 05:29 AM
Hello Alessandro,
Thanks for your response. The PC's can both ping their respective gateway addresses, but cannot ping each other
09-24-2025 05:34 AM
If your PCs are Windows machines, pings between them will not work unless you disable its firewall or modify the default firewall rules to accept traffic from remote subnets.
09-24-2025 06:05 AM - edited 09-24-2025 06:22 AM
Hello Kris,
Thanks, I wasn't aware of this. I have pulled out some other network components to test with, instead of messing about with firewalls, etc.
I picked up a device, set it to have IP address 192.168.20.23 /24, gateway address 192.168.20.1 and connected it to VLAN 10
I left my PC on VLAN 20, with the IP Address 192.168.23.23 /24, gateway address 192.168.23.1
I initially got two successful pings, but nothing since:
If i put both pieces of kit on the same VLAN and subnet, pings are reliable albeit with some inconsistent time figures
EDITED: Ping time issue was ip address conflict. The first device i picked up to test ping with, was set to the same address but also does not respond to pings... accidentally left it connected when i went to find something else to test with.
Thanks for your help
09-24-2025 06:44 AM
So, issue resolved?
BTW, what @KJK99 described if the root problem, Window hosts would be able to ping their GW as their local host FW will allow the GW ping reply.
From a Window host, they should also be able to ping the other VLAN's GW.
From the router, pinging either Window host should fail (again assuming Window's FW is active and blocking unexpected traffic).
I mention the above just to provide another way to confirm a Window's FW issue w/o adding other hosts.
If Window's FW is the problem, don't forget it will, by default, cause other communication issues between the two Windows hosts unless FW disabled or its rules amended.
09-24-2025 05:37 AM
This is my VLAN settings:
Clearly there are a few more VLANS configured than i mentioned, but the problem is the same across all of them so i tried to simplify the question.
Port allocations:
This is the IPV4 page:
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