I have a 14.1-RELEASE system running as a bhyve host with two NICs and two VMs.
This was all set up using vm-bhyve. Both VMs are also FreeBSD.
There are three switches defined in the bhyve host:
WAN - bridged to em0
LAN - bridged to em1
DMZ - not bridged to an interface
VM1 (firewall) has connections to all three.
VM2 (postfix/dovecot) only has connection to DMZ.
This all works but I need to pass through the two NICs in the host to VM1 to prevent the host from grabbing an IP from the modem attached to em0. Unfortunately, that would mean losing access to the host except through its console. Ideally, the host will be headless.
What I can't figure out is whether I can connect the host OS to the DMZ and gain SSH access to it via VM1 (as I do with VM2).
Is this even possible and, if so, how? Any suggestions appreciated.
This was all set up using vm-bhyve. Both VMs are also FreeBSD.
There are three switches defined in the bhyve host:
WAN - bridged to em0
LAN - bridged to em1
DMZ - not bridged to an interface
VM1 (firewall) has connections to all three.
VM2 (postfix/dovecot) only has connection to DMZ.
This all works but I need to pass through the two NICs in the host to VM1 to prevent the host from grabbing an IP from the modem attached to em0. Unfortunately, that would mean losing access to the host except through its console. Ideally, the host will be headless.
What I can't figure out is whether I can connect the host OS to the DMZ and gain SSH access to it via VM1 (as I do with VM2).
Is this even possible and, if so, how? Any suggestions appreciated.