Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 May 2021 22:46:34 +0200
From:      Juraj Lutter <juraj@lutter.sk>
To:        freebsd-stable stable <freebsd-stable@freebsd.org>
Subject:   bhyve and multiple network devices
Message-ID:  <72FC2AD5-7E59-4C3D-8E4A-19AAC6608304@lutter.sk>

next in thread | raw e-mail | index | archive | help
Hi,

my bhyve command line (on 13.0-RELEASE) is:

/usr/sbin/bhyve -c 2 -m 4G -H -A -P -u -s 0:0,hostbridge -s 1:0,lpc -s =
2:0,virtio-net,tap100 -s 3:0,virtio-net,priv0 -s =
4:0,virtio-blk,/dev/zvol/zroot/data/minio/host0/root -l =
com1,/dev/nmdm100B mr

the result is:

device emulation initialization error: File exists

It works when using original interface name (tap105 in this case).

priv0 is renamed tap:
priv0: flags=3D8902<BROADCAST,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu =
1500
        options=3D80000<LINKSTATE>
        ether 58:9c:fc:10:2b:0b
        groups: tap
        media: Ethernet autoselect
        status: no carrier
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

Am I doing something inadequate, is this an expected behavior or is this =
a kind of a bug?

Thanks.
otis

=E2=80=94
Juraj Lutter
XMPP: juraj (at) lutter.sk
GSM: +421907986576




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?72FC2AD5-7E59-4C3D-8E4A-19AAC6608304>