• Shashi Guruprasad's avatar
    Fixes the bug unearthed by Tim. When a link is created between a jail · 8e236ecc
    Shashi Guruprasad authored
    vnode and a PC node, under normal circumstances, a real physical link
    is used. However, a user can use tb-set-multiplexed on the link that
    allows assign to map multiple vlinks over the same physical link.
    This is fine when the PC is running FBSD-STD which can use veth
    interfaces. Not so if it is running Linux or a non-standard BSD.
    This fix forces EMULATED links and VETH devices when the PC is running
    FBSD-STD and turns those attributes off otherwise so that assign
    will not give a mapping that cannot be realized on the client side.
    For the gory details of this problem, look at testbed-ops email thread
    "pcvm route problem" dated 29th Jan 2004.
    
    A problem still exists in the non-BSD router + jail vnodes in a delayed
    LAN. VLANs table is not getting the correct entries. A fix will come
    soon. Follow the testbed-ops email thread "fix for the pcvm route problem"
    dated 29th Jan 2004 for the gory details.
    8e236ecc
assign_wrapper.in 116 KB