Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 May 2002 21:38:16 -0400 
From:      Don Bowman <don@sandvine.com>
To:        "'freebsd-stable@freebsd.org'" <freebsd-stable@freebsd.org>
Subject:   RE: tens of thousands of ip aliases
Message-ID:  <FE045D4D9F7AED4CBFF1B3B813C85337676166@mail.sandvine.com>

next in thread | raw e-mail | index | archive | help

On Wed, May 08, 2002 at 09:34:07PM -0400, Edwin Groothuis wrote:
> On Wed, May 08, 2002 at 09:16:07PM -0400, Don Bowman wrote:
> > I'm working on an application where I am using a pair
> > of FreeBSD 4.5 boxes to simulate a much larger network,
> > with a device under test between them.
> 
> Personally, I wouldn't do this with aliases (specially not with the
> amount you needed) but with simulating the network traffic via
> libpcap and libnet. Yes you would have to write your own IP stack
> to keep track of and to act on the packets, but you will not have
> the limitations of the operating system.

Yes, good suggestion, I'm already doing that as well. I have 
bound libpcap into TCL, and have written a class library in 
ITCL to allow contructing arbitrary packets. This works well, 
and can achieve the scale I need.

I also need to have TCP behaviour and flows, which is very 
difficult to do without reinventing the network stack. I need 
to be able to simulate standard network clients (eg browsers, etc.)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FE045D4D9F7AED4CBFF1B3B813C85337676166>