Not seeing the enp0s8 IP after configuring Host Network Manager

Hello Team,

Virtual Box related

I have created a new Host Network Manager with the IP 192.168.38.1/24. The base laptop got the IP, but the VMs are not getting the IP in enp0s8 interface after configuring it in Adapter 2.

But if I attach the Adapter 1 to Host Network Manager with the IP 192.168.38.1/24 in the VMs then I can see the IP of the VMs in the enp0s3 interface.

Thanks
Avik

sudo vim /etc/sysconfig/network-scripts/ifcfg-emp0s8

And set the ONBOOT to yes

ONBOOT=yes