From: "Konold, Martin" <martin.konold@konsec.com>
To: pve-user@lists.proxmox.com
Subject: [PVE-User] mtu setting for virtual ethernet
Date: Tue, 23 Mar 2021 13:03:45 +0100 [thread overview]
Message-ID: <c7502c66b470723af6f97c033b71f43d@konsec.com> (raw)
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?
Question 2: It seams that appending mtu=1 breaks the webUI. I get
"Unable to parse network options".
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
next reply other threads:[~2021-03-23 12:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-23 12:03 Konold, Martin [this message]
2021-03-23 12:29 ` Dominik Csapak
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=c7502c66b470723af6f97c033b71f43d@konsec.com \
--to=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