I have a VM install on my desktop PC that works fine for a while, probably roughly 15 minutes and then is no longer reachable. I assume this is some kind of network configuration issue (DHCP?), do you suspect that to be the case and if so, how can I fix it?
I have a tplink AX1800 wifi router I’m using for the home network. OS is W11, VirtualBox.
You would have to provide a bit more details to better understand exactly what is happening, as you dont mention exactly what becomes unreachable (web interface, sip clients cant connect, etc.)
The first thing to check is if you server does indeed have a working network connection, to do this you will have to log into the server console directly and check if your vm has network connectivity.
One of the most common issue is getting locked out due to fail2ban due to bad passwords. If you need it, whitelist a management IP or your local home network to avoid this type of issues.
To check if indeed you are banned by fail2ban do this from the server console: fail2ban-client banned
Running the above command should show you the banned ip and the jails. If your IP is indeed banned you can do fail2ban-client set JAIL unbanip IP_ADDRESS