netgraph with 10Gig interfaces

Gleb Smirnoff glebius at FreeBSD.org
Fri Aug 18 09:55:58 UTC 2006


On Thu, Aug 17, 2006 at 06:21:50PM +0530, sivakumar.subramani at wipro.com wrote:
s> I have bge and fxp interface on the system. I enabled the NETGRAPH by
s> enabling the NETGRAPH in the config file and compiled the new kernel.
s> Then, booted with the new kernel.
s> 
s> 
s> fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
s>         options=8<VLAN_MTU>
s>         inet6 fe80::290:27ff:fe85:8b8c%fxp0 prefixlen 64 scopeid 0x1
s>         inet 17.1.1.150 netmask 0xff000000 broadcast 17.255.255.255
s>         ether 00:90:27:85:8b:8c
s>         media: Ethernet autoselect (none)
s>         status: no carrier
s> 
s> bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
s>         options=1a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
s>         inet6 fe80::2e0:81ff:fe29:f38d%bge0 prefixlen 64 scopeid 0x3
s>         inet 10.114.52.152 netmask 0xffffff00 broadcast 10.114.52.255
s>         ether 00:e0:81:29:f3:8d
s>         media: Ethernet autoselect (100baseTX <full-duplex>)
s>         status: active
s> 
s> Even then I could not see the above interfaces listed in the output of
s> the list command of ngctl.
s> 
s> + list -l
s> There are 2 total nodes:
s>   Name: ngctl1088       Type: socket          ID: 00000007   Num hooks:
s> 0
s>   Name: <unnamed>       Type: eiface          ID: 00000004   Num hooks:
s> 0
s> + list -n
s> There are 1 total named nodes:
s>   Name: ngctl1088       Type: socket          ID: 00000007   Num hooks:
s> 0
s> +
s> 
s> 
s> But as per the document in the below link it is mentioned that network
s> interface by default should be listed in the output.
s> http://ezine.daemonnews.org/200003/netgraph.html
s> 
s> Is that means these drivers are not supporting the netgraph?

No. You need either kldload ng_ether or add NETGRAPH_ETHER to kernel config.

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE


More information about the freebsd-net mailing list