Notes on creating internal networks (same hosts) for jails using bridge, epair and vlans.
ifconfig bridge create name testnetbridge
ifconfig epair create
ifconfig epair0a name testneta
ifconfig epair0b name testnetb
ifconfig epair create
ifconfig epair1a name testnethosta
ifconfig epair1b name testnethostb
ifconfig testnethosta 192.168.101.1
ifconfig testnetbridge addm testnethostb
ifconfig testnetbridge addm testnetb
ifconfig testnetb up
ifconfig testnethostb up
ifconfig testnetbridge up
ifconfig testneta vnet=testjail
jexec testjail ifconfig testneta 192.168.101.2