ng_iface+ng_netflow trouble



Hello, freebsd-net.

Look at this:
I did:
# ngctl connect vlan44: netflow: lower out31
# ngctl connect vlan44: netflow: upper iface31

What's was wrong, and I repeat with changes:

# ngctl shutdown vlan44:

it's ok, node vlan44 is gone and 'ngctl show netflow:' doesn't show any out/iface
hooks connected to it.

And I'm enter fixed commands (upper hook placed instead of lower hook):

# ngctl connect vlan44: netflow: upper out31
# ngctl connect vlan44: netflow: lower iface31

It's executes without any errors and I'm trying to look at the
results:

# ngctl show netflow: | grep vlan44
iface31 vlan44 ether 00000136 lower

Where is out31 hook now?

If I change the hooks id from 31 to another unused value, it's does
well:

# ngctl shutdown vlan44:
# ngctl connect vlan44: netflow: upper out33
# ngctl connect vlan44: netflow: lower iface33
# ngctl show netflow: | grep vlan44
iface33 vlan44 ether 00000136 lower
out33 vlan44 ether 00000136 upper



--
Sincerely,
Vitaliy Ovsyannikov
JSC Skala, Krasnoyarsk, Russia

_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • ng_netflow/ipfw/bridge problems and Netflow best practices
    ... I'm trying to collect Netflow traffic from FreeBSD 5.4 machine. ... I'm running ng_netflow module and ngctl with following parameters to catch ... ngctl mkpeer xl1: tee lower right ... ngctl mkpeer xl1_tee: netflow left2right iface0 ...
    (freebsd-net)
  • Re: ng_netflow and bridging firewall
    ... G> I'm newbie to ng_netflow and I'm trying to collect Netflow traffic from ... G> This FreeBSD has 3 interfaces and it acts as bridging firewall using IPFW2. ... G> I'm running ng_netflow module and ngctl with following parameters: ... G> ngctl mkpeer xl1: tee lower right ...
    (freebsd-isp)
  • ng_netflow and bridging firewall
    ... I'm newbie to ng_netflow and I'm trying to collect Netflow traffic from ... I'm running ng_netflow module and ngctl with following parameters: ... ngctl mkpeer xl1: tee lower right ... Also how can I include first interface xl0 to the ng_netflow configuration? ...
    (freebsd-isp)
  • Re: ng_netflow documentation
    ... kldload ng_ksocket ... ngctl mkpeer fxp0: tee lower right ... ngctl connect fxp0: tee0: upper left ... ngctl mkpeer tee0: netflow right2left iface0 ...
    (freebsd-net)