Bug 154062

Summary: [vlan] [patch] change to way of auto-generatation of vlan devices based on the chosen parent device
Product: Base System Reporter: Roman Bogorodskiy <novel>
Component: confAssignee: freebsd-bugs (Nobody) <bugs>
Status: Open ---    
Severity: Affects Only Me CC: vysster
Priority: Normal Keywords: patch
Version: 8.1-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
ng_char4vlan.diff none

Description Roman Bogorodskiy freebsd_committer freebsd_triage 2011-01-16 19:00:18 UTC
	The attached patch modifies the way vlan devices are generated based
	on the chosen parent device (rc.conf:vlans_IFNAME). In case when a name
        of the generated device is implicitly connected to an interface number it's
	split with a dot from a virtual network number. This symbol is not allowed
	in an interface name when referring it from netgraph subsystem and therefore
	it's visible as 'unnamed'.

	The attached patch allows to change a different separator when generating vlan
	device names. It also loads netgraph(4) so interface creation didn't depend on
	current system configuration.

	Consistency of interface names in negraph and ifconfig is required by mpd
        (/usr/ports/net/mpd5). The patch also adds default value to /etc/defauls/rc.conf
        to allow things to be backward-compatible.

	Patch is created and tested on 8.1-RELEASE-p2. The patch is authored by
	Vladimir Stepanov <vysster@gmail.com>, my role is only to help with
	translation and sending of this PR. Please keep both him and me in CC.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-01-29 00:00:29 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-net

Although part of the patch affects rc.d, the overall patch should 
probably be reviewed by -net.
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:58:43 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 3 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:40:27 UTC
Keyword: 

    patch
or  patch-ready

– in lieu of summary line prefix: 

    [patch]

* bulk change for the keyword
* summary lines may be edited manually (not in bulk). 

Keyword descriptions and search interface: 

    <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>