Is it possible to monitor 2 interfaces? I have 2 Asterisk servers and they are on 2 different switches so I need to capture ETH0 and ETH3 which is where the mirror ports are connected to from each switch.
Thanks
Using tcpdump/ngrep it is not possible to sniff on 2 interfaces, but it is possible to sniff an the "any" pseudo interface:
tcpdump -i any ..... ngrep -d any .....
There may be other sniffing tools which support to sniff on multiple interfaces.
regards Klaus
On 16.02.2012 14:09, Nelson Pereira wrote:
Is it possible to monitor 2 interfaces? I have 2 Asterisk servers and they are on 2 different switches so I need to capture ETH0 and ETH3 which is where the mirror ports are connected to from each switch.
Thanks
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
but im not talking about sniff, but the SIPCAPTURE raw_interface function...
On Thu, Feb 16, 2012 at 8:57 AM, Klaus Darilion < klaus.mailinglists@pernau.at> wrote:
Using tcpdump/ngrep it is not possible to sniff on 2 interfaces, but it is possible to sniff an the "any" pseudo interface:
tcpdump -i any ..... ngrep -d any .....
There may be other sniffing tools which support to sniff on multiple interfaces.
regards Klaus
On 16.02.2012 14:09, Nelson Pereira wrote:
Is it possible to monitor 2 interfaces? I have 2 Asterisk servers and they are on 2 different switches so I need to capture ETH0 and ETH3 which is where the mirror ports are connected to from each switch.
Thanks
______________________________**_________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/**cgi-bin/mailman/listinfo/sr-**usershttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
I have anwered you already: use two instance of captagent or two instance of kamailio. (each for one interface)
Wbr, Alexandr
16.02.2012 15:05, Nelson Pereira wrote:
but im not talking about sniff, but the SIPCAPTURE raw_interface function...
On Thu, Feb 16, 2012 at 8:57 AM, Klaus Darilion <klaus.mailinglists@pernau.at mailto:klaus.mailinglists@pernau.at> wrote:
Using tcpdump/ngrep it is not possible to sniff on 2 interfaces, but it is possible to sniff an the "any" pseudo interface: tcpdump -i any ..... ngrep -d any ..... There may be other sniffing tools which support to sniff on multiple interfaces. regards Klaus On 16.02.2012 14:09, Nelson Pereira wrote: Is it possible to monitor 2 interfaces? I have 2 Asterisk servers and they are on 2 different switches so I need to capture ETH0 and ETH3 which is where the mirror ports are connected to from each switch. Thanks _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users