mount /jails/j1/ mount /jails/j1/dev sh /etc/rc.d/powerd stop jail -c vnet host.hostname=lefty.example.net path=/jails/j1 persist jail -c vnet host.hostname=righty.example.net path=/jails/j1 persist ifconfig epair20 create ifconfig epair20a vnet 1 ifconfig epair20b vnet 2 jexec 1 ifconfig epair20a inet 192.0.2.1/30 up jexec 1 ifconfig epair20a inet6 2001:db8::1/64 alias jexec 2 ifconfig epair20b inet 192.0.2.2/30 up jexec 2 ifconfig epair20b inet6 2001:db8::2/64 alias jexec 2 netserver -p 20000 -4 -L 192.0.2.2 jexec 2 netserver -p 20000 -6 -L 2001:db8::2 jexec 1 /bin/csh netperf -p 20000 -H 192.0.2.2 -f m -L 192.0.2.1 -t TCP_STREAM netperf -p 20000 -H 2001:db8::2 -f m -L 2001:db8::1 -t TCP_STREAM -------------------------------------------------------------------------------- devfs rule -s 20 add path mem hide devfs rule -s 20 add path kmem hide devfs -m /jails/j1/dev rule -s 20 applyset -------------------------------------------------------------------------------- ifconfig lo0 inet 192.0.2.199/32 alias ifconfig lo0 inet6 2001:db8::dead/128 alias jail -c host.hostname=classic46.example.net path=/jails/j1 ip4.addr=192.0.2.199 ip6.addr=2001:db8::dead persist jail /jails/j1 oldie4.example.net 192.0.2.199 /bin/csh jail /jails/j1 oldie6.example.net 2001:db8::dead /bin/csh jail /jails/j1 oldie46.example.net 2001:db8::dead,192.0.2.199 /bin/csh jail /jails/j1 oldie.example.net "" /bin/csh