netgraph with ng_netflow and ng_gridge nodes
petru garstea
peter.garshtja at ambient-md.com
Tue Feb 2 15:05:21 UTC 2021
Hi,
I need help to unify 2 netgraphs
1st ng_bridge netgraph
ngctl mkpeer fxp0: bridge lower link0
ngctl connect fxp0: em0:lower upper link1
ngctl name fxp0:lower em0Bridge
ngctl mkpeer fxp0:lower eiface link3 ether
2nd ng_netflow netgraph
mkpeer fxp0: netflow lower iface0
name fxp0:lower netflow
connect fxp0: netflow: upper out0
mkpeer netflow: ksocket export inet/dgram/udp
msg netflow:export connect inet/10.0.0.1:4444
I cannot run both graphs at the same time because both of them are trying to use fxp0 interface lower and upper hooks.
I believe it is necessary to introduce an extra node but I am not sure.
Please advise
Cheers,
Petru
More information about the freebsd-net
mailing list