Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 2010 13:07:22 +0100
From:      Marko Zec <zec@icir.org>
To:        freebsd-stable@freebsd.org
Cc:        "Eugene M. Zheganin" <emz@norma.perm.ru>
Subject:   Re: netgraph and interface nodes
Message-ID:  <201011121307.23133.zec@icir.org>
In-Reply-To: <4CDD2B4C.5090106@norma.perm.ru>
References:  <4CDD2B4C.5090106@norma.perm.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 12 November 2010 12:55:56 Eugene M. Zheganin wrote:
>   Hi.
>
> I'm using 8.1-STABLE on one of my production servers. I wrote about krb5
> problem some time ago.
> Second trouble is netgraph-related.
>
> I'm using dot1q on an em(4) card.
> It's loaded as a module atm (however earlier it was in kernel).
>
> I have ng_ether/ng_iface in kernel, if_vlan loaded as a module, but I
> cannot see vlan interface nodes in ngctl.
>
> Is this known problem related to a driver loaded a s a module ?
> Or maby it can be helped some other way ?

That kind of setup works fine here on stable/8:

tpx32# uname -a
FreeBSD tpx32.icir.org 8.1-STABLE FreeBSD 8.1-STABLE #3: Tue Nov  9 15:15:54 
CET 2010     
tpx32# ngctl l
There are 3 total nodes:
  Name: em0             Type: ether           ID: 00000001   Num hooks: 0
  Name: wlan0           Type: ether           ID: 00000008   Num hooks: 0
  Name: ngctl7968       Type: socket          ID: 00000009   Num hooks: 0
tpx32# ifconfig vlan0 create
tpx32# ifconfig vlan0 vlan 101 vlandev em0
tpx32# ngctl l
There are 4 total nodes:
  Name: em0             Type: ether           ID: 00000001   Num hooks: 0
  Name: vlan0           Type: ether           ID: 0000000a   Num hooks: 0
  Name: wlan0           Type: ether           ID: 00000008   Num hooks: 0
  Name: ngctl8033       Type: socket          ID: 0000000b   Num hooks: 0
tpx32# 

Marko



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011121307.23133.zec>