[j-nsp] Same netflow data to same collector but different ports

Emmanuel Halbwachs Emmanuel.Halbwachs at obspm.fr
Tue Aug 9 13:14:35 EDT 2011


Hello,

I would like to run more than one collector software on the same
host. The use case is:

- benchmarking different tools with the same netflow data
- running simultaneously two tools with complementary features

The idea was to send the same netflow data to different UDP ports, but
on our MX80 (10.4R3.4), it seems that only one 'port' stanza is
permitted per 'flow-server' container.

[edit forwarding-options sampling family inet output]
flow-server 10.0.0.20 {
    port [ 2055 2056 2057 ];  <-- NOT POSSIBLE
}

Using one IP per software and using IP alias on the collector host
works but is, well, not that elegant and not that convenient:

set forwarding-options sampling family inet output flow-server 10.0.0.20 port 2055
set forwarding-options sampling family inet output flow-server 10.0.0.21 port 2056
set forwarding-options sampling family inet output flow-server 10.0.0.22 port 2057

If someone have some clues.

Thanks,

-- 
Emmanuel Halbwachs                       Observatoire de Paris-Meudon
Resp. Réseau/Sécurité                           5 Place Jules Janssen
tel  :  +33 1 45 07 75 54                        F 92195 MEUDON CEDEX
fax  :  +33 1 45 07 01 89      véhicules : 11 av. Marcellin Berthelot


More information about the juniper-nsp mailing list