Friday, September 30, 2022

Re: VM(D) Interface Question

Heho,
Any other VMs on the box? My first thought would be not enough tun devs, default is iirc 4?

To make it work, if that is the case:

cd /dev ; sh ./MAKEDEV tun4 ; sh ./MAKEDEV tun5; sh ./MAKEDEV tun6

With best regards,
Tobias


-----Original Message-----
From: owner-misc@openbsd.org <owner-misc@openbsd.org> On Behalf Of Holger Glaess
Sent: Saturday, 1 October 2022 01:14
To: OpenBSD general usage list <misc@openbsd.org>
Subject: VM(D) Interface Question

Hi


how many Interfaces can an single VM have ?


With 3 Interface in my vm.conf the vm works, with 4 not i get "to many interfaces".

if i put in the vm section "interfaces 6" , this fails also.

any veb still exists and working.


Holger


switch "vswitch100" {
# lan
interface veb100
enable
}

switch "vswitch110" {
# xbl
interface veb110
enable
}

switch "vswitch120" {
# dmz
interface veb120
enable
}

switch "vswitch130" {
# wdmz
interface veb130
enable
}

switch "vswitch300" {
# freetz
interface veb300
enable
}

switch "vswitch5" {
# um
interface veb5
disable
}

switch "vswitch7" {
# nc
interface veb7
disable
}

vm "farin" {
# interfaces 6
owner _vmd
disk "/home/vmd/disk0.qcow2"
interface {
switch "vswitch100"
lladdr fe:e1:ba:d0:9b:d4
}

interface {
switch "vswitch110"
lladdr fe:e1:ba:d0:9b:d5
}

interface {
switch "vswitch120"
lladdr fe:e1:ba:d0:9b:d6
}

# interface {
# switch "vswitch130"
# lladdr fe:e1:ba:d0:9b:d7 # }

# interface {
# switch "vswitch300"
# lladdr fe:e1:ba:d0:9b:d8 # }

memory 2G
enable
}

No comments:

Post a Comment