3 | | The workaround suggested above by shuckc, in fact, works. But I think that, technically, it's a wrong way to solve this issue (to manipulate with the metric of the interface). In my case (which seems to be the most common) the VirtualBox network does not have a gateway (the "Default gateway" property of the interface is empty). Therefore, this network interface must not influence routing of packets that do not directly belong to this private network. It doesn't matter whether metric of the interface is large or not. So, in other words, the line like |
| 3 | The workaround suggested above by shuckc, in fact, works. But I think that, technically, it's a wrong way to solve this issue (to manipulate with the metric of the interface). In my case (which seems to be the most common) the VirtualBox network does not have a gateway (the "Default gateway" property of the interface is empty). Therefore, this network interface must not influence routing of packets that do not directly belong to this private network. It doesn't matter, whether metric of the interface is large or not. So, in other words, the line like |