To my understanding, in order to communicate between VMs (VM1 VM2) the gateway address should be also defined. It should correspond to the address of the host machine (192.168.56.1). However, in my case if this option is set, I am not able to connect to the Internet, while communication between different VMs is possible.