Bug 206353 - jail.conf man page missing vnet multiple interfaces
Summary: jail.conf man page missing vnet multiple interfaces
Status: New
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-doc (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2016-01-18 01:03 UTC by Paul Armstrong
Modified: 2019-02-24 13:58 UTC (History)
4 users (show)

See Also:


Attachments
Updates jail.8 to mention comma separated interfaces for vnet (679 bytes, patch)
2016-01-18 01:03 UTC, Paul Armstrong
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.