Could not reboot VM with vagrant reload

Hello everyone,

I am new to Vagrant. So, I am using this to learn. I am using Vagrant 2.3.1, VirtualBox 6.1 and Linux Ubuntu 22.04 box.

I wanted to change my VM’s network configuration from NAT to DHCP.
I added the line in the attachment to my Vagrantfile to set my VM’s IP address with DHCP so the hosted web server on my VM would be reachable from outside. Then when I tried to reboot my VM, vagrant reload wouldn’t work and gave the error in the second attachment. What can I do please?

Thank you.

Adeola