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.


VLAN 50 - VLAN 60 -

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?

2 Answers 2


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, and one vlan interface 60 with ip

Then, one PC on vlan 50, put your gateway on, and on the other PC on vlan 60, to

Finally, ACTIVATE IP routing on switch

With that, ping should be succefull.

  • From Device A , i can ping Device B Gateway. Device A IP is , able to ping , but not B). Vlan 50 is setup at /24. Vlan 60 is setup at /24. Jul 10, 2016 at 11:28
  • So in example. Device A is at GW While Device B is at GW Jul 10, 2016 at 11:29
  • You need to activate ip routing on switch Jul 10, 2016 at 11:39
  • what do you mean by ip routing? i have ip route to Jul 10, 2016 at 11:42
  • No, that is a default route, you are sending traffic to there, avoid this. You only need to write on the CLI, "ip routing" Jul 10, 2016 at 11:47

make some thing like IP Routing in cisco to activate routing between vlans

  • This answer could and should be improved. You should explain your answer.
    – Ron Maupin
    Jul 10, 2016 at 14:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.