cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
255
Views
2
Helpful
6
Replies

Inter VLAN Routing C1300

TimDavies
Level 1
Level 1

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

6 Replies 6

alessandro.s
Level 3
Level 3

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

Hello Alessandro,

Thanks for your response. The PC's can both ping their respective gateway addresses, but cannot ping each other

KJK99
Level 3
Level 3

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.

Kris K

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:

TimDavies_0-1758718843816.png 

TimDavies_1-1758718875261.png

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

 

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.

TimDavies
Level 1
Level 1

This is my VLAN settings:

TimDavies_0-1758717177575.png

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:

TimDavies_2-1758717430341.png

 

This is the IPV4 page:

TimDavies_1-1758717244355.png