Multipass Networking, how do I bridge from Network to Network?

Started by kalpana, Nov 01, 2023, 05:21 AM

Previous topic - Next topic

kalpana

Please bare with me as I am new to this!

I have a few multipass VM's running on Ubuntu 20.04 LTS and want to make this machine headless and control everything from Mac OS X.

my main network is 192.168.178.0

I can ssh to the Ubuntu Server on the same network 192.168.178.0 and run the multpass shell command to do Command-line admin but I want to use other tools on my Mac OS X.

My question is how can I configure to go directly to the 192.168.122.0 network from my Mac on network 192.168.178.0 or other hosts on the network?

I want to use JetBrains tools such as DataGrip to administer a Postgres DB and want to be able to have a browser to have access to the VM's and any software deployed.

My UBUNTU VM's:

Name State IPv4 Image
db-server Running 192.168.122.207 Ubuntu 20.04 LTS


I also have a microK8s cluster with 3 nodes:


node1 Running 192.168.122.176 Ubuntu 20.04 LTS
10.1.166.128

node2 Running 192.168.122.55 Ubuntu 20.04 LTS
10.1.104.0

node3 Running 192.168.122.97 Ubuntu 20.04 LTS
10.1.135.0

How would I configure network to access the web portal to manage microK8s from the Mac OSX?


The reason I set this up is to learn DEVOPs, Kubernetes, docker and containers.

Would I be better off using OpenShift or sticking with the above?

I also have Microsoft Remote Desktop on the Mac to connect remotely to the Ubuntu server, I could also install the JetBrains Dev products on the Ubuntu server and remote to dev locally but that just feels wrong. I should be able to have all admin tools local and be able to connect to any VM's.