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 <firstname.lastname@example.org>, my role is only to help with
translation and sending of this PR. Please keep both him and me in CC.
Although part of the patch affects rc.d, the overall patch should
probably be reviewed by -net.
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