How to Change MTU permanently on Host Only Networks

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Joris Oracle
Posts: 1
Joined: 13. Jun 2016, 09:42

How to Change MTU permanently on Host Only Networks

Post by Joris Oracle »

Hello,
I am trying to set my mtu permanently for my Host Only Network vboxnet0 but cannot find the right option.

The closest I get is
VBoxManage modifyvm "VM name" --natsettings1 16000,128,128,0,0
from virtual box advanced config but this is a NAT only setting for one VM, or am I wrong? I want to update the host only network for all vm's?

I can do it manually but that is a hassle as I have to do it everyyime
ifconfig vboxnet0 mtu 9000 up

Any help available? THanks ! Joris (Ubuntu 14.04)
Post Reply