When is a switch not a switch?
D'Arcy Cain
darcy at druid.net
Tue Oct 20 09:23:01 UTC 2020
On 10/20/20 2:56 AM, John-Mark Gurney wrote:
> By switch, do you mean use bridge? How specifically is the network
> configured?
Yes. I did try bridge first but I may not have understand all the nuances.
I also thought that "switch" meant the same thing as a physical switch but
I guess it is more like a router. That was the point of my subject.
> What you are describing sounds like what I do w/ bridge, but my use was
> slightly more complicated.
>
> Say your host has em0 as the main network, you would create a bridge0
> interface, either via cloned_interfaces or via "ifconfig bridge0 create".
> Then you would put the em0 interface as a member of the bridge
"ifconfig bridge0 addm bge0" in my case but I also have a private network so
"ifconfig bridge0 addm bge0 addm bge1" then. Or do I need two bridges?
> interface. You would also add the tap interfaces of the various bhyve
> vms as well (don't forget to make sure the tap interface is up on the
> host, net.link.tap.up_on_open helps w/ this)...
This is the part I am trying to automate so that VM can freely move between
hosts. Is there a way to make tap automatically add itself to a bridge?
Thanks for your help.
--
D'Arcy J.M. Cain <darcy at druid.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 788 2246 (DoD#0082) (eNTP) | what's for dinner.
IM: darcy at VybeNetworks.com, VoIP: sip:darcy at druid.net
Disclaimer: By sending an email to ANY of my addresses you
are agreeing that:
1. I am by definition, "the intended recipient".
2. All information in the email is mine to do with as I see
fit and make such financial profit, political mileage, or
good joke as it lends itself to. In particular, I may quote
it where I please.
3. I may take the contents as representing the views of
your company if I so wish.
4. This overrides any disclaimer or statement of
confidentiality that may be included or implied in
your message.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-virtualization/attachments/20201020/6163e804/attachment.sig>
More information about the freebsd-virtualization
mailing list