Bug 154062 - [vlan] [patch] change to way of auto-generatation of vlan devices based on the chosen parent device
Summary: [vlan] [patch] change to way of auto-generatation of vlan devices based on th...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: 8.1-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2011-01-16 19:00 UTC by Roman Bogorodskiy
Modified: 2017-12-31 22:34 UTC (History)
1 user (show)

See Also:

ng_char4vlan.diff (2.01 KB, patch)
2011-01-16 19:00 UTC, Roman Bogorodskiy
no flags Details | Diff

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