Bug 206353

Summary: jail.conf man page missing vnet multiple interfaces
Product: Documentation Reporter: Paul Armstrong <freebsd>
Component: Manual PagesAssignee: freebsd-doc (Nobody) <doc>
Status: New ---    
Severity: Affects Many People CC: crest, doc, joseph, tj
Priority: --- Keywords: patch
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Updates jail.8 to mention comma separated interfaces for vnet none

Description Paul Armstrong 2016-01-18 01:03:56 UTC
Created attachment 165733 [details]
Updates jail.8 to mention comma separated interfaces for vnet

vnet.interface can have multiple interfaces, if they're comma separated. This is not described in the man page.
Comment 1 Tom Judge freebsd_committer freebsd_triage 2016-08-24 21:24:07 UTC
This does not appear to be correct. Tested on 10.3-RELEASE-p7
Comment 2 Paul Armstrong 2016-08-25 03:32:38 UTC
Can you please provide more information than "does not appear to be correct"?

I've tested this on 10.2-p7 and 11.0-a6

Here's the config I used to test it:

exec.prestart = "";
exec.start = "/bin/sh /etc/rc";
exec.stop = "/bin/sh /etc/rc.shutdown";
exec.poststop = "";
exec.clean;
mount.devfs;
mount.fdescfs;
mount.procfs;
persist;
vnet = new;

path = "/jail/${host.hostname}";

test {
  host.hostname = "test";
  vnet.interface = em1, epair0a;
}
Comment 3 Joseph Graham 2019-02-24 13:58:07 UTC
I ran into this on FreeBSD 12... didn't find the solution until I stumbled across this bug report.