[GH-ISSUE #111] IPAM + VM Configuration #77

Closed
opened 2026-02-26 17:31:16 +03:00 by kerem · 13 comments
Owner

Originally created by @wajwuz on GitHub (Aug 16, 2024).
Original GitHub issue: https://github.com/ConvoyPanel/panel/issues/111

Is there an existing feature request for this?

  • I have searched the existing issues before opening this feature request.

Describe the feature you would like to see.

Support for IP's over DHCP (MAC address), MTU setting for VM's.

Describe the solution you'd like.

Convoy doesn't support IP's over MAC address from DHCP network also if someone is tunnelling his IP's he might have lower MTU than 1500 but Convoy overwrites this even VM template has all this setup correctly.

Additional context to this request.

No response

Originally created by @wajwuz on GitHub (Aug 16, 2024). Original GitHub issue: https://github.com/ConvoyPanel/panel/issues/111 ### Is there an existing feature request for this? - [X] I have searched the existing issues before opening this feature request. ### Describe the feature you would like to see. Support for IP's over DHCP (MAC address), MTU setting for VM's. ### Describe the solution you'd like. Convoy doesn't support IP's over MAC address from DHCP network also if someone is tunnelling his IP's he might have lower MTU than 1500 but Convoy overwrites this even VM template has all this setup correctly. ### Additional context to this request. _No response_
kerem 2026-02-26 17:31:16 +03:00
Author
Owner

@ericwang401 commented on GitHub (Oct 10, 2024):

I can make it so that Convoy doesn't override configuration, but you're going to have to elaborate about support for IPs over DHCP. It's not clear whether it is possible through Proxmox's API to do this.

<!-- gh-comment-id:2405510852 --> @ericwang401 commented on GitHub (Oct 10, 2024): I can make it so that Convoy doesn't override configuration, but you're going to have to elaborate about support for IPs over DHCP. It's not clear whether it is possible through Proxmox's API to do this.
Author
Owner

@wajwuz commented on GitHub (Oct 10, 2024):

I think adding option MTU while adding node would be great and when it's empty it will use default value 1500.

And here's the option I talked about:

  • First is "Bandwidth limit" which is rate in PVE
    Screenshot 2024-10-10 at 9 53 57 PM

  • Second is "MTU" which convoy overwrite by default and I had to manually change the code.
    ^ Screenshot above

  • Third is "Setting only MAC address on IPAM". Currently we need to provide: IP, GW, CIDR which we can replace by MAC addresses with DHCP. And this is because Netplan on Ubuntu doesn't like gateways outside the subnet of allocated IP, for example: 1.2.3.4/32 and gw: 4.3.2.1. Maybe there should be and DHCP option with -- input MAC address
    Screenshot 2024-10-10 at 9 51 48 PM

Also I found this:
Screenshot 2024-10-10 at 9 52 02 PM

Which can be located at PVE API: https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/qemu POST

<!-- gh-comment-id:2405929731 --> @wajwuz commented on GitHub (Oct 10, 2024): I think adding option MTU while adding node would be great and when it's empty it will use default value 1500. And here's the option I talked about: - First is "Bandwidth limit" which is rate in PVE <img width="781" alt="Screenshot 2024-10-10 at 9 53 57 PM" src="https://github.com/user-attachments/assets/02acee25-b423-4a0a-8ca7-b2a5493d6f65"> - Second is "MTU" which convoy overwrite by default and I had to manually change the code. ^ Screenshot above - Third is "Setting only MAC address on IPAM". Currently we need to provide: IP, GW, CIDR which we can replace by MAC addresses with DHCP. And this is because Netplan on Ubuntu doesn't like gateways outside the subnet of allocated IP, for example: 1.2.3.4/32 and gw: 4.3.2.1. Maybe there should be and DHCP option with -- input MAC address <img width="577" alt="Screenshot 2024-10-10 at 9 51 48 PM" src="https://github.com/user-attachments/assets/ba6c2837-ab9e-463f-a0d1-ae88b50144d7"> Also I found this: <img width="1709" alt="Screenshot 2024-10-10 at 9 52 02 PM" src="https://github.com/user-attachments/assets/34a0b626-7533-4f2a-ac73-eecab1ab74c2"> Which can be located at PVE API: https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/qemu POST
Author
Owner

@ericwang401 commented on GitHub (Nov 17, 2024):

Should MTU be set depending on the network interface or should all VMs in a node have the same MTU? I'm looking for what's the best way to implement this.

<!-- gh-comment-id:2481539738 --> @ericwang401 commented on GitHub (Nov 17, 2024): Should MTU be set depending on the network interface or should all VMs in a node have the same MTU? I'm looking for what's the best way to implement this.
Author
Owner

@wajwuz commented on GitHub (Nov 18, 2024):

Yes, MTU should be inherited from network interface.

<!-- gh-comment-id:2481913129 --> @wajwuz commented on GitHub (Nov 18, 2024): Yes, MTU should be inherited from network interface.
Author
Owner

@staalexa commented on GitHub (Nov 18, 2024):

But convoy should not override if something custom is set already in proxmox.

<!-- gh-comment-id:2483169523 --> @staalexa commented on GitHub (Nov 18, 2024): But convoy should not override if something custom is set already in proxmox.
Author
Owner

@ericwang401 commented on GitHub (Nov 18, 2024):

But convoy should not override if something custom is set already in proxmox.

Well that would be a bit hard to tell if a value was set by a user or was supposed to be overridden.

<!-- gh-comment-id:2483174003 --> @ericwang401 commented on GitHub (Nov 18, 2024): > But convoy should not override if something custom is set already in proxmox. Well that would be a bit hard to tell if a value was set by a user or was supposed to be overridden.
Author
Owner

@staalexa commented on GitHub (Nov 18, 2024):

You could set it during installation, and not override every few seconds (not like the network speed thing)

<!-- gh-comment-id:2483242539 --> @staalexa commented on GitHub (Nov 18, 2024): You could set it during installation, and not override every few seconds (not like the network speed thing)
Author
Owner

@ericwang401 commented on GitHub (Nov 18, 2024):

You could set it during installation, and not override every few seconds (not like the network speed thing)

The rate limiter currently only sets the network speed in the latest release.

<!-- gh-comment-id:2483321301 --> @ericwang401 commented on GitHub (Nov 18, 2024): > You could set it during installation, and not override every few seconds (not like the network speed thing) The rate limiter currently only sets the network speed in the latest release.
Author
Owner

@ericwang401 commented on GitHub (Apr 3, 2025):

I don't think my question about the technical implementation of DHCP was clarified. Please provide this information for discussion to continue

<!-- gh-comment-id:2774419567 --> @ericwang401 commented on GitHub (Apr 3, 2025): I don't think my question about the technical implementation of DHCP was clarified. Please provide this information for discussion to continue
Author
Owner

@ericwang401 commented on GitHub (Jul 22, 2025):

I'm not sure what needs to be implemented, so I'm closing this issue for now.

<!-- gh-comment-id:3100930140 --> @ericwang401 commented on GitHub (Jul 22, 2025): I'm not sure what needs to be implemented, so I'm closing this issue for now.
Author
Owner

@JiveOff commented on GitHub (Nov 3, 2025):

I'm not sure what needs to be implemented, so I'm closing this issue for now.

I have an use-case for this with the OVH Virtual Mac adresses. Basically, a mac address needs to be supplied for the VM network interface for the VM to be able to acquire the public IP address.

Can you check if that would be possible @ericwang401 ?

<!-- gh-comment-id:3479751057 --> @JiveOff commented on GitHub (Nov 3, 2025): > I'm not sure what needs to be implemented, so I'm closing this issue for now. I have an use-case for this with the [OVH Virtual Mac adresses](https://support.us.ovhcloud.com/hc/en-us/articles/4967769032083-Assigning-a-Virtual-MAC-to-an-Additional-IP). Basically, a mac address needs to be supplied for the VM network interface for the VM to be able to acquire the public IP address. Can you check if that would be possible @ericwang401 ?
Author
Owner

@GunniBusch commented on GitHub (Nov 4, 2025):

I'm not sure what needs to be implemented, so I'm closing this issue for now.

I have an use-case for this with the OVH Virtual Mac adresses. Basically, a mac address needs to be supplied for the VM network interface for the VM to be able to acquire the public IP address.

Can you check if that would be possible @ericwang401 ?

Sorry but I do not understand you problem.
As far as I can see, in ovh you assign a Mac to an ip wich then can only be used on a vm having this Mac address.

And you goal is to have the ip address assigned via dhcp.

This seems redundant. Since you want to thinks, The user seeing their ip in the dashboard, and the server having the proper Mac therefore being able to use the assigned ip.

The first option is not possible if you use dhcp. The second option you can already do.

Let's say you have ip 1.1.1.1 and assigned Mac 70:2f:4c:c2:49:e5 in ovh. So what you do is, create in convoys IPAM an ip 1.1.1.1 and give it a Mac 70:2f:4c:c2:49:e5.

Image

Regarding MTU, currently convoy only overrides the mtu on creation and sets it empty. meaning the mtg form the bridge is being used:

Force MTU of network device (VirtIO only). Setting to 1 or empty will use the bridge MTU
https://pve.proxmox.com/wiki/Manual:_qm.conf

<!-- gh-comment-id:3485178307 --> @GunniBusch commented on GitHub (Nov 4, 2025): > > I'm not sure what needs to be implemented, so I'm closing this issue for now. > > I have an use-case for this with the [OVH Virtual Mac adresses](https://support.us.ovhcloud.com/hc/en-us/articles/4967769032083-Assigning-a-Virtual-MAC-to-an-Additional-IP). Basically, a mac address needs to be supplied for the VM network interface for the VM to be able to acquire the public IP address. > > Can you check if that would be possible [@ericwang401](https://github.com/ericwang401) ? Sorry but I do not understand you problem. As far as I can see, in ovh you assign a Mac to an ip wich then can only be used on a vm having this Mac address. And you goal is to have the ip address assigned via dhcp. This seems redundant. Since you want to thinks, The user seeing their ip in the dashboard, and the server having the proper Mac therefore being able to use the assigned ip. The first option is not possible if you use dhcp. The second option you can already do. Let's say you have ip 1.1.1.1 and assigned Mac 70:2f:4c:c2:49:e5 in ovh. So what you do is, create in convoys IPAM an ip 1.1.1.1 and give it a Mac 70:2f:4c:c2:49:e5. <img width="522" height="622" alt="Image" src="https://github.com/user-attachments/assets/87299bc9-bf09-40ff-9a83-8a176c8e1147" /> Regarding MTU, currently convoy only overrides the mtu on creation and sets it empty. meaning the mtg form the bridge is being used: > Force MTU of network device (VirtIO only). Setting to 1 or empty will use the bridge MTU https://pve.proxmox.com/wiki/Manual:_qm.conf
Author
Owner

@JiveOff commented on GitHub (Nov 5, 2025):

The first option is not possible if you use dhcp. The second option you can already do.

Let's say you have ip 1.1.1.1 and assigned Mac 70:2f:4c:c2:49:e5 in ovh. So what you do is, create in convoys IPAM an ip 1.1.1.1 and give it a Mac 70:2f:4c:c2:49:e5.

Glad to see that is already possible, thanks. I'm still pondering and wanted to check if it is already possible. "acquire" wasn't the correct word here as OVH doesn't provide DHCP anyways.

Thanks for clearing that up!

<!-- gh-comment-id:3492084897 --> @JiveOff commented on GitHub (Nov 5, 2025): > The first option is not possible if you use dhcp. The second option you can already do. > > Let's say you have ip 1.1.1.1 and assigned Mac 70:2f:4c:c2:49:e5 in ovh. So what you do is, create in convoys IPAM an ip 1.1.1.1 and give it a Mac 70:2f:4c:c2:49:e5. Glad to see that is already possible, thanks. I'm still pondering and wanted to check if it is already possible. "acquire" wasn't the correct word here as OVH doesn't provide DHCP anyways. Thanks for clearing that up!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/panel#77
No description provided.