Hello,
I'm running a FreeBSD 12.1-RELEASE server that hosts few bhyve VMs. The network config is like this:
It works great.
Now I would like to add few Jails when a full VM is not necessary, and I would like to hook them on my vm-switch. I can't find a proper how to / recipe to do so.
Any pointer/help appreciated!
I'm running a FreeBSD 12.1-RELEASE server that hosts few bhyve VMs. The network config is like this:
Code:
ixl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=e507bb<RXCSUM,TXCSUM,VLAN_MTU,...>
ether ...
inet MY.PUBLIC.IP.ADDR netmask 0xffffffc0 broadcast MY.BRD.CST.ADDR
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
../..
vm-public: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether ...
inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: tap2 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 8 priority 128 path cost 2000000
member: tap1 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 7 priority 128 path cost 2000000
member: tap0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 6 priority 128 path cost 2000000
groups: bridge vm-switch viid-4c918@
nd6 options=1<PERFORMNUD>
tap0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
description: vmnet-my-vm-0-public
options=80000<LINKSTATE>
ether 00:bd:0e:26:01:00
inet6 fe80::2bd:eff:fe26:100%tap0 prefixlen 64 tentative scopeid 0x6
groups: tap vm-port
media: Ethernet autoselect
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
Opened by PID 9520
../..
It works great.
Now I would like to add few Jails when a full VM is not necessary, and I would like to hook them on my vm-switch. I can't find a proper how to / recipe to do so.
Any pointer/help appreciated!