| Summary: | [netgraph] Unnamed netgraph nodes for vlan interfaces | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Pavel Derendyaev <paul> |
| Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Open --- | ||
| Severity: | Affects Only Me | CC: | olivier |
| Priority: | Normal | ||
| Version: | 9.1-RELEASE | ||
| Hardware: | Any | ||
| OS: | Any | ||
You could address them by ID, e.g.: ngctl msg [003]: getifname See documentation/articles: man 4 netgraph http://people.freebsd.org/~julian/netgraph.html or in Russian: http://citrin.ru/daemonnews/netgraph.html http://nuclight.livejournal.com/126612.html -- Vadim Goncharov <vgoncharov@nic.ru> RU-Center NET Department http://www.nic.ru NET-SYS Group phone:+7(495)737-7646 (ext.4019) Responsible Changed From-To: freebsd-bugs->freebsd-net Over to maintainer(s). 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 This bug should be fixed by commit: https://svnweb.freebsd.org/base?view=revision&revision=246245 Duplicate PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=154850 |
New naming scheme for vlan interfaces causes in undefined names of according netgraph nodes. /boot/loader.conf: ng_ether_load="YES" ng_ksocket_load="YES" ng_netflow_load="YES" ng_one2many_load="YES" ng_socket_load="YES" /etc/rc.conf: ifconfig_fxp0="UP" ifconfig_em0="UP" vlans_em0="200 201 202" ifconfig_em0_200="10.0.1.1/30" ifconfig_em0_201="10.0.2.1/30" ifconfig_em0_202="10.0.3.1/30" "ifconfig" shows: em0.200: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ... vlan: 200 parent interface: em0 em0.201: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ... vlan: 201 parent interface: em0 em0.202: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ... vlan: 202 parent interface: em0 Seems like it's ok. But look at "ngctl list": There are 6 total nodes: Name: em0 Type: ether ID: 00000001 Num hooks: 0 Name: fxp0 Type: ether ID: 00000002 Num hooks: 0 Name: <unnamed> Type: ether ID: 00000003 Num hooks: 0 Name: <unnamed> Type: ether ID: 00000004 Num hooks: 0 Name: <unnamed> Type: ether ID: 00000006 Num hooks: 0 Name: ngctl1962 Type: socket ID: 00000009 Num hooks: 0 How am I suppose to communicate with these netgraph nodes?