Virtual Box Host Network Ipaddress

Hello all,
I am having some trouble getting my host machine to display the host network IP address.
When I create the host network in virtual box, I configured the IP address 192.168.56.1.

When I run ifconfig on the host machine, I do not see any IP address of the vboxnet0 adapter.

Any help would be great!

Thanks,
Ryan

This is the specific point of the lecture I am having issues with.

I believe I solved this - but if someone could confirm & explain why this worked…

After creating the host network, I assigned the host network to my virtual machine.
Then after running ifconfig on the host, the IP address was displayed.

Run nmcli con and check if the interface (enp0s3/enp0s8) is connected or disconnected.

If the interface is connected, run nmcli con up enp0s3 to bring it back up.

If the interface is disconnected, you need to add the interface as Ethernet connection in nmtui and activate it. I followed this link - https://bit.ly/3JhpT9e

Great to have it works , thanks for sharing your experience.

I have the exact same issue - I ran ‘nmcli con’ and saw that it is indeed connected, I followed the steps in the link but still nothing. I still can’t see the IP address of the vboxnet0 adapter (I can’t see it at all).

I’d appreciate any kind of help!