2 Layer 3 switches (Call them cisco but any layer 3 switch)<\/p>\n
Behind one switch is one VLAN, the other three sit behind the second switch.<\/p>\n
Currently each machine in each VLAN has the VLAN interface IP (of the VLAN interface of the respective switch) as the machine default gateway. Each machine can ping other machines in its own VLAN, but not any of the other VLAN machines?<\/p>\n
Am I misunderstanding something? I thought that if I set the Default Gateway to the VLAN interface IP (of the connected switch), then this should work…<\/p>","upvoteCount":9,"answerCount":13,"datePublished":"2018-03-08T22:52:17.000Z","author":{"@type":"Person","name":"sysadmin104","url":"https://community.spiceworks.com/u/sysadmin104"},"acceptedAnswer":{"@type":"Answer","text":"
You are right to put the default gateway of your hosts as the IP address of the layer 3 switch. I’ll bet that the switch that your using as your default gateway doesn’t have the correct route to the next switch. You can prove this by attempting to ping the gateway (it should work) and then pinging the hop beyond that (the other L3 switch) that shouldn’t work.<\/p>\n
You can also run a traceroute to see where it fails<\/p>","upvoteCount":2,"datePublished":"2018-03-08T23:13:46.000Z","url":"https://community.spiceworks.com/t/probably-basic-networking-question/639314/2","author":{"@type":"Person","name":"Carl-Holzhauer","url":"https://community.spiceworks.com/u/Carl-Holzhauer"}},"suggestedAnswer":[{"@type":"Answer","text":"
I have the following setup:<\/p>\n
4 VLANS<\/p>\n
2 Layer 3 switches (Call them cisco but any layer 3 switch)<\/p>\n
Behind one switch is one VLAN, the other three sit behind the second switch.<\/p>\n
Currently each machine in each VLAN has the VLAN interface IP (of the VLAN interface of the respective switch) as the machine default gateway. Each machine can ping other machines in its own VLAN, but not any of the other VLAN machines?<\/p>\n
Am I misunderstanding something? I thought that if I set the Default Gateway to the VLAN interface IP (of the connected switch), then this should work…<\/p>","upvoteCount":9,"datePublished":"2018-03-08T22:52:17.000Z","url":"https://community.spiceworks.com/t/probably-basic-networking-question/639314/1","author":{"@type":"Person","name":"sysadmin104","url":"https://community.spiceworks.com/u/sysadmin104"}},{"@type":"Answer","text":"
You may be on to something with the route idea, unfortunately it seems as though I’m unable to ping devices located on the same layer 3 switch. Would I put the VLAN IP address for the route ?<\/p>","upvoteCount":0,"datePublished":"2018-03-08T23:30:35.000Z","url":"https://community.spiceworks.com/t/probably-basic-networking-question/639314/3","author":{"@type":"Person","name":"sysadmin104","url":"https://community.spiceworks.com/u/sysadmin104"}},{"@type":"Answer","text":"
… I’m a stooge. The issue wound up being that I hadn’t yet enabled IP routing. Cisco is great in that it allows you to throw an IP scheme into it without ever forcing you to enable IP routing. I had enabled it on my one switch but not the other.<\/p>\n
Always the small stuff, right?<\/p>\n
Although I think at this point I may have uncovered a bit of a Packet Tracer bug… Seems as though now I’m able to ping from all devices to all other devices, great. The only problem is that on certain groups of interfaces (2-7, 8-13, 14-19, 20-24) I’ve entered “Switchport trunk allowed VLAN 10, X” where x is the VLAN of the respective interface. This has failed to separate the traffic though, as I’m still able to ping across all interfaces when I’m trying to separate it.<\/p>","upvoteCount":2,"datePublished":"2018-03-08T23:33:33.000Z","url":"https://community.spiceworks.com/t/probably-basic-networking-question/639314/4","author":{"@type":"Person","name":"sysadmin104","url":"https://community.spiceworks.com/u/sysadmin104"}},{"@type":"Answer","text":"
you have to create ACLs to limit traffic.<\/p>\n
Many switches don’t support ACLs between VLANs, this means you would need to use a real router to provide that separation.<\/p>\n
Also another reason why switches might not have IP routing turned on by default.<\/p>","upvoteCount":0,"datePublished":"2018-03-09T00:35:48.000Z","url":"https://community.spiceworks.com/t/probably-basic-networking-question/639314/5","author":{"@type":"Person","name":"Dashrender","url":"https://community.spiceworks.com/u/Dashrender"}},{"@type":"Answer","text":"
Bear in mind once you have IP routing enabled you can enable/disable routing on a per-vlan interface basis, so you can restrict which vlans are routed if required.<\/p>\n
Bit of a questions as an aside though - if you’re looking for all devices to be able to route to all other vlan’s then what have 4 VLAN’s in the first place? WOuld be easier just to have them all on the same VLAN.<\/p>","upvoteCount":1,"datePublished":"2018-03-09T09:33:28.000Z","url":"https://community.spiceworks.com/t/probably-basic-networking-question/639314/6","author":{"@type":"Person","name":"Kenny8416","url":"https://community.spiceworks.com/u/Kenny8416"}},{"@type":"Answer","text":"