equivalent to ip scope on freebsd?

but how can we flag an ip to be set only for the device? instead of beeing routed at the host level? The idea is to setup multiple tap with the same IP to be be use by the bhyve vm as a gateway. Ie all tap device on the host would have the IP 192.168.1.254.
 
The idea is to setup multiple tap with the same IP to be be use by the bhyve vm as a gateway.
Use carp(4) for this. Each node will have it's own IP address, CARP will create a 'virtual' IP address that 'floats' between those nodes. If one node goes down the other node will get the virtual IP. Your hosts set their gateway to this virtual IP.
 
Back
Top