Hello everyone!
I have a problem with Debian 12 which has been seriously bothering me for a few days and I really don't know how to solve it and above all I don't understand who is sending the bad information.
Well, let's start working on the latest build of ProxMox! So completely up to date!
My issue is the following:
I create a Debian 12 template VM with cloud-init! I fill in my fields in cloud-init and the network part!
My new VM is created magnificent everything is fine! EXCEPT the network which screws up every time!
By default Debian 12 uses netplan and no longer /etc/network/interfaces (which I liked this one)!
In the config of the 50-cloudinitt...... file of netplan we see that for the gateway part it uses the
gateway4: IP of the gateway
instead of using the
routes:
- on-link: true
to: default
via: STANDARD-GATEWAY OF ACTIVE INTERFACE
So I get errors all the time when I do "netplan apply" and especially if I put a /32 network mask I literally have no traffic at all because the information is missing:
- on-link: true
so that /32 for ipv4 and /128 for ipv6 works!
In summary, who sends the information in the vm? Is it ProxMox? Is it the qcow2 of the image I download? How do we fix this because I'm starting to go crazy! lol
Greetings
I have a problem with Debian 12 which has been seriously bothering me for a few days and I really don't know how to solve it and above all I don't understand who is sending the bad information.
Well, let's start working on the latest build of ProxMox! So completely up to date!
My issue is the following:
I create a Debian 12 template VM with cloud-init! I fill in my fields in cloud-init and the network part!
My new VM is created magnificent everything is fine! EXCEPT the network which screws up every time!
By default Debian 12 uses netplan and no longer /etc/network/interfaces (which I liked this one)!
In the config of the 50-cloudinitt...... file of netplan we see that for the gateway part it uses the
gateway4: IP of the gateway
instead of using the
routes:
- on-link: true
to: default
via: STANDARD-GATEWAY OF ACTIVE INTERFACE
So I get errors all the time when I do "netplan apply" and especially if I put a /32 network mask I literally have no traffic at all because the information is missing:
- on-link: true
so that /32 for ipv4 and /128 for ipv6 works!
In summary, who sends the information in the vm? Is it ProxMox? Is it the qcow2 of the image I download? How do we fix this because I'm starting to go crazy! lol
Greetings
Last edited: