[SOLVED] Proxmox 7.1-12 need the PCNET LAN for a Telephone VM

mx-738

Member
Apr 14, 2022
13
0
6
Hello,

i have a ready to use VM for a PBX Telefon System. For this VM i need a AMD NIC: Am79C970A PCnet-PCI II Single-Chip Full-Duplex Ethernet Controller
In the Post https://forum.proxmox.com/threads/add-custom-virtual-nic-device-in-vm-container.35439/ it's written that i can add

args: -net nic,model=pcnet
balloon: 0

then the VM should work.

I made this, but when i start the VM i got this error:

kvm: -device VGA,id=vga,bus=pci.0,addr=0x2: PCI: slot 2 function 0 not available for VGA, in use by pcnet
TASK ERROR: start failed: QEMU exited with code 1


Is the Version 7.1-12 still support the PCNET ethernet card?
If not, is it possible to add it?
If not, is the Version 6.x support the PCNET ethernet card?
 
Hi leesteken,

thank you for this information. With the addr=0x16 the VM starts.
How can i map this PCNET NIC to my vmbr0?
 
How can i map this PCNET NIC to my vmbr0?
I don't know how that works, sorry.
When I use qm showcmd 100 for a VM (with number 100), with a single virtio network device net0, it ouputs something like:
-netdev 'type=tap,id=net0,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on' -device 'virtio-net-pci,mac=52:54:56:01:00:00,netdev=net0,bus=pci.0,addr=0x12,id=net0'.
It's not clear to me how that connects to a bridge like vmbr0. Probably the Perl scripts in /var/lib/qemu-server/ read the VM configuration file.
Maybe you can do something like that for your virtual PCNET and write you own scripts to connect to the right bridge?
 
Alternatively, you might get away with adding a virtio net0 device and then just change net0: virtio=52:54:56:01:00:00,bridge=vmbr0 to net0: pcnet=52:54:56:01:00:00,bridge=vmbr0. This won't be supported by Proxmox or the web GUI, but it appears to just work. Then you won't need the args: ... at all.
 
net0: pcnet=52:54:56:01:00:00,bridge=vmbr0
That looks great, as i can see the system recieve an IP address, so it sould work.
I have to check it with the phone company, to see if it works right. but everything looks fine for the moment.

Thank you a lot, great support.
 
net0: pcnet=52:54:56:01:00:00,bridge=vmbr0
That looks great, as i can see the system recieve an IP address, so it sould work.
I have to check it with the phone company, to see if it works right. but everything looks fine for the moment.

Thank you a lot, great support.
Hi! Sorry for revive this post, i`ve done that and Interface go UP...ish, but not working, no ping in or out. This is REdHat 3 VM with 2.4 Kernel, so its OLD.
Any ideas? thanks!
 

Attachments

  • Captura desde 2024-11-25 14-45-52.png
    Captura desde 2024-11-25 14-45-52.png
    40.2 KB · Views: 2
  • Captura desde 2024-11-25 14-44-03.png
    Captura desde 2024-11-25 14-44-03.png
    117.8 KB · Views: 2
  • Captura desde 2024-11-25 14-42-44.png
    Captura desde 2024-11-25 14-42-44.png
    90.2 KB · Views: 2

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!