Page MenuHomeFreeBSD
Paste P333

Masterwork From Distant Lands

Authored by thj on Nov 4 2019, 10:27 PM.
ifname=`ifconfig epair create`
epair=`echo ${ifname%a}`
jail -c name=alcatraz persist vnet vnet.interface=${epair}b
ifconfig ${epair}a name foo
jexec alcatraz ifconfig ${epair}b name bar
jail -r alcatraz
ifconfig foo destroy

Event Timeline

thj changed the title of this paste from untitled to Masterwork From Distant Lands.