all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Dominik Csapak <d.csapak@proxmox.com>
To: martin.konold@konsec.com,
	Proxmox VE user list <pve-user@lists.proxmox.com>
Subject: Re: [PVE-User] mtu setting for virtual ethernet
Date: Tue, 23 Mar 2021 13:29:08 +0100	[thread overview]
Message-ID: <8e91028c-36ca-53d3-b6ab-0d1153dda1cc@proxmox.com> (raw)
In-Reply-To: <c7502c66b470723af6f97c033b71f43d@konsec.com>

On 3/23/21 13:03, Konold, Martin wrote:
> Hi Proxmox Users,
> 
> I learned from the Proxmox forum that appending mtu=1 to the network 
> definition of a virtual machine instructs the virtual ethernet device to 
> inherit the mtu from the corresponding bridge.
> 
> In my case
> 
> net0: virtio=FA:FF:FF:FF:FF:D8,bridge=vmbr15,mtu=1
> 
> and the bridge definition
> 
> iface vmbr15 inet static
>          address 10.21.15.11/24
>          bridge-ports enp35s0.4015
>          bridge-stp off
>          bridge-fd 0
>          bridge-vlan-aware yes
>          bridge-vids 2-4094
>          mtu 1400
> 
> According to my tests this seams to work indeed. The guest OS shows the 
> 1400 mtu.
> 
> Question 1: Can the mtu=1 (magic value for auto mtu inheritance) be made  > the default?

probably not because of backwards compatibility (live-migration etc.)
but maybe we could (should?) either add it as default for
new vms in the webui, or expose it as a gui field

would you mind opening a feature request? https://bugzilla.proxmox.com

> 
> Question 2: It seams that appending mtu=1 breaks the webUI. I get 
> "Unable to parse network options".

thanks for reporting, i sent a patch on the devel list to fix that

> 
> Kind Regards
> ppa. Martin Konold
> 
> -- 
> Martin Konold - Prokurist, CTO
> KONSEC GmbH -⁠ make things real
> Amtsgericht Stuttgart, HRB 23690
> Geschäftsführer: Andreas Mack
> Im Köller 3, 70794 Filderstadt, Germany
> 
> _______________________________________________
> pve-user mailing list
> pve-user@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user





      reply	other threads:[~2021-03-23 12:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-23 12:03 Konold, Martin
2021-03-23 12:29 ` Dominik Csapak [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8e91028c-36ca-53d3-b6ab-0d1153dda1cc@proxmox.com \
    --to=d.csapak@proxmox.com \
    --cc=martin.konold@konsec.com \
    --cc=pve-user@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal