From owner-freebsd-stable Wed May 8 18:38:21 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mail.sandvine.com (sandvine.com [209.167.74.226]) by hub.freebsd.org (Postfix) with ESMTP id 68AB337B403 for ; Wed, 8 May 2002 18:38:17 -0700 (PDT) Received: by mail.sandvine.com with Internet Mail Service (5.5.2653.19) id ; Wed, 8 May 2002 21:38:16 -0400 Message-ID: From: Don Bowman To: "'freebsd-stable@freebsd.org'" Subject: RE: tens of thousands of ip aliases Date: Wed, 8 May 2002 21:38:16 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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