Questions tagged as ['virtual-machines']
I have a VM in Proxmox with an IP (192.168.1.10) coming from a bridge. I have masquerading on to enable it to communicate with my network:
-A POSTROUTING -s 192.168.1.0/24 -o host_inteface -j MASQUERADE
It works great except with this kind of packet:
WOL packets (UDP port 9) on 192.168.0.255
When using termshark I don't see those packets on the host interface, they seem to have disappeared. I see ...
On my host Ubuntu 18.04 I am running two lxc containers using default setups. Containers use Ubuntu 18.04 as well. I have an app running on container1 that offers an https based service on https://localhost:3000/. Container2 is not able to even establish a connection with container1.
Container2 can ping container1 and read the html of the default Apache2 server running on localhost (for container ...
I have a machine installed in Google Cloud VM, I was making the SSH connection here without any problems, but when I wanted to log out and connect again, I started to get no results here.
I stay on the Could not connect, trying screen and when I look at the logs, the output of Updating keys for user and then [UFW BLOCK] catches my attention. Can you help me with this?

So I have my first VM in Proxmox and I know the network works as I have used CT in the past without any issues, however I have set up a VM and now I am having network issues.
Seems while it says the network is connected, I can't ping out to 8.8.8.8
I am wondering how do I know if the network connection is valid in Alma Linux.
basically these are the settings I need.
Address: 124.150.139.3/29
Net ...
Alright so the title may be a little misleading but that's the best I could find.
Here is what I am trying to accomplish:
I am on Windows 11 Pro. I have a virtual machine running Debian 11 on Hyper-V. This machine is running a Docker environment using Traefik as a reverse proxy.
I am developer working on various web projects. I have been trying for some time to set up Traefik as a reverse proxy so I ca ...
How to give each WSL distro a distinct IP address, and then connect to those IP addresses via Windows?
I was curious if its possible to setup two different ubuntu distributions using WSL and somehow assign a unique IP address to each one of them, and then finally to write a winsock program under windows that can commute with each running WSL virtual machine using the IP address assigned to them.
Is ...
I'm using Linux Mint 20.1, kernel 5.4.0 on a Ryzen 5600x with 16gb of ram.
Using VitualBox 6.1 and trying to install SolidWorks 2021 and found the message in the title when adding my license and not being able to proceed.
My database (mysql) server, wich is a VPS, is experimenting disk errors every couple of days. It automatically mounts /dev/sda2 in read-only mode.
I have to connect vía ssh and run fsck /dev/sda2
to correct the errors and then reboot.
The errors that apper are like this:
Inodes that were part of a corrupted orphan linked list found.
Deleted inode 788641 has zero dtime.
Block bitmap differences: -3 ...
I currently have runbooks that stop/start VMs on a schedule but recently the runbook to start vms is stopped because it takes too long to complete. The following message is thrown -
"The job has been stopped because it reached the fair share limit of job execution more than 3 hours. For long-running jobs, it's recommended to use a Hybrid Runbook Worker. Hybrid Runbook Workers don't have a limitation on ho ...
I am new to qemu. I was exploring some commans to setup qemu VM. Can someone please explain why serail ports are required/desired between guest and the host? Also, what does '-serial pty' and -'serial mon:studio' mean?

For some reason I keep getting the error that "DockerDesktopVM" can't be started because a Hyper-V component isn't running, but how do I change that?
I found people adding commands like hypervisor.cpuid.v0
into their vmx
files, but I dont have access to that, but is this really the problem here?
Hyper-V is enabled?
I've tried to follow this guide, but might have missed somthing? https://docs.docker. ...
I have done plenty of digging, but it looks like this may be a shortcoming in Azure. I cannot find a native solution in the Azure portal to tell me when VMs are running low on disk space. What if I want to simply run inventory on my VMs to see how much space is being used on any attached drives? Nope.
For now I am piggy-backing on my 3rd party server monitoring agent for this, but in my situatio ...
I have a VM with single A100 attached. VM created with GCP 'çreate instance' method (Singapore region). The instance was not created with gpu-partition-size=1g.5gb
- NVidia driver v470.57.02
- OS RHEL7.9
- CUDA v11.4.1.
The driver is working because nvidia-smi command gives expected output showing a single GPU ID 0 with 40G memory. I want to now enable MIG feature but executing the command gives error ' ...
I am trying to restrict the applications usage on the VM Windows Server 2019. In Local Group Policy editor (gpedit.msc), i modified the policy, on the left pane, click/tap on to expand User Configuration, Administrative Templates, and System, double click/tap on Run only specified Windows applications to edit it.
We added chrome.exe and firefox.exe here.
After that, on the VM Windows Server 2019, i ...

I'm trying to get my Azure Windows Server VM to connect to my local AD.
I've already created a Site to Site VPN Gateway and connected both the DC (172.16.1.5) and VM (172.16.1.4) and I've confirmed that both can ping each other.
DNS of the VM is set to 172.16.1.5 via Azure Control Panel > Virtual networks > vnet group > vm v-nic > DNS servers
I tried a tracert on the VM but it couldn't reso ...

I have a virtual machine that is running on a KVM+QEMU stack with libvirt. The VM is using a qxl or virtio display and has a spice graphics listening on a port.
I'd like to change the password (in SPICE they call it "ticket") used to access that machine from virt-manager or remote-viewer while the machine is running. The old password should be invalidated immediately and new SPICE connections sho ...
I am a Windows user trying to use Linux for my online server. I am testing a Debian VM running on the Google Cloud. There I installed Node-Red, Apache and mySQL. Every day when I am going to start my testing Node-red is down, the VM, Apache and mySQL are running but for Node-Red I have to open the terminal console and type node-red start.
Assistance welcome.
I'm working on a project where alerts are received each time a VM Instance CPU usage surpasses a certain limit. However, all alerts are transmitted to the whole team. My goal is:
- Manage alerts as for those same alerts to be sent only for the VM Instance's user/s, and not the whole organization.
Could you please tell me if it is possible to do so and, if so, tell me how? Thanks
we have a RHEL 7.6 VM machine , server with 16 GIGA RAM and 8 CPU's
we notices that CPU utilization is high on this server , and also the CPU load average
load average is around - 50 - 60
, and the behavior is like machine most of the time cant access VIA SSH ( like machine is freezes )
therefore we decided to stop all applications on this server , but seems that application isn't part of the proble ...

I noticed that our Windows Server 2019 VMs, hosted on GCP were often hitting 100% CPU usage, which was odd and started to investigate. It seems that there is an array of PowerShell commands that are running repeatedly that are consuming all the CPU.
These commands seem to scan for user objects with certain names so it's either a GCP guard or some sort of worm/virus. I followed these instructions to ...

I want to run a python script that starts by importing a large table of data. I've seen that instead of using the upload option form the SSH panel of the VM I can use the storage bucket and start by uploading the file into there, and then transfer it to my VM directory. However, I didn't get how to transfer (read) the file. What should I do to see the file on my VM when I type 'ls' for example? alternat ...
I have backend applications that I want to put on one subnet and a set of servers that must have access to the internet on the other subnet. The idea is to put the servers within a DMZ. Additionally, all these servers will be separate guest machines within VirtualBox. All the guest hosts are ubuntu as well.

What is the canonical way to use VMware's ovftool
to query to see if a VM exists or not?
If I run this command:
ovftool vi://username@password@myvsphere/mydatacenter/vm/myvm
I might get this response:
Error: Got fault from server: The attempted operation cannot be
performed in the current state (Powered on).
Error: Fault cause: vim.fault.InvalidState
I know I can do the following and then look for
currently I'm deploying a virtualized system and having a problem with forwarding of an udp port. I tried many tutorials, but something must be wrong and I don't know why the connection is refused all the time. Firewall is disabled on all used machines.
My setup is the following:
I have a debian server with kvm, that hosts 2 VMs.
VM1 192.168.122.215/24 at enp1s0 (ubuntu 18.04) VM2 192.168.122.104/24 at ...
Running the jupyter notebook server on port 8888 on the virtual machine. Trying to use port forward to my desktop (running Linux Mint). The server is running on the VM alright, but the port is closed to my desktop. A network sweep gives the following results.
della@clevo-workstation:~$ sudo nmap -sT -O 20.184.1.17
[sudo] password for della:
Starting Nmap 7.80 ( https://nmap.org ) at ...
Create VM instance "instance-1" and its boot disk "instance-1"
Permission denied on 'locations/southamerica-east1-a' (or it may not exist).
I'm working on a Powershell script to create new virtual machines as part of a migration between a Hyper-V server running Hyper-V Server 2012R2 and a new Hyper-V server running Hyper-V Server 2019.
For the virtual machines that have one single virtual switch assigned to them, this script works fine, however, I have some virtual machines that have two switches. For those VM's, I get this message: ...
I'm setting a cluster of servers with ubuntu 16.4 VM's to learn about it. As suggested by some tutorials, I set a static ip for each machine besides DHCP one (2 network interfaces). To achieve that I edited /etc/network/interfaces and added the following config:
# The secondary network interface
auto enp0s8
iface enp0s8 inet static
address 192.168.0.210
netmask 255.255.255.0
network 192.168.0.0
bro ...

Can't connect to Google Server using Remote Desktop Connection in Windows 10. The error is "An internal error has occurred".

We created a VM as a replacement for physical machine with rarely used software on it.
When I tested it I noticed when a second user accesses the VM, the first user is kicked out and sees the message "You have been disconnected because another connection was made to the remote computer". However, on another VM that wasn't set up by me, I'm getting the warning "Another user is signed in. If you continu ...