Virtualbox doesn't open when network is changed?

When I come to my office network from home network or the reverse of it, and assume my VM in virtualbox is connected to internet, the problem that occurs is that the VM doesn't open at all. It just shows black screen. Generally this gets fixed by changing the mac address like shown below. But this is really hampering my mood. I need to learn kubernetes, docker and for that I need multiple Virtual Machines and you know the issue. This issue also occurs when there are multiple VMs in bridged adapter mode. Same is found in NATTed mode. I need internet in VMs that is why I can't use host only adapter. I'm yet to find concrete reason behind this as this can happen even on same network as well.

image