I have 2 VLANs and 2 Devices connected to a HP 2620 switch.
Both port/interface used is untagged and i have assigned an IP to the VLANs as well.
Example
VLAN 50 – 10.1.50.0/24
VLAN 60 – 10.1.60.0/24
Apparently , when i put Device A into VLAN 50 and Device B into VLAN 60 , they are unable to ping each other.
Can someone explain?
Best Answer
Of course they can't ping each other, they are on different network, if you want to do that , you need to create son mechanism that do some kind of routing.
The thing is, without routing, the communication only will be able between PC on the SAME vlan, because vlans divide the space into broadcast domains, in other words, NETWORKS, one vlan means one NETWORK.
On your question, you have 2 networks.
Create one vlan interface 50 with ip 10.1.50.1/24, and one vlan interface 60 with ip 10.1.60.1/24.
Then, one PC on vlan 50, put your gateway on 10.1.50.1, and on the other PC on vlan 60, to 10.1.60.1.
Finally, ACTIVATE IP routing on switch
With that, ping should be succefull.