VM Connectivity Issue in Proxmox2

tincboy

Renowned Member
Apr 13, 2010
466
5
83
I'm trying to start using Proxmox2 in development,
When I create a VM via Proxmox interface it's OK and network is fine, but when I use the command below it's network is not working and VM can't even ping gateway:
Code:
/usr/sbin/qm create 101 --cdrom local:iso/windows.iso --name  srv6426 --net0 rtl8139 --bootdisk ide0 --ostype other --ide0  local:25,format=raw --memory 1024 --onboot no --cores 1

Any suggestion on how to find what's the issue?
 
Is there any difference in the generated configuration file (/etc/pve/qemu-server/<VMID>.conf)?
 
There's very tiny differences:

Working VM:
Code:
bootdisk: ide0
cores: 1
ide0: local:4301/vm-4301-disk-1.raw
ide2: local:iso/windows.iso,media=cdrom
memory: 512
name: workingvm
net0: rtl8139=66:DF:87:51:33:37,bridge=vmbr0
ostype: wxp

Not working one:
Code:
bootdisk: ide0
cores: 1
ide0: local:4347/vm-4347-disk-1.raw
ide2: local:iso/windows.iso,media=cdrom
memory: 512
name: notworking
net0: rtl8139=02:C5:30:4C:C2:92,bridge=vmbr0
onboot: 0
 
Would you please let me know what is the command which Proxmox2 use to create VMs?
 
Would you please let me know what is the command which Proxmox2 use to create VMs?

This is the command. Maybe it helps when you set the correct ostype?

# qm set <VMID> --ostype wxp

(you can also pass that to the create command)
 
fixing OS type didn't help,
The command is:
Code:
/usr/sbin/qm create 4343 --cdrom local:iso/windows.iso --name  srv6426 --net0 rtl8139,bridge=vmbr0 --bootdisk ide0 --ostype other --ide0  local:25,format=raw --memory 1024 --onboot no --cores 1
 
So the configuration file is the same? Then it is more likely that you do something different inside the guest?
 
I'm really confused while their configs are the same one of them has working network and is accessible via it's IP but the second one it not, ( I even swapped the IPs and still the notworking VM is not reachable via network )
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!