conf/177194: Unnamed netgraph nodes for vlan interfaces

Pavel Derendyaev paul at reic.ru
Thu Mar 21 13:50:02 UTC 2013


>Number:         177194
>Category:       conf
>Synopsis:       Unnamed netgraph nodes for vlan interfaces
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 21 13:50:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Pavel Derendyaev
>Release:        9.1-RELEASE
>Organization:
Maestro Telecom JSC
>Environment:
FreeBSD zebra.reic.ru 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec  4 06:55:39 UTC 2012     root at obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
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?

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list