[PVE-User] Matching VM-id and routed IP

Alarig Le Lay alarig at grifon.fr
Mon Jul 24 00:52:31 CEST 2017


I’m wondering if there is a way to do some matching between the id of
a VM and it’s routed IP.

The plan is to announce the IPv4’s /32 and IPv6’s /48 of each VM running
on an hypervisor to edge routers with iBGP or OSPF.
Of course, a cluster will be set up, so ID will be unique in the
cluster’s scope.

My basic idea is to have something like dev tap101i0
2a00:5884:8218::/48 dev tap101i0
on the host where VM 101 is running, and doing 'redistribute kernel'
with quagga or bird.

If this feature is not included in promox, is it possible to use the
pmxcfs to achieve this (by example by writing the routed IP in
/etc/pve/nodes/${node}/priv/101-routes.conf) and having some hooks at
the startup/shutdown that will read that file?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20170724/bc77f8a7/attachment.sig>

More information about the pve-user mailing list