What is the purpose of these IPs when using Host-only Network?

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
zhanming
Posts: 5
Joined: 3. Jan 2023, 10:16

What is the purpose of these IPs when using Host-only Network?

Post by zhanming »

Hello,

I'm using Host-only Network with VirtualBox 7.0.6 on Mac 13.2.

I config two NICs for the VM, the first NIC is NAT(the default one), the second NIC is Host-only Network.

Sometimes I can ssh login the VM from host and the host can also connect to the internet, but sometimes the host can not connect internet after I start the VM.

I thought maybe it's the network change? because I did not shutdown the OS when I take it from one place to another, I just restart the VM?

When I can't connect to the internet, I have to restart the MacOS, and it works.

This is strange.....

I check the network route after the VM started.?

Code: Select all

% network -rn
default            link#19            UCSIg       bridge100      !
50.7.252.138       link#19            UHLWIg      bridge100      !
84.17.53.155       link#19            UHLWIg      bridge100      !
103.195.103.66     link#19            UHLWIg      bridge100      !
104.194.8.134      link#19            UHLWIig     bridge100      !
192.168.56         link#19            UC          bridge100      !
192.168.56.3       x.x.xx.xx.xx.xx    UHLWI       bridge100   1186
Everytime these four Public IPs are there.

50.7.252.138
84.17.53.155
103.195.103.66
104.194.8.134

I am not network specialty, What is the purpose of these IPs?

Why sometimes after start the VM, the host can not connect to the internet?

I am not sure it's the MacOS's issue or the VirtualBox's.
Post Reply