Wednesday, August 21, 2019

Same VLAN-ID in different networks?

Maybe you can help me out on my mental blockade: Is it possible for two machines in two different subents to communicate, when they are in the same VLAN?

I just had to VMs on the same portgroup in my vSwitch (so the same VLAN-ID), but they were in different subnets (IP-wise), so they couldn't communicate. After I changed the IP, so they are both on the same subnet, I could finally ping eachother. But why did I have to change the IPs if they are already on the same VLAN (VLAN 1)?

What has priority? VLAN or subnet?



No comments:

Post a Comment