Hi all,
I am running a Windows 11 VM on my MacBook pro for some Visual C++ development work.
The issue is that I have to switch between Shared and Bridged network frequently during the day to complete basic tasks.
The C++ application I am developing needs to connect to a Docker instance which is running in the MacOS environment for my testing.
I also need to push code changes to a Git repository
And I want to be able to browse the internet and use CoPilot etc.
If I use Shared Networking the I can connect to my Docker and I can push to Git (internal GitLab server) - but I cannot surf the net/use CoPilot or update VS Code exetensions etc.
If I use Bridged Networking I can connect to Docker, surf the Net/use Copilot etc - but cannot push to Git.
I tend to work mostly in Bridged mode - and then have to switch back to Shared mode for Git - but sometimes this does not work unless I restart the VM.
Can anyone suggest why I cannot communicate with the GitLab server in Bridged mode and if there is a possible fix?
Also, is there any clever way of fixing the IP address of the MacBook Host when in Bridged mode - it is one IP address when I WFH (I have configured my home router to provide a fixed IP for the MacBook) and a different one when I go into the office. I use the host IP Address to connect to the Docker instance.
Thanks
I am running a Windows 11 VM on my MacBook pro for some Visual C++ development work.
The issue is that I have to switch between Shared and Bridged network frequently during the day to complete basic tasks.
The C++ application I am developing needs to connect to a Docker instance which is running in the MacOS environment for my testing.
I also need to push code changes to a Git repository
And I want to be able to browse the internet and use CoPilot etc.
If I use Shared Networking the I can connect to my Docker and I can push to Git (internal GitLab server) - but I cannot surf the net/use CoPilot or update VS Code exetensions etc.
If I use Bridged Networking I can connect to Docker, surf the Net/use Copilot etc - but cannot push to Git.
I tend to work mostly in Bridged mode - and then have to switch back to Shared mode for Git - but sometimes this does not work unless I restart the VM.
Can anyone suggest why I cannot communicate with the GitLab server in Bridged mode and if there is a possible fix?
Also, is there any clever way of fixing the IP address of the MacBook Host when in Bridged mode - it is one IP address when I WFH (I have configured my home router to provide a fixed IP for the MacBook) and a different one when I go into the office. I use the host IP Address to connect to the Docker instance.
Thanks