Re: combining network interfaces

2009-04-09 Thread Jacques Manukyan

Frederique Rijsdijk wrote:

Hello,

Is there a way in FreeBSD to combine a number of network interfaces to
one virtual interface on which I can tcpdump all the traffic of those
interfaces at once?
  


You're talking about bridging. Look at 
http://www.freebsd.org/doc/en/books/handbook/network-bridging.html


Section 31.5.7.1 is what you're asking for.

-- Jacques Manukyan

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: combining network interfaces

2009-04-09 Thread Lowell Gilbert
Jacques Manukyan mlfree...@streamingedge.com writes:

 Frederique Rijsdijk wrote:
 Hello,

 Is there a way in FreeBSD to combine a number of network interfaces to
 one virtual interface on which I can tcpdump all the traffic of those
 interfaces at once?
   

 You're talking about bridging. Look at
 http://www.freebsd.org/doc/en/books/handbook/network-bridging.html

 Section 31.5.7.1 is what you're asking for.

I don't think he wants to forward the traffic between those interfaces,
though; just dump them all together.  I'm not sure, though.

If I'm right, I don't think tcpdump can do that directly.  One idea
might be to run a firewall to choose the packets and to forward a copy
to a dummy interface that can be monitored.
-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: combining network interfaces

2009-04-09 Thread Frederique Rijsdijk

Lowell Gilbert wrote:

Jacques Manukyan mlfree...@streamingedge.com writes:

Frederique Rijsdijk wrote:

Hello,

Is there a way in FreeBSD to combine a number of network interfaces to
one virtual interface on which I can tcpdump all the traffic of those
interfaces at once?
  

You're talking about bridging. Look at
http://www.freebsd.org/doc/en/books/handbook/network-bridging.html

Section 31.5.7.1 is what you're asking for.


I don't think he wants to forward the traffic between those interfaces,
though; just dump them all together.  I'm not sure, though.



You're right.


If I'm right, I don't think tcpdump can do that directly.  One idea
might be to run a firewall to choose the packets and to forward a copy
to a dummy interface that can be monitored.



It might be an idea. Somehow I think it should be possible in a more 
simple way. Now reading 'man 4 lagg'...




-- Frederique
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: combining network interfaces

2009-04-09 Thread John Webster
--On April 9, 2009 5:18:26 PM +0200 Frederique Rijsdijk 
frederi...@isafeelin.org wrote:

 Hello,
 
 Is there a way in FreeBSD to combine a number of network interfaces to
 one virtual interface on which I can tcpdump all the traffic of those
 interfaces at once?
 

Take a look at netgraph.  



pgpG4EBL9ulad.pgp
Description: PGP signature


Re: combining network interfaces

2009-04-09 Thread Christian Laursen

Frederique Rijsdijk wrote:


Is there a way in FreeBSD to combine a number of network interfaces to
one virtual interface on which I can tcpdump all the traffic of those
interfaces at once?


pflog(4) might be a possibility.

--
Christian Laursen
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org