Guest interface visible on the host level

Astaoth

Member
Aug 31, 2021
14
0
6
54
Hi guys,

When creating a VM or a CT, their network interface aren't directly visible on the host level. I mean, some interfaces are created on the host level but don't have the same MAC addresses than the guests and have no IP addresses.

Is there a way to get the guest interfaces on the host level, with their IP adresses ?
 
If you want to see the VM's traffic you can already run tcpdump on the tap interface for the VM (or the bridge).

The IP configuration should be available in the GUI when the qemu-guest-agent is running. The MAC address can be read from the config file in /etc/pve/nodes/*/qemu-server/*.conf.
 
I'm aware I can get this info from the gui or with Proxmox config files. But a process or a routing table, for example, can't.
My question is more related to have this available on the host level, for having the host system aware of them.
 
Last edited:
That would break any form of virtualization, making virtualization useless in the first place.
What exactly would you want to achieve with this? Do you want to monitor traffic?
 
For keeping it short, I would like to assign public IP addresses to VM from my AS pool, route the traffic to the correct VM in a dynamic maner (meaning if the VM is migrated to an other node I don't need to rewrite routes, so static hand made routes aren't good), being able to announce this routes to my infra with iBGP, and being able to assign adresses ending with .0 or .255 (I can't simply route traffic for the /24, that would exclude this adresses).

Having VM interfaces directly exposed to the host with their adresses would have permit me to do this with the Bird2 "direct" protocol, but I get that's not something we do with VM. I guess one lead will be to dig into EVPN with a BGP controler ?
 

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!