Host Only Networks - Custom Names?

This is for discussing general topics about how to use VirtualBox.
Post Reply
yoloClin
Posts: 17
Joined: 31. May 2018, 03:02

Host Only Networks - Custom Names?

Post by yoloClin »

When I create Host Only networks from either the Virtualbox UI (Linux) or via vboxmanage, the networks are named

Code: Select all

vboxnetX
where X is a sequential incrementing numeric value. The command I'm using to achieve this is

Code: Select all

vboxmanage hostonlyif create
Is it possible to create custom-named networks? The rationale I have is that binding a device to a specific network by name is much more predictable than dealing with incrementing values. I'm particularly interested in performing this from the command line.
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Host Only Networks - Custom Names?

Post by fth0 »

yoloClin wrote:Is it possible to create custom-named networks?
Not within VirtualBox (the host-only network name vboxnet<n> is hardwired all over the place inside VirtualBox).
yoloClin
Posts: 17
Joined: 31. May 2018, 03:02

Re: Host Only Networks - Custom Names?

Post by yoloClin »

No problem, ended up moving to KVM anyway. Thanks.
Post Reply