Commit Graph

19 Commits

Author SHA1 Message Date
brd
a0f786610f Attempt to make the parts that people are supposed to change stand out more
by capitalizing them.

Approved by:	dteske
2016-11-13 17:28:32 +00:00
dteske
5c7654c555 Fix missing description for command usage
While "jng" or "jib" without arguments told you what each sub-command does,
sub-command usage didn't tell you (e.g., "jng bridge" or "jib addm" gave
only usage and not description).
2016-02-13 00:28:48 +00:00
dteske
926c812b2f Comments and fix small bug
Reduce differences between jib/jng and fix a bug that would prevent
additional interfaces from being created if the first of many already
existed (counter wasn't incremented before calling only continue).
2016-02-12 02:53:44 +00:00
dteske
cb902d64eb Add syntax to disable MAC allocation
Adding `!' before an interface name will disable MAC allocation, falling
back to driver mechanics. Alternatively adding `=' before an interface name
causes the MAC address to be cloned (for ng_bridge(4) back-end only). While
here, disable the auto-detection of wlan* since this knocks the host off;
requiring the host that defines the jail to explicitly enable this feature
by preceding the interface with `='.
2016-02-12 01:41:40 +00:00
dteske
23f1e857eb Refactor conversion to hex 2016-02-12 01:12:44 +00:00
dteske
7632f2245f Add support for bridging iwn(4) based wlan(4)
Documented in iwn(4), "Only one virtual interface may be configured at any
time." However, netgraph with a cloned MAC address is able to communicate
over an ng_eiface attached to an ng_bridge linked to the wlan(4) interface.
While here, introduce syntax to specify the MAC address is to be cloned if
the named interface begins with equals [=].
2016-02-11 22:10:54 +00:00
dteske
0874363940 Centralize MAC derivation formula 2016-02-11 21:28:34 +00:00
dteske
5183fdd185 Add example VIMAGE config required by vnet jails 2016-02-11 18:37:02 +00:00
dteske
d74f32e11a Add `stats' command to get ng_bridge(4) stats 2016-02-10 04:56:38 +00:00
dteske
836d9f18d8 Add vnet jail configuration examples 2016-02-10 04:04:31 +00:00
dteske
c312dec06a Bring generated interfaces up always 2016-02-09 18:11:18 +00:00
dteske
4055cee8e9 Change MAC algo to support mixing w/jng interfaces 2016-02-09 18:10:36 +00:00
dteske
a7f7a3c360 Fix bpf unhiding example /etc/devfs.rules 2016-02-09 18:08:40 +00:00
dteske
6f1f5e23c6 Adjust MAC algo to support interface branching 2016-02-09 01:41:03 +00:00
dteske
42bcd86bfb Adjust MAC allocation algo to support layering 2016-02-08 17:47:36 +00:00
dteske
c0df6398dd Provide additional information on overall purpose 2016-02-08 17:36:46 +00:00
dteske
07da9d3f51 Fix copy/paste error; s/ngX/eXb/ 2016-02-08 17:30:17 +00:00
dteske
42c40e4f6e Add two scripts for vnet jails
One for if_bridge(4) back-end, another for ng_bridge(4) back-end

Sponsored by:	FIS Global, Inc.
2016-02-07 16:41:54 +00:00
julian
63fd87edcd Add two scripts that demonstrate how to make and
hook together jails using teh vortual networking feature.

Submitted by:	Yavuz Gokirmak
MFC after:	2 weeks
2010-10-24 22:59:38 +00:00