Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 2014 10:12:32 -0400
From:      Manas <b.manas.88@gmail.com>
To:        freebsd-virtualization@freebsd.org
Subject:   Re: bhyve tapN additions
Message-ID:  <20141022141232.36446387.74087.1991@gmail.com>
In-Reply-To: <20141022140934.GA367@potato.growveg.org>
References:  <20141022140934.GA367@potato.growveg.org>

next in thread | previous in thread | raw e-mail | index | archive | help
=E2=80=8EI think you have to do

ifconfig tap1 create

Before the addm

Manas
On BlackBerry
=C2=A0 Original Message =C2=A0
From: John
Sent: Wednesday, October 22, 2014 10:09 AM
To: freebsd-virtualization@freebsd.org
Reply To: freebsd-lists@freebsd.org
Subject: bhyve tapN additions

Hi all,

I couldn't see the following answered clearly in the literature, so I'll=20
ask it here.=20

When a freeBSD host is running a [anything] guest, a tap interface needs to=
 be
created. Let's say I've done all this:

# ifconfig tap0 create
# sysctl net.link.tap.up_on_open=3D1
net.link.tap.up_on_open: 0 -> 1
# ifconfig bridge0 create
# ifconfig bridge0 addm igb0 addm tap0
# ifconfig bridge0 up

I want to add another tap, I don't want to restart the host. If I do

# ifconfig bridge0 addm tap1

then configure another vm to use tap1, can I expect it to work? Or, If I wa=
nt 2
vns with 2 taps, do I need to do this:

# ifconfig bridge0 create
# ifconfig bridge0 addm igb0 addm tap0 addm tap1
# ifconfig bridge0 up

The reason I ask, is because I'm expecting a freebsd vm to work on tap1, an=
d it's=20
not.

thanks,
--=20
John=20
_______________________________________________
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebs=
d.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141022141232.36446387.74087.1991>