In your last "host ifconfig", the bridge and ue0 have the same ip address. This cannot work. You have to choose if you put the bridge or ue0 under DHCP (or a fixed ip). It's better to set DHCP (or a fixed ip) on the bridge if you are on FreeBSD 15.
I don't know how vm-bhyve is functioning, but if you want the bridge to have DHCP at startup, you need to create it in rc.conf, addm ue0 and set SYNDHCP, like this:
I think you can't use "vm-public" as name in rc.conf because it contains a non-alphanumeric character.
Is it possible to do the same with vm-bhyve? I don't know.
You can do that with a script also (
Normally, it works also with an ip on ue0 (DHCP for instance) and no ip on the bridge. You just will get a warning if you are under FreeBSD 15.
I don't know how vm-bhyve is functioning, but if you want the bridge to have DHCP at startup, you need to create it in rc.conf, addm ue0 and set SYNDHCP, like this:
Code:
cloned_interface="bridge0"
ifconfig_bridge0_name="vmpublic"
ifconfig_vmpublic="addm ue0 SYNDHCP"
Is it possible to do the same with vm-bhyve? I don't know.
You can do that with a script also (
service dhclient forcestart vmpublic).Normally, it works also with an ip on ue0 (DHCP for instance) and no ip on the bridge. You just will get a warning if you are under FreeBSD 15.